CLOB values are displayed as 'weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB@46c '.
My Clob values are displayed in the UI as "weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB@46c". When I try to change a value or to add a new line I get this exception on the validation:
< RichExceptionHandler > < _logUnhandledException > ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase 5 of INVOKE_APPLICATION
javax.faces.el.EvaluationException: oracle.jbo.JboException: [oracle.jbo.DMLException: Houston-26041: cannot display the results to the database during "Update": "null" SQL statement.]
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1545)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
In my OE the column Type is set to ClobDomain. I created the ClobConverter class in my draft opinion (com.mtg.fwd.view.converter.ClobConverter), such as discussed in this thread (
). I added this code to the faces - config.xml:<>converter
< description > convert clob to string and vice versa < / description >
Converter < id > convert. CLOB < / converter-id >
> class converter < com.mtg.fwd.view.converter.ClobConverter < / converter-class >
< / converter >
In the jsff I put the attribute of converter to convert. CLOB for the column. Initially, I had this game at oracle.ordDomain and it does not work so I am trying the method.
< af:inputText value = "#{bindings." Gvsql.inputValue}.
label = "SQL query"
required = "#{bindings." Gvsql.hints.Mandatory}.
columns = '100 '.
maximumLength = "#{bindings." Gvsql.hints.Precision}.
shortDesc = "#{bindings." Gvsql.hints.ToolTip}.
ID = "IT7."
lines = "10".
Converter = "convert. CLOB">
< f: validator binding = "#{bindings." Gvsql.Validator} "/ >"
< / af:inputText >
What should I look at next?
With the help of JDev 11.1.2.4.0
Thank you
Rudy
I wanted to follow for anyone interested. I created a new model and the view within the same application to test with and clob values showed correctly. I've recreated the form using the original model and the problem was there. I've looked everywhere and didn't find anything. This morning, I decided to delete the files of user JDeveloper in C:\Users\Rudy\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1. I have restarted JDev, ran my jspx, the problem disappeared. I went back to the original draft of the view, he ran, it was fine. I cleaned everything and he is always very good. So there was something up cached data of the user that it was blocking work correctly.
Tags: Java
Similar Questions
-
Hello
I use Toplink with Oracle as database.
I'm writing a CLOB data in a database. All transactions are managed by Toplink. It was pretty much work when I used 4.0.5.GA Jboss Server. Now that I moved to Weblogic 10. When I try to do the same, I get a class cast Exception java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB
Can anyone give me a suggestion how to store the clob in DB data.
Journal
[TopLink Finest]: 2009.05.11 01:20:46.466 - UnitOfWork (12372690) - wire (wire [ExecuteThread [ASSET]: '2' for the queue: ' (self-adjusting) weblogic.kernel.Default ", 5, pooled Threads])-back row (DatabaseRecord) Assign
SNO_CONFIG_EMAIL. ROW_VERSION_NUMBER = > 3)
[TopLink fine]: 2009.05.11 01:20:46.497 - ClientSession (12372671) - connection (12222614) - wire (wire [ExecuteThread [ASSET]: '2' for the queue: ' (self-adjusting) weblogic.kernel.Default ", 5, pooled Threads])-UPDATE SNO_CONFIG_EMAIL SET VERSION_NUMBER = 9
[TopLink fine]: 2009.05.11 01:20:46.513 - ClientSession (12372671) - connection (12222614) - wire (wire [ExecuteThread [ASSET]: '2' for the queue: ' (self-adjusting) weblogic.kernel.Default ", 5, pooled Threads])-SELECT FROM SNO_CONFIG_EMAIL WHERE EMAIL_BODY
[Warning TopLink]: 2009.05.11 01:20:46.528 - UnitOfWork (12372690) - wire (wire [ExecuteThread [ASSET]: '2' for the queue: ' (self-adjusting) weblogic.kernel.Default ", 5, pooled Threads])-java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_
at oracle.toplink.oraclespecific.Oracle8Platform.writeLOB(Oracle8Platform.java:182)
at oracle.toplink.internal.helper.LOBValueWriter.fetchLocatorAndWriteValue(LOBValueWriter.java:75)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:529)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
at oracle.toplink.internal.helper.LOBValueWriter.buildAndExecuteCall(LOBValueWriter.java:60)
at oracle.toplink.internal.helper.LOBValueWriter.buildAndExecuteSelectCalls(LOBValueWriter.java:169)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.flushSelectCalls(DatabaseAccessor.java:96)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.updateObject(DatasourceCallQueryMechanism.java:585)
at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:415)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1075)
at oracle.toplink.queryframework.UpdateObjectQuery.executeCommitWithChangeSet(UpdateObjectQuery.java:67)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:251)
at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:542)
at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:100)
at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:72)
at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2578)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:988)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:945)
at oracle.toplink.internal.sessions.CommitManager.commitChangedObjectsForClassWithChangeSet(CommitManager.java:285)
at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:217)
at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:174)
at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3177)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1282)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1370)
at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1137)
at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:905)
at com.cashedge.setupNow.ejb.SessionEJBBean.saveEmail(SessionEJBBean.java:558)
at com.cashedge.setupNow.ejb.SessionEJB_qxt9um_ELOImpl.saveEmail(SessionEJB_qxt9um_ELOImpl.java:1474)
at com.cashedge.setupNow.backing.emails.Emails.saveEmail(Emails.java:485)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.cashedge.setupNow.LoginFilter.doFilter(LoginFilter.java:69)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs (unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
[Warning TopLink]: 2009.05.11 01:20:46.622 - UnitOfWork (12372690) - wire (wire [ExecuteThread [ASSET]: '2' for the queue: ' (self-adjusting) weblogic.kernel.Default ", 5, pooled Threads])-java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_
at oracle.toplink.oraclespecific.Oracle8Platform.writeLOB(Oracle8Platform.java:182)
at oracle.toplink.internal.helper.LOBValueWriter.fetchLocatorAndWriteValue(LOBValueWriter.java:75)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:529)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
at oracle.toplink.internal.helper.LOBValueWriter.buildAndExecuteCall(LOBValueWriter.java:60)
at oracle.toplink.internal.helper.LOBValueWriter.buildAndExecuteSelectCalls(LOBValueWriter.java:169)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.flushSelectCalls(DatabaseAccessor.java:96)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.updateObject(DatasourceCallQueryMechanism.java:585)
at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:415)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1075)
at oracle.toplink.queryframework.UpdateObjectQuery.executeCommitWithChangeSet(UpdateObjectQuery.java:67)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:251)
at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:542)
at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:100)
at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:72)
at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2578)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:988)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:945)
at oracle.toplink.internal.sessions.CommitManager.commitChangedObjectsForClassWithChangeSet(CommitManager.java:285)
at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:217)
at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:174)
at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3177)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1282)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1370)
at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1137)
at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:905)
at com.cashedge.setupNow.ejb.SessionEJBBean.saveEmail(SessionEJBBean.java:558)
at com.cashedge.setupNow.ejb.SessionEJB_qxt9um_ELOImpl.saveEmail(SessionEJB_qxt9um_ELOImpl.java:1474)
at com.cashedge.setupNow.backing.emails.Emails.saveEmail(Emails.java:485)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.cashedge.setupNow.LoginFilter.doFilter(LoginFilter.java:69)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs (unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
DEBUG - error in saving email.java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB
[TopLink Finer]: 2009.05.11 01:20:46.716 - ClientSession (12372671) - wire (wire [ExecuteThread [ASSET]: '2' for the queue: ' (self-adjusting) weblogic.kernel.Default ", 5, pooled Threads])-client releasedHello
WebLogic wraps connections with a proxy connection type and does the same for each JDBC object as this proxy, give, making it harder to access the api specific Oracle used within the databaseplatform of Oracle8Platform. To work around this problem and continue to use specific calls OraclePlatform, you need to specify the server platform TopLink must use to unwrap the connection using the platform server tag in sessions.xml. If you use the Workbench, it is described in:
http://www.Oracle.com/technology/products/IAS/TopLink/doc/10131/main/_html/sescfg009.htm#BCGJCJCABest regards
Chris -
Hello
I'm on jdev 11.1.2.4 and mysql db.
My application works well, but quite often I get this error. ususally when you sign out of it.
<RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5 JBO-30003: Application pool model.services.SmsAppModuleLocal fails to check out an application module due to the following exception: java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_com_mysql_jdbc_JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534) at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571) .... ....... and so on.....
no idea why I get this error and how to get rid of?
Thank you
HI EmAr,
This is my answer to another question:
We have seen this error, when we use one database other than Oracle. When error occurs, disconnect the session and try to connect again.
We had to create root application module (by calling Configuration.createRootApplicationModule) when connecting (and release after use). I thought what happens because of AOS pooling, it tries to use invalidated (last session) AM. (this is just guessing).
Now, we have no problem with other databases (mysql, postgresql, oracle).
Earlier, I found these links. In my view, it has solved the problem basically... (I didn't try it)
After answering this question, I have tried the links, he solved the problem completely...
You create a servlet context listener which affects jbo.sqlbuilder system config and put this context listener in the Web.XML (as mentioned in the links)
Kind regards
Sara. -
y/t - graphic: discrete values are displayed at all times
As soon as I want to display values discrete y/t - graphic, they are permanently displayed (the adjacent function values are connected)
See for example:
The lower graph should show the following discrete function:
x | (fx)
---|--------
2. 0
3. 1.27
4. 0
5. 0
6. 0.64
7. 0
8. 0
9. 0.42
But as you can see, the adjacent function values are connected. I couldn't know, how I can change this. I hope someone can helb me!
Thank you
Philipp
Excellent question and documentation! Thank you for making it is very easy to answer your question.
Click the icon of the brush on the visualization of maps Y/t - this is a link to the properties of lines and colors for graphical display. Select from the drop down menu to entry 0 bar.
If you prefer a discreet symbol, choose to cross, square, circle, etc.
-
Select from a drop-down list and the specified element values are displayed in the textfield
I need for one to be able to select from a list drop-down and specified the item values appear in textfield.
For example, if I select Amy
If I select Bob
If I select Jane
Amy
Bob
Jane (I want to appear as shown in the list)
I associated a value to each item in the drop-down list so that the choice is easy to compare and determine what initial (default) value to the value in the text field. In my drop down list change event, I have the following:
var sNewSel = this.boundItem (xfa.event.newText);
Switch (sNewSel)
{
case '1': / / Amy
TextField1.rawValue = "Amy \n";
break;
Switch (sNewSel)
{
case '2': / / Bob
TextField1.rawValue = "Bob \n";
break;
Of course that's not work one name shows at a time. Help, please!
Thank you
Don't know what the code is supposed to do, but basically, you want to add the name of the drop-down list the addition on the current value of the TextField? Why not use the dropdownlist display value directly? For example on the change event:
if ( TextField1.rawValue == null ) TextField1.rawValue = xfa.event.newText; else TextField1.rawValue += ( "\n" + xfa.event.newText );
-
My computer laptop xp pro, was 'shaking' a bit.
Hello Bill,
Glad to know that the issue was resolved. If you have other problems with Windows, please report it to Microsoft Community. We would be happy to help you.
-
Activity Code values are not displayed in the drop-down list of choices
I added a P6 activity Code (seller) and added some code values it contains. I'm in a position successfully, choose this option in the selected columns list, but when I go to select a value from the drop down, no values are displayed.
Advice on why this happens or how to fix?
Thank you
Bill
Published by: user12451419 on 18 June 2012 10:47When you assign a code by clicking on the column, a window opens. At the top of the window, click on the view bar, and then choose filter by > all values.
-
The values are not displayed in the user interface
Hello.
I use jdev 11.1.1.5
I need to refersh tha table
I had created a TPTrialBal EO with corresponding VO. I had dragged and dropped it as an adf:table
I had also created an adf:button named build., when I click on this button, some values are inserted into the TPTrialBal I need to show the value inserted in the user interface.,.
How can I do this.,.
could someone help me plsAfter update of data in the table add patialTrigger to the table component.
You can do it by doing this. In the behavior section property table contains call partial property triggers here you
adjustable from which component partial triggers this component, you can select your command button. -
State-based value line display model RTF
Dear all,
I have a requirement as below.
I have a report to output as below
because I need to display column value total man hours 1 time if scheduled for the task that no values are the same, so in the screenshot above, it should show the total person-hours value as '48' only once for the 1st and 2nd lines and lines non because it's like task no field is different.
I need the power requested as below.so the 2nd row, it should display null
Please help me on this.
Thank you
Deb
Yes it is feasible.
It works in my test case; Please use the code on the column ' Total man Hours expected "below.
assuming that TASK_NO is the name of the task ID field and TOT_MAN_HR is the name of the Total planned hours field.
FYI...
If the value of count is:
2 - two task ID and man hours occurs for the first time
1 of the task or not man hours is different
0 - the task ID and man hours by repeating twice in sequential order
so in your case whenever intervenes 0 must be displayed white real value otherwise.
-
If the values are same then post it as a
Hi all
item Qty
----- ---
ABCD 2
ABCD 2
XYZ 3
IF the two element is the same then display a (consider as a single value)
I mean 2 items should display ex :-abcd, xyz
I'm IN THE LOOP FOR of CURSOR help
v_tab (i): = c_rec.item_id;
v_tab. Delete;
Thank you
Hi all, found the solution...
abc heart
is
in this added slider group so we get 2 values (1,2) If values are like 1,1,2
CDE news
is
We get 3 values as 1,1,2
ABC (parameters) FOR loop
FOR LOOP
i: = i + 1;
x_tab (i): = id
END LOOP;
.....
.....
.....
x_tab. Delete;
commit;
end of loop
If we did not add internal cursor, what I mean is that it holds (x_tab (i)) 2 first values (either same or not) and the following values is also stored in 2 values, I need 3 values
-
I'm trying to use GG to create an audit table and am having some problems with the CLOB values return null.
Basic structure is:
Table has columns:
ID number not Null
CLOB, Not null, comments
COMMENTS_CONTACT NUMBER OF NON-NULL,
LAST_MODIFIED TIMESTAMP (6) NOT NULL
Audit table is the same with some other columns of metadata.
I use the INSERTALL command to track the changes that occur. The problem that I am running is if a user performs:
UPDATE TABLE_A
SET COMMENTS_CONTACT = '5' where ID = 1
I receive an error to null on the insert constraint in my table of audit because Golden Gate is not picking up the CLOB (I guess that's not in the REDO log because the column is not updated).
Any ideas on that?
Currently on GR 11, 2 and the latest patches of GoldenGate.
You are right in assuming where it is not to remake it, probably because you have a primary or unique key on this table and therefore only the PK over the update column will in do it again / trail file.
If you want to connect each column in your table of audit then you can recreate the Group of additional log on the source with the ALLCOLS clause. This will force each column in your file to redo/trail and it will be replicated to your audit table.
However, you're duplicating a lot of data out there. You could just let it drop NOT NULL constraints on the target and then accept that a NULL value in your audit table means that this column has not been updated.
-
LOV - values additional display friendly way
Hello
I'm on Apex 4.1.1. I have a form with LOV pop-up on the foreign key field. But this LOV contains only a subset of all records in the foreign table (for example, only free pieces, rooms, etc..) That's why I changed Yes setting "Display additional values" in the LOV properties. My problem is that the extra values are shown only as ID (foreign key) - not in easy-to-use way (as it is by LOV - display and return value). How can I change this?
Kind regards
MateuszMateusz
Instead of using "Show extra values" to ensure that the additional value is part of the LOV by adding one or to select.
For exampleselect emp.last_name , emp.employee_id from oehr_employees emp where emp.department_id = 10 or emp.employee_id = :pXX_lov
Where pXX_lov is the name of the element of the lov belongs.
Nicolette
-
ADF pages are displayed as xml
Hi all
After I applied the ADF security to my project that the adf pages are displayed as xml without error file, I mean pages adf not make the component and shows only the adf xml tags (f: view, f: document, etc.)
If I remove the ADF security pages runs correctly.
Any ideas?
JDeveloper 11.1.2.2
WebLogic 10.3.5
field with adf framework installedIt works very well, if you set the homepage as /faces/main.jsf (instead of just main.jsf)
Arun-
-
IOM 9.1.0.2 - Multi Weblogic JDBC for Oracle RAC Data Sources
IOM-IOM 9.1.0.2 BP07 supports Weblogic JDBC Multi Data Sources (Services > JDBC > Multi Data Sources) for Oracle RAC instead of insert the "Oracle RAC JDBC URL" on xlDS and xlXADS JDBC Data Sources (Services > JDBC > Data Sources > xlDS | xlXADS > survey login > URL)?
If so, are there any other changes that must be made on IOM, or simply to change data sources?Yes, it is supported. You install against a single instance directly of the Rac server. Then you update the file config.xml and jdbc resources in your server weblogic with the full address of rac. It is documented for installation against CARS. http://docs.Oracle.com/CD/E14049_01/doc.9101/e14047/database.htm#insertedID2
-Kevin
-
Select only records where the column values are not all equal to zero
Hi everyone, it seems so easy, but it has left me speechless on the research in a way that is clean, easy to achieve. I know when someone replies, I'm going to kick me. So, let's assume this is what I have:
I need an external application around it or something which will select only 'Type 1'... that is, if all months are each equal to zero, do not include the record in the result set.with mytable as ( select 'Type 1' as itemtype, 'JAN' as monthname, 0 as theval from dual union all select 'Type 1' as itemtype, 'FEB' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'MAR' as monthname, 5 as theval from dual union all select 'Type 1' as itemtype, 'APR' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'MAY' as monthname, 4 as theval from dual union all select 'Type 1' as itemtype, 'JUL' as monthname, 0 as theval from dual union all select 'Type 1' as itemtype, 'AUG' as monthname, 0 as theval from dual union all select 'Type 1' as itemtype, 'SEP' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'OCT' as monthname, 7 as theval from dual union all select 'Type 1' as itemtype, 'NOV' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'DEC' as monthname, 2 as theval from dual union all select 'Type 2' as itemtype, 'JAN' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'FEB' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'MAR' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'APR' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'MAY' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'OCT' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'NOV' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'DEC' as monthname, 0 as theval from dual ) select itemtype, sum (case monthname when 'JAN' then theval else 0 end) as JAN, sum (case monthname when 'FEB' then theval else 0 end) as FEB, sum (case monthname when 'MAR' then theval else 0 end) as MAR, sum (case monthname when 'APR' then theval else 0 end) as APR, sum (case monthname when 'MAY' then theval else 0 end) as MAY, sum (case monthname when 'JUN' then theval else 0 end) as JUN, sum (case monthname when 'JUL' then theval else 0 end) as JUL, sum (case monthname when 'AUG' then theval else 0 end) as AUG, sum (case monthname when 'SEP' then theval else 0 end) as SEP, sum (case monthname when 'OCT' then theval else 0 end) as OCT, sum (case monthname when 'NOV' then theval else 0 end) as NOV, sum (case monthname when 'DEC' then theval else 0 end) as DEC from mytable group by itemtype order by itemtype
In summary to get a total of zero is not an option, because I could have-15 and + 15 in different columns, in which case, the recording should be displayed.
Something as simple as... 'not the case (oct = 0 and 0 nov and dec = 0...) at the end is all it seems to me necessary. I thought to add a case for each column clause, but that seems not very effective. Ideas?
Thanks in advance!
Mark
Edit... I know not what follows will work using the MINUS operator, but my actual query is really huge, and I don't want to have to write it twice...
{code}
Select
ItemType,
sum (case monthname when "JAN" then Val else 0 end) such as JAN,.
sum (case when monthname 'FEB', then Val 0 otherwise end) by Feb.
sum (case when monthname 'MAR', then Val 0 otherwise end) like MARS,
sum (case monthname when "APR" then Val else 0 end) as APR.
sum (case when monthname 'MAY', then Val else 0 end) either.
sum (case when monthname "JUN", then Val 0 otherwise end) as JUN.
sum (case monthname when "JUL" then Val else 0 end) as JUL,.
sum (case monthname when "AUG" then Val else 0 end) as AUG.
sum (case monthname when "MS" then Val else 0 end) as MS.
sum (case monthname when "OCTS" then Val else 0 end) OCT.
sum (case monthname when "NOV" then Val else 0 end) as NOV.
sum (case monthname when 'DEC' then Val else 0 end) as DEC
FROM MyTable
Group of itemtype
less
Select
ItemType,
Jan, Feb, mar, Apr, may, June, July, August, Sept, oct, nov, dec
de)
Select
ItemType,
sum (case monthname when "JAN" then Val else 0 end) such as JAN,.
sum (case when monthname 'FEB', then Val 0 otherwise end) by Feb.
sum (case when monthname 'MAR', then Val 0 otherwise end) like MARS,
sum (case monthname when "APR" then Val else 0 end) as APR.
sum (case when monthname 'MAY', then Val else 0 end) either.
sum (case when monthname "JUN", then Val 0 otherwise end) as JUN.
sum (case monthname when "JUL" then Val else 0 end) as JUL,.
sum (case monthname when "AUG" then Val else 0 end) as AUG.
sum (case monthname when "MS" then Val else 0 end) as MS.
sum (case monthname when "OCTS" then Val else 0 end) OCT.
sum (case monthname when "NOV" then Val else 0 end) as NOV.
sum (case monthname when 'DEC' then Val else 0 end) as DEC
FROM MyTable
Group of itemtype
)
where (oct = 0 & nov = 0 and dec = 0 and jan = 0 and 0 = Feb and mar = 0
apr = 0 and may = 0 and = 0 jun and Jul = 0 and aug = 0 and Ms = 0
)
order of itemtype
{code}
Change again... OK, I guess that I am answering my own question here, but I think that by using a WITH to write the main request once clause and then selecting * twice using the MINUS operator between where the second query is where (oct = 0, etc.) is what I need. If anyone has better suggestions, please let me know! Here's the logic of nickname for what I come up with to date...
{code}
WITH mainquery as (select all)
Select * from mainquery
less
Select * from mainquery where (oct = 0, nov = 0, etc...)
{code}
Thanks again!
Mark
Published by: user455268 on March 1, 2012 19:13
Published by: user455268 on March 1, 2012 19:16Hello
You can do it with a HAVING clause:
select itemtype, sum (case monthname when 'JAN' then theval else 0 end) as JAN, sum (case monthname when 'FEB' then theval else 0 end) as FEB, sum (case monthname when 'MAR' then theval else 0 end) as MAR, sum (case monthname when 'APR' then theval else 0 end) as APR, sum (case monthname when 'MAY' then theval else 0 end) as MAY, sum (case monthname when 'JUN' then theval else 0 end) as JUN, sum (case monthname when 'JUL' then theval else 0 end) as JUL, sum (case monthname when 'AUG' then theval else 0 end) as AUG, sum (case monthname when 'SEP' then theval else 0 end) as SEP, sum (case monthname when 'OCT' then theval else 0 end) as OCT, sum (case monthname when 'NOV' then theval else 0 end) as NOV, sum (case monthname when 'DEC' then theval else 0 end) as DEC from mytable group by itemtype HAVING MIN (theval) != 0 OR MAX (theval) != 0 order by itemtype ;
If the values are all 0, then the MIN and MAX will be 0.
If the MIN or MAX is not 0, the values are all 0.This assumes that the combination (itemtype, monthname) is unique, because it is in your sample data.
If this is not the case, start with a subquery that GROUPs BY itemtype, monthname, so that when you get to the main request, this combination will be unique.
Maybe you are looking for
-
How can I remove Mac Adware Cleaner? I have
I think I accidentally downloaded adware. I was getting popups asking me to install Mac cleaner Adware and other software. I loaded the Version OS X El Capitan 10.11.5 and but still get a popup in the upper right warning me that I have a virus and
-
Hello Experts, Today, I got my 15-s001TU (G8D87PA) computer laptop HP Compaq. First of all thanks to HP & manufacturer to create this wonderful product. It seems absolutely stunning after opening the box. I opted for free Dos version, which equals no
-
Windows 10 WiFi and Audio does not not with El Capitan
Ive recently reinstalled windows 10 on my iMac 27 "retina with 3 TB fusion 2015 end stop a disc, the latest version of El Capitan because of a problem with the Wifi and audio work (I thought it was a fault of windows) and after a few days using the n
-
Upgrade the HP DV7-1175NR processors
I'm looking to upgrade my laptop DV7-1175NR processor. What type of socket should I look for? Concerning
-
32-bit to 64-bit vista premium
do not know how to proceed. Uninstall first 32? where to back up all my files? ... can not a guru you?