View Link with destination VO in expert mode
I have view link with the destination View Object in expert mode for applying a custom query.
The view link doesn't run nicely because it seems to never find the right table.
Does anyone manage to create this kind of view link based on a custom query in the destination VO?
Thanks
Olivier.
Hi,
I had also the same problem, I needed to query two tables which are in a Master-Detail relationship, the only way to do this is to write a new bean, extendind the FindForm bean to make a query like this:
select * from mastertable where condition4mt and pk_mastertable in ( select fk_pk_mastertable from detailtable where condition4dt)
So after this you get a pointer in the master table, but your condition to the detailtable is not considered from the ViewCurrentRecord Bean. I didn't go further to extend the ViewcurrentRecord bean, because this solved my problem, besides I think it would be also very difficult.
JDevTEAM !!! are you planing to solve this king of problem ???
I know that I can force the VO.setWhereClause() to force some condition on the detail, but are you planing to extend the ViewCurrentRecord bean to have also a master-detail view with a restriction also on the detail table ???
TIA,
Seb.
Similar Messages
-
Issue with VO extension in expert mode unchecked
hello
i ma try to extend a VO which having Expert Mode Uncheck and Vo is EO base d
is it possible to extend that VO
regards
VivekHi,
You can do it through personalization. Open that page and click on about this page link which is in the bottom left corner of the page and inside this search for the VO and after getting the exact VO, Click on it.
You will get the whole query of this.
If you can't find about this page link on the page then you have to activate a profile option i.e. FND:Diagnostic=> "Yes"
Thanks
--Anil -
Idoc View link with Function Module ?
Hello All,
I have a n Idoc View . I want to know what is the outbound Function Module for this IDoc View .
Usually the process code contains the Function Module but when the idoc View is used the Process code is not maintained in the Message control of the Partner Profiles.So how to know which Function Module is used for this Idoc View ?
Can anyone tell me ?
Regards,
Deepu.KHi,
Are you looking this FM EDI_DOCUMENT_TREE_DISPLAY?
Regards,
Ferry Lianto -
Use View Object with Alternative Data Sources in View Link
In my case, I created a view object based on alternative data source (not with SQL query). I have setQuery(null) in the override create() function for this View Object. When I use this View Object at the destination end of the View Link, the setQuery(null) will raise Jbo-26016 exception (You cannot set customer query (calling setQuery()) on a view object if it is the detail view object in a master detail view link.) which does not allow me to do that. I looked Avrom's Framework for Database API-Based ADF BC, in which he override the DBTransaction and CallableStatement in order to intercept the default query clause set by the View Link. I'd like to see if there is any alternative ways to achieve my objective?
Just following up what I found so far. I'm trying to use customized View Object based on alternative data source at the destination end of View Link with ADF 10.1.3.
1. For the View Object at the destination end of View Link, I can not call setQuery() which will raise Jbo-26016 exception.
2. I can omit the setQuery(null) call in my customized ViewObjectImpl, and as long as there is no SQL statement in the View Definition XML, it won't cause problem when calling the executeQueryForCollection() of the super class.
3. The override executeQueryForCollection() must call the super.executeQueryForCollection() in order to get appropriate result (I tried to skip the call and it does not give back any results)
4. The funny thing is, when I make getQuery() call in my customized ViewObjectImpl (I'm just trying to double check if the Query object is clean or not), the query object is set to "SELECT FROM" following the getQuery() call, and which causes the exceptions when I call super.exeuteQueryForCollection(). I found out later from the Javadoc API which is implemented in that way.
So I guess my case is resolved by not making specific call to setQuery(null). -
Working with Elements 12, in Expert mode, with the first layer, I did something to lock up the whole Expert mode. I can't get rid of the eyedropper tool, or cancel the layer I started. Now, when I put in a new image to edit, I can't even get the normal Expert editing dialogue that normally appears on the right side of the screen. Can you help me?
Oh and to add, when I downloaded the skype app onto my dad's air...I got a notification to my personal yahoo mail, it says:
Dear My Dad's Name ----------- weird because it's my email address
Your Apple ID, *my dad's apple id* was just used to download Skype for iPad from the App Store on a computer or device that had previously been associated with that Apple ID.
I'm guessing his apple ID is linked to my email address...however, when we checked his personal gmail account, he got the same email.. -
Hi,
The hierarchy in HGrid can be constructed using the view link and a view object.
If I want to associate a "Where" condition with the child rows of my "root Row", I need to relate the source view object with destination view object.
How do I independently associate a where clause with the child rows ?
I am working on this for a long time and finding nobody to help me on HGrid complexities.
Can anybody please help ? Does anybody suggest raising a TAR for this, to Oracle ?
Thanks,
AmitAmit,
You would have to build runtime VL in that case, because only then you would be able to first set where clause of child VO and then get filtered rows by runtime VL.
--Mukul -
Hi,
Can someone please give me some input on the following warning in the JDeveloper online help!
"Warning: You cannot create an EJB finder view link that expresses the same relationship as a CMR."
I'm new to EJB, BC4J and JDeveloper. I created container managed entity beans with local interfaces only to represent my data and relationships. No problems with the mapping so far.
To test the beans I used Session Facades with remote interfaces and build a sample test client.
Now I thought I could create EJB Entity Facades, EJB Finder View Objects, EJB Finder View Links and EJB Application Modules to make use of the BC4J framework in order to speed up programming clients (JSP and JClient).
So I've started studying the JDeveloper online help (which seems to be very useful) and found the above mentioned warning.
Well, better a warning than nothing at all, but some more explanations would have been even better.
Is there no need to use view links with CMR?
How to achieve the same functionality (synchronizing two view objects in a master-detail-relationship) with CMR?
Do you know any examples? I couldn't find any examples using EJB entity facades in the "sample code" area on OTN.
Any comments about other (better) architectures are also welcome. Would it be better to use BMP entity beans in conjunction with BC4J?
Many thanks for your help!
Regards,
EricSteven,
thank you for your reply and suggestions - I'll count on that. If I find time I'll read this book. It seems to be very interesting.
For educational purposes I'd like to look at both persistence implementation strategies. I agree that it looks definitly easier to use entity objects. Certainly it's also performancewise a better choice.
Anyhow, could you give me some useful tips for cmp entity beans and finder view objects?
Is there something which works completely different if I use BC4J on top of it?
How to implement a master-detail relationship in JClient (Swing) for example?
What about writing an ejbfinder which doesn't return all, but all data where the foreign key is equal to a parameter passed to the finder method and use this as the source for a detail view object. This could be the primary key of the selected master. Well, I don't know whether this is doable. But that's what comes to my mind spontaneously.
Would this be a solution? I'm still thinking about the aforementioned warning in the online help regarding view links.
I guess the problem is that the foreign key is not part of the entity bean as it's not a cmp-field. Instead you have accessor methods to retrieve a related object or a collection of objects.
I'm sure my questions are not too complicated to answer. It's only hard for a beginner to get an overview.
I'm quite confident that I'll manage this if I give my best and get some help from knowledgeable people like you Steven.
Regards,
Eric -
View Link Bug! - JDEV Developers please read.
This has to be a bug. When I am done with my project for the day I check in the files into PVCS. After check in the files are deleted off my local drive. When I recheck out my project and do a rebuild on the project, I get several View link XML files that say that they are not correct. However when I pull them up in the editor and relink them, there is NO CHANGE to the XML file that stores the DEF. Below is a sample of one of the files. If I go into this view link with the visual editor and reselect the linking nodes, all is fine in JDEV.
Is this a bug that is being worked on for the next version?
SAMPLE
<?xml version='1.0' encoding='windows-1252' ?>
<!DOCTYPE ViewLink SYSTEM "jbo_03_01.dtd">
<ViewLink Name="RequestCauseLookupVL">
<DesignTime>
<Attr Name="_isCodegen" Value="true"/>
<Attr Name="_version" Value="10.1.3.36.73"/>
</DesignTime>
<ViewLinkDefEnd Name="RequestVO" Cardinality="1"
Owner="dataAccess.Request.RequestView" Source="true">
<AttrArray Name="Attributes">
<Item Value="dataAccess.Request.RequestView.CauseCd"/>
</AttrArray>
<DesignTime>
<Attr Name="_finderName" Value="RequestVO"/>
<Attr Name="_accessor" Value="true"/>
<Attr Name="_minCardinality" Value="1"/>
<Attr Name="_isUpdateable" Value="true"/>
<Attr Name="_entityAccessor" Value="true"/>
</DesignTime>
</ViewLinkDefEnd>
<ViewLinkDefEnd Name="ReqCause_LOV" Cardinality="1"
Owner="dataAccess.lov.ReqCause_LOV">
<AttrArray Name="Attributes">
<Item Value="dataAccess.lov.ReqCause_LOV.LookupId"/>
</AttrArray>
<DesignTime>
<Attr Name="_finderName" Value="ReqCause_LOV"/>
<Attr Name="_accessor" Value="true"/>
<Attr Name="_isUpdateable" Value="true"/>
<Attr Name="_entityAccessor" Value="true"/>
</DesignTime>
</ViewLinkDefEnd>
</ViewLink>Hi Steve,
JDev appears to be updating the viewlink files. I have not edited any of them and they all have the timestamp of when i closed JDev last Friday:
-rw-rw-rw- 1 user group 1236 Sep 1 16:45 ApprovalDetailsFkLink.xml
-rw-rw-rw- 1 user group 1224 Sep 1 16:45 InvestigatorsFkLink.xml
-rw-rw-rw- 1 user group 1260 Sep 1 16:45 MulticentreProjectsFkLink.xml
-rw-rw-rw- 1 user group 1258 Sep 1 16:45 PrjWorklistItemsFkLink.xml
-rw-rw-rw- 1 user group 1200 Sep 1 16:45 FieldBasedFKLink.xml
-rw-rw-rw- 1 user group 1195 Sep 1 16:45 GmAnimalsFKLink.xml
-rw-rw-rw- 1 user group 1225 Sep 1 16:45 HarmfulFKLink.xml
-rw-rw-rw- 1 user group 1032 Sep 1 16:45 ObservationFKLink.xml
-rw-rw-rw- 1 user group 1226 Sep 1 16:45 OtherInvestigatorsFKLink.xml
-rw-rw-rw- 1 user group 1196 Sep 1 16:45 OtherPartiesFKLink.xml
-rw-rw-rw- 1 user group 1028 Sep 1 16:45 PermitsFKLink.xml
-rw-rw-rw- 1 user group 1206 Sep 1 16:45 ProjectPartiesFKLink.xml
-rw-rw-rw- 1 user group 1042 Sep 1 16:45 RespInvestigatorsFkLink.xml
-rw-rw-rw- 1 user group 1012 Sep 1 16:45 SurgeryFKLink.xml
-rw-rw-rw- 1 user group 1190 Sep 1 16:45 TeachingFKLink.xmlthe CVS looks like this (August 24 was when i deleted them all from CVS and re-added them):
-r--r--r-- 1 banstey dba 1347 Aug 24 09:51 ProjectPartiesFKLink.xml,v
-r--r--r-- 1 banstey dba 1172 Aug 24 09:51 PermitsFKLink.xml,v
-r--r--r-- 1 banstey dba 1337 Aug 24 09:51 OtherPartiesFKLink.xml,v
-r--r--r-- 1 banstey dba 1367 Aug 24 09:51 OtherInvestigatorsFKLink.xml,v
-r--r--r-- 1 banstey dba 1176 Aug 24 09:51 ObservationFKLink.xml,v
-r--r--r-- 1 banstey dba 1399 Aug 24 09:51 PrjWorklistItemsFkLink.xml,v
-r--r--r-- 1 banstey dba 1401 Aug 24 09:51 MulticentreProjectsFkLink.xml,v
-r--r--r-- 1 banstey dba 1365 Aug 24 09:51 InvestigatorsFkLink.xml,v
-r--r--r-- 1 banstey dba 1377 Aug 24 09:51 ApprovalDetailsFkLink.xml,v
-r--r--r-- 1 banstey dba 1325 Aug 24 09:51 AnimalFKLink.xml,v
-r--r--r-- 1 banstey dba 1331 Aug 24 09:51 TeachingFKLink.xml,v
-r--r--r-- 1 banstey dba 1186 Aug 24 09:51 RespInvestigatorsFkLink.xml,v
-r--r--r-- 1 banstey dba 1341 Aug 30 11:37 AnimalCareFKLink.xml,v
-r--r--r-- 1 banstey dba 1341 Aug 30 11:38 FieldBasedFKLink.xml,vTimestamps of my associations are all over the place, which is consistent with the creation process.
Will do an unchanged commit and post the results.
regards,
Brenden -
I have master and detail VO , both views data is loaded in program. Now for show/hide feature, I create View Link Object and using one element from both child and master VO , View Link Object created properly.
But I can not able to add that view link object into AM.
Now because of that , I cannot say what is a instance name of that view link object.
Hence getting following error -- Invalid or missing view link. Please attach view link with the bean.
Please can you provide some directions.I have master and detail VO , both views data is loaded in program. Now for show/hide feature, I create View Link Object and using one element from both child and master VO , View Link Object created properly.
But I can not able to add that view link object into AM.
Now because of that , I cannot say what is a instance name of that view link object.
Hence getting following error -- Invalid or missing view link. Please attach view link with the bean.
Please can you provide some directions. -
Substitution problem in VO with viewlink and not in expert mode
Hi All
i have to extend a VO ,standar VO is not in expert mode so i made it and then extended the VO(need to add two new date columns) and substituted the BC4j ,i was involved in this discussion also
Re: Substitute ViewObject. Urgent!!!!! Thank you
,and i was aware that viewlinks should take care by substituion itself ,but in my case it is creating problem ,first it has thrown the error given below
oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value PoRequisitionLinesVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
then i modified the VOExRowImpl and added the viewlink setter getter from seede Rowimpl ,now it it not throwing the InvalidParamException ,but throwin OAAttrValException saying get method for LineNum is not resolved ,now i m puzzeled what is going on ,i m sure i have not made any mistake in substitution, any clue would be very helpful for me ,please throw some light on this issue
thanx
Pratapthanx kumar, nice to see your reply.
basic requirement is i have to create two date fileds on the requsition line form ,it shud appear on the basis of selected value in a field of same row ,so i set PPR ,initially i bounded these fields with spared attributes of VO but it was creating problem after page refresh ,i have raised the issue in the forum
Date value format is changed itself after page refresh
raised a tar with oracle ,issue was that these attributes are varchar type and used for the date fields, thats y creating the problem after page refresh ,VO extension didnt work bcz these attributes are already there in seeded VO with there data type, so they can not be changed in VO extension,oracle suggested create two columns with date type in the seeded table itself and use them in VO extension , i did it ,now the problem is
i have extended the VO ,and this problem came ,one thing i m not sure is
since i have added two new columns ,shud i do EO extension (i did it ) and then VO extension ,if yes then how bcz when i will move all the files from server they are all standard files and ,extended VO is getting the reference of seeded VO which is using the seeded EO not the extended EO .
so what approch or steps shuld i follow to add this newly added column in VO .
thanx
Pratap -
PDF goto named destination link with current zoom level
Hi,
I am created PDF file from 3b2 software with many links and bookmarks, The links with in documents are created with named destination bookmark names.
When I am click the link to navigate with in document it will goto the bookmarked location and zoom level will changed into “FIT TO WIDTH” but I am want to navigate over the document with current zoom level from the link where I am clicked.
For this process I am tried one method that is javascript action in link.
Using link properties
Action -> Add Action -> Select Action (Run Javascript)
Script
main()
function main()
var zoom = this.zoom;
this.gotonameddest(“bk1”);
this.zoom = zoom;
By this method I am get what I am looking but I am having one problem,
First I will goto that book marked page with and after only it will fit to the current zoom level, so when I am go for previous view it will goback to "FIT TO WIDTH" zoom level, so this method failed.
And also I am unable to edit all the links in my PDF document by Manually.
So please advice me what is right way to navigate over the document with current zoom level from link where I am clicked.
Note:
The output PDF document will contain 100 number of links so I want to update all the links with my requirement by automation.
Is there is any way to handle this process by Acrobat SDK with C# , .NET
Regard
Thirusanguraja VThank you Very much,
If you do't mind could you give me sample PS file with,
Destinations specify a particular location in a file, and a zoom factor.
The zoom level must be current zoom level of the page where i am link click.
Sample PS syntax i am tryed:
[/Dest /bmkaff1 /Rect [2000 3062 2100 2886] /View [/XYZ 0 0 0] /LNK pdfmark
Reference I am used for this:
pdfmark Reference
© 2006 Adobe Systems Incorporated. All rights reserved.
Adobe® Acrobat® SDK 8.0 pdfmark Reference for Microsoft® Windows®, Mac OS®, Linux®, and UNIX®
Edition 1.0, November 2006
Chapter 3 : 3 Actions and Destinations................44 -
Adobe Photoshop Elements 11. When in EXPERT MODE i get the following on the bottom PHOTO BIN, TOOL OPTIONS, UNDO, REDO, ROTATE, LAYOUT ORGANIZER how do i remove this?
Sorry, but you don't. That's part of the way adobe changed PSE starting with PSE 11. If you don't like it, you can leave feedback here:
Photoshop Family Customer Community -
Problem with af:table and view links
I want to display a table with data from a database table called PERSON, so I'm using af:table tag.
The PERSON table has the next fields:
PERSON_CODE
PERSON_NAME
PERSON_COD_STATE
The field PERSON_STATE is a foreign key to other table called PERSON_STATE:
PERSON_COD_STATE
DESCRIPTION
I've created a view to get data from PERSON table (personView). Because I want to show the person state description in the af:table , I've created another view to get data from PERSON_STATE table (personStateView). And I've also created a view link between personView and personStateView.
In the column of the af:table that represents the person state I drop the field 'description' of the state view linked to the person view.
When I run the JSP the state is not shown properly. All the persons are shown with the same state.
When testing directly with the application module, the view link works properly.
Does view links work inside a af:table?
I'm working with ADF 10g.
ThanksThanks for your reply.
The second alternative works, but I would be interested in the first one (using a view link).
The foreign key is defined properly:
PERSON.PERSON_CODE is a primary key.
PERSON.PERSON_COD_STATE is a foreign key.
PERSON_STATE.PERSON_COD_STATE is a primary key.
I have created a view link based on that foreign key.
When usign af:table to show the records of PERSON table, all the data of PersonView is properly shown. But the STATE of the person is not ok. It seems as the view link is not working.
Why?
Thanks -
Hello i use Oracle adf framwork to develop my Business logic through Business component and oracle as Database
i have an error with my View link
i got this error msg:
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT Meldung.MELDUNG_ID, Meldung.MELDUNG_MESSAGE, Meldung.SACHBEARBEITER_ID, Meldung.MELDUNG_DATUM FROM MELDUNG Meldung WHERE Meldung.SACHBEARBEITER_ID = :Bind_SachbearbeiterId
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1239)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:913)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7282)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1078)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2800)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3058)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:7208)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3555)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3697)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3657)
at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3440)
at oracle.jbo.server.ViewRowSetIteratorImpl.previous(ViewRowSetIteratorImpl.java:1895)
at oracle.jbo.server.ViewRowSetImpl.previous(ViewRowSetImpl.java:3609)
at oracle.jbo.server.ViewObjectImpl.previous(ViewObjectImpl.java:10248)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1080)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11256)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10605)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11665)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:15891)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:911)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4665)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3673)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:21459)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1197)
... 59 more
## Detail 0 ##
java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11256)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10605)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11665)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:15891)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:911)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4665)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3673)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:21459)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1197)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:913)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7282)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1078)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2800)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3058)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:7208)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3555)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3697)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3657)
at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3440)
at oracle.jbo.server.ViewRowSetIteratorImpl.previous(ViewRowSetIteratorImpl.java:1895)
at oracle.jbo.server.ViewRowSetImpl.previous(ViewRowSetImpl.java:3609)
at oracle.jbo.server.ViewObjectImpl.previous(ViewObjectImpl.java:10248)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1080)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
(oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT Termin.TERMIN_ID, Termin.TERMIN_BEGIN_DATUM, Termin.SACHBEARBEITER_ID, Termin.TERMIN_MESSAGE, Termin.TERMIN_END_DATUN FROM TERMIN Termin WHERE Termin.SACHBEARBEITER_ID = :Bind_SachbearbeiterIdHello John,
Thanks for the reply. I can't find any material so that I can aware with JSF introduction (with demos) and ADF Faces. So will you please suggest me some tutorial or demos related to JSF and ADF faces. I passed through the video demos of Oracle ADF homepage but still I can't understand the use of those tags.
regards,
Kush
Edited by: kush on Feb 22, 2012 12:07 AM -
Error with view link and ADF table Tree
Hello
( Note: View objects are created based on static data but not from database tables)
I created two view objects "SuiteViewObject" and "FamilyViewObject" which are based on static data( stored in collection) but not on database entity. A veiw link "SuiteFamilyViewLink" is created from the above two view objects. An ADFTreeTable is created from the above view objects and view link. When run the jspx page containing ADFTreeTable, following error is occured in the browser.
JBO-30003: The application pool (staticviewobjects.staticappLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.InvalidOperException, msg=JBO-26016: Cannot set user query to view "FamilyViewObj2" because it is a destination in a view link
Any help on the above error message.?
Thanks in Advance
Kristi
Bangalore
Message was edited by:
user576892Hello
The above error is coming becuase view link's SQL query expects tables. But in my case I dont have tables, view objects are created from static data source(collection).
How to create a view link from view objects which are created based on static data source(collection)?
Maybe you are looking for
-
Can I use photoshop to edit pictures etc when my computer is offline?,
I"m new to image processing, but am an old hand at word processing. I've been bounced from window to window for what seems like several hours now. Adobe Photoshop, like Microsoft Office, seems to be the industry standard for its field and both comp
-
How do I eliminate this glitch? Music spontaneously starts, stops, stutters at random and I'm not even using that app. Repeated attempts to pause the song and close the app have no affect. Just keeps popping on and off randomly no matter what I'm do
-
I have installed flash player 10.3 multiple times to play a game on facebook and it will say that the installation is successful, but it still will not let me play the game. I searched how to fix this and have done a few things I read, but nothing wo
-
Using a Wildcard in a parameter
I have a report with a lastname parameter and a firstname parameter that will prompt user to enter last name and first name. The firstname field could have multiple characters such as "Mary Jane". When I enter the firstname as such, CR could not fin
-
My micro photo is stuck on the recovery screen and every option i pick just freezes it...when i clicked Reload Firmware it just sat with the "Erasing Firmware.." message up for hours. I tired to re-install the firmware from my computer and it fails e