Toplink 9.0.4.5 problems

Can anyone please assist...
We switched our WebSphere AppServer to use TopLink 9.0.4.5 by changing the toplink.jar file.
Anyway, after overcoming some password problems everything seemed to work fine, then one of our Toplink queries started failing with this error message:
java.sql.SQLException: ORA-00600: internal error code, arguments: [15201], [], [], [], [], [], [], []
The particular query works absolutely fine for a while, and then after around 20 minutes of usage it suddenly starts throwing this error.
FYI... I have Toplink query logging turned on, and it looks like Toplink gets itself into some kind of endless loop when generating the sql. The sql it generates is MASSIVE, keeps repeating the same string and never seems to complete !! Also the java memory usage on the box shoots up to over 2 Gig - it normally runs around 700Meg!!
The problem goes away when we switch back to toplink 9.0.3.6 (which the client has been using successfully for over 6 months).
Any ideas / suggestions ?
I am assuming we are doing something wrong that 9.0.3.6 was forgiving about, but 9.0.4.5 hates us for :-)
We are using
Windows 2000 Server edition
WebSphere 5.0.2.7
TopLink 9.0.4.5
Oracle9i Enterprise Edition Release 9.2.0.4.0
Oracle JDBC driver Version: 9.2.0.3.0
Toplink is being used in a EJB 1.2 project
Special note:
We use Toplink 9.0.4.5 runtime, but Mapping Workbench 9.0.3
- We use the exported Project class file from MW 9.0.3
- We don't like some of the quirks of MW 9.0.4 and want to wait
until we move to the full 9.0.4.5

James,
Here is the first part of the generated sql:
[12/4/04 14:02:47:845 PST] 66d4b57a SystemOut O ServerSession(240285025)--Connection(2008757318)--SELECT t1.TYPE_IND, t1.LAST_NAME, t1.ANNUAL_INCOME, t1.MID_INIT, t1.CRT_RES_FRM, t1.CREDIT_APPLNT_KEY, t1.EMP_NAME, t1.BIRTHDATE, t1.DRV_LIC_NUM, t1.HIRE_DATE, t1.FIRST_NAME, t1.EMP_PHONE, t1.SSN, t1.ADDRESS_KEY, t1.PHONE, t1.STATE_CODE_KEY, t2.PRIMARY_APPLNT_KEY, t2.PREVIOUS_HIRE_FROM, t2.PREVIOUS_HIRE_TO, t2.MORTGAGE_AMT, t2.SAVING_ACCT_IND, t2.PREV_EMP_NAME, t2.OTHER_INCOME, t2.CHECK_ACCT_IND, t2.MARITAL_CODE_KEY, t2.PREV_ADDRESS_KEY, t2.RESIDENCY_CODE_KEY, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER, t3.IS_DEFAULT_VALUE, t3.RESIDENCY_CODE, t3.RESIDENCY_CODE_KEY, t3.DESCRIPTION, t3.SORT_ORDER, t0.IS_DEFAULT_VALUE, t0.MARITAL_CODE, t0.MARITAL_CODE_KEY, t0.DESCRIPTION, t0.SORT_ORDER
Enough to see the repetition :-)
Here is the query:
new ReadAllQuery(CreditApplicationImpl.class,new ExpressionBuilder().get("lastUpdated").greaterThanEqual(targetDate)));
Here is the mapping (I can provide mapping for referenced classes too if they will help):
public Descriptor buildCreditApplicationImplDescriptor() {
     Descriptor descriptor = new Descriptor();
     descriptor.setJavaClass(com.yamaha.yds.model.domain.credit.CreditApplicationImpl.class);
     descriptor.addTableName("CREDIT_APPLICATION");
     descriptor.addPrimaryKeyFieldName("CREDIT_APPLICATION.CREDIT_APPLN_ID_KEY");
     // Descriptor properties.
     descriptor.useSoftCacheWeakIdentityMap();
     descriptor.setIdentityMapSize(100);
     descriptor.useRemoteSoftCacheWeakIdentityMap();
     descriptor.setRemoteIdentityMapSize(100);
     descriptor.setSequenceNumberFieldName("CREDIT_APPLICATION.CREDIT_APPLN_ID_KEY");
     descriptor.setSequenceNumberName("CDA_SEQ");
     TimestampLockingPolicy lockingPolicy = new TimestampLockingPolicy();
     lockingPolicy.setWriteLockFieldName("CREDIT_APPLICATION.LAST_UPDATED");
     lockingPolicy.storeInObject();
     descriptor.setOptimisticLockingPolicy(lockingPolicy);
     descriptor.setAlias("CreditApplicationImpl");
     // Query manager.
     descriptor.getQueryManager().assumeNonExistenceForDoesExist();
     //Named Queries
     // Event manager.
     // Mappings.
     DirectToFieldMapping dealerNumberMapping = new DirectToFieldMapping();
     dealerNumberMapping.setAttributeName("dealerNumber");
     dealerNumberMapping.setFieldName("CREDIT_APPLICATION.DEALER_NUMBER");
     dealerNumberMapping.readOnly();
     descriptor.addMapping(dealerNumberMapping);
     DirectToFieldMapping decisionStatusMapping = new DirectToFieldMapping();
     decisionStatusMapping.setAttributeName("decisionStatus");
     decisionStatusMapping.setFieldName("CREDIT_APPLICATION.DECISION_STATUS");
     descriptor.addMapping(decisionStatusMapping);
     DirectToFieldMapping downPaymentAmountMapping = new DirectToFieldMapping();
     downPaymentAmountMapping.setAttributeName("downPaymentAmount");
     downPaymentAmountMapping.setFieldName("CREDIT_APPLICATION.DOWN_PAYMENT");
     descriptor.addMapping(downPaymentAmountMapping);
     DirectToFieldMapping jointApplIndMapping = new DirectToFieldMapping();
     jointApplIndMapping.setAttributeName("jointApplInd");
     jointApplIndMapping.setFieldName("CREDIT_APPLICATION.JOINT_APPL_IND");
     descriptor.addMapping(jointApplIndMapping);
     DirectToFieldMapping lastHRSIResponseMapping = new DirectToFieldMapping();
     lastHRSIResponseMapping.setAttributeName("lastHRSIResponse");
     lastHRSIResponseMapping.setFieldName("CREDIT_APPLICATION.HRSI_LAST_RESPONSE");
     descriptor.addMapping(lastHRSIResponseMapping);
     DirectToFieldMapping lastUpdatedMapping = new DirectToFieldMapping();
     lastUpdatedMapping.setAttributeName("lastUpdated");
     lastUpdatedMapping.setFieldName("CREDIT_APPLICATION.LAST_UPDATED");
     descriptor.addMapping(lastUpdatedMapping);
     DirectToFieldMapping modelMapping = new DirectToFieldMapping();
     modelMapping.setAttributeName("model");
     modelMapping.setFieldName("CREDIT_APPLICATION.MODEL");
     descriptor.addMapping(modelMapping);
     DirectToFieldMapping modelYearMapping = new DirectToFieldMapping();
     modelYearMapping.setAttributeName("modelYear");
     modelYearMapping.setFieldName("CREDIT_APPLICATION.MODEL_YEAR");
     descriptor.addMapping(modelYearMapping);
     DirectToFieldMapping oidMapping = new DirectToFieldMapping();
     oidMapping.setAttributeName("oid");
     oidMapping.setFieldName("CREDIT_APPLICATION.CREDIT_APPLN_ID_KEY");
     descriptor.addMapping(oidMapping);
     DirectToFieldMapping productLineMapping = new DirectToFieldMapping();
     productLineMapping.setAttributeName("productLine");
     productLineMapping.setFieldName("CREDIT_APPLICATION.PRODUCT_LINE");
     descriptor.addMapping(productLineMapping);
     DirectToFieldMapping purchaseAmountMapping = new DirectToFieldMapping();
     purchaseAmountMapping.setAttributeName("purchaseAmount");
     purchaseAmountMapping.setFieldName("CREDIT_APPLICATION.PURCHASE_AMOUNT");
     descriptor.addMapping(purchaseAmountMapping);
     DirectToFieldMapping sentCountMapping = new DirectToFieldMapping();
     sentCountMapping.setAttributeName("sentCount");
     sentCountMapping.setFieldName("CREDIT_APPLICATION.SENT_COUNT");
     descriptor.addMapping(sentCountMapping);
     DirectToFieldMapping statusMapping = new DirectToFieldMapping();
     statusMapping.setAttributeName("status");
     statusMapping.setFieldName("CREDIT_APPLICATION.STATUS");
     descriptor.addMapping(statusMapping);
     DirectToFieldMapping tradeinAmountMapping = new DirectToFieldMapping();
     tradeinAmountMapping.setAttributeName("tradeinAmount");
     tradeinAmountMapping.setFieldName("CREDIT_APPLICATION.TRADEIN_AMOUNT");
     descriptor.addMapping(tradeinAmountMapping);
     AggregateObjectMapping approvalMapping = new AggregateObjectMapping();
     approvalMapping.setAttributeName("approval");
     approvalMapping.setReferenceClass(com.yamaha.yds.model.domain.credit.ApplicationApprovalImpl.class);
     approvalMapping.setIsNullAllowed(true);
     approvalMapping.addFieldNameTranslation("CREDIT_APPLICATION.AUTH_NUMBER", "AUTH_NUMBER");
     approvalMapping.addFieldNameTranslation("CREDIT_APPLICATION.CONSUMER_APR", "CONSUMER_APR");
     approvalMapping.addFieldNameTranslation("CREDIT_APPLICATION.CREDIT_LIMIT", "CREDIT_LIMIT");
     approvalMapping.addFieldNameTranslation("CREDIT_APPLICATION.ACCOUNT_NUM", "ACCOUNT_NUM");
     approvalMapping.addFieldNameTranslation("CREDIT_APPLICATION.RESP_IND", "RESP_IND");
     approvalMapping.addFieldNameTranslation("CREDIT_APPLICATION.AUTH_AMOUNT", "AUTH_AMOUNT");
     descriptor.addMapping(approvalMapping);
     OneToOneMapping dealerMapping = new OneToOneMapping();
     dealerMapping.setAttributeName("dealer");
     dealerMapping.setReferenceClass(com.yamaha.yds.model.domain.common.DealerImpl.class);
     dealerMapping.useBasicIndirection();
     dealerMapping.addForeignKeyFieldName("CREDIT_APPLICATION.DEALER_NUMBER", "SOLD_TO.DST_SOLD_TO_NBR");
     descriptor.addMapping(dealerMapping);
     OneToOneMapping insuranceTypeMapping = new OneToOneMapping();
     insuranceTypeMapping.setAttributeName("insuranceType");
     insuranceTypeMapping.setReferenceClass(com.yamaha.yds.model.domain.credit.InsuranceTypeImpl.class);
     insuranceTypeMapping.dontUseIndirection();
     insuranceTypeMapping.addForeignKeyFieldName("CREDIT_APPLICATION.INSURANCE_CODE_KEY", "INSURANCE.INSURANCE_CODE_KEY");
     descriptor.addMapping(insuranceTypeMapping);
     OneToOneMapping jointApplicantMapping = new OneToOneMapping();
     jointApplicantMapping.setAttributeName("jointApplicant");
     jointApplicantMapping.setReferenceClass(com.yamaha.yds.model.domain.credit.JointApplicantImpl.class);
     jointApplicantMapping.dontUseIndirection();
     jointApplicantMapping.privateOwnedRelationship();
     jointApplicantMapping.addForeignKeyFieldName("CREDIT_APPLICATION.JOINT_APPLICANT_KEY", "CREDIT_APPLICANT.CREDIT_APPLNT_KEY");
     descriptor.addMapping(jointApplicantMapping);
     OneToOneMapping primaryApplicantMapping = new OneToOneMapping();
     primaryApplicantMapping.setAttributeName("primaryApplicant");
     primaryApplicantMapping.setReferenceClass(com.yamaha.yds.model.domain.credit.PrimaryApplicantImpl.class);
     primaryApplicantMapping.dontUseIndirection();
     primaryApplicantMapping.privateOwnedRelationship();
     primaryApplicantMapping.addForeignKeyFieldName("CREDIT_APPLICATION.PRIMARY_APPLNT_KEY", "PRIMARY_APPLICANT.PRIMARY_APPLNT_KEY");
     descriptor.addMapping(primaryApplicantMapping);
     OneToOneMapping programTypeMapping = new OneToOneMapping();
     programTypeMapping.setAttributeName("programType");
     programTypeMapping.setReferenceClass(com.yamaha.yds.model.domain.credit.ProgramTypeImpl.class);
     programTypeMapping.dontUseIndirection();
     programTypeMapping.addForeignKeyFieldName("CREDIT_APPLICATION.PROGRAM_CODE_KEY", "PROGRAM_TYPE.PROGRAM_CODE_KEY");
     descriptor.addMapping(programTypeMapping);
     return descriptor;
}

Similar Messages

  • Toplink-jpa and/or jdev11 problem

    Hi,
    How should I configure a toplink/jpa application in oc4j 11? Mine doesn't seem to be able to be able to connect... But I guess I didn't configure correctly.
    Anyway, it works in the jdevelopper 11 (technical preview) embedded oc4j. I can deploy it ok from jdeveloper, and even connect to the session beans on the server from another application (swing client, independant).
    But whenever my beans try to make a request, I get this exception:
    exception occurred during method invocation:
    javax.ejb.EJBTransactionRolledbackException: Exception [TOPLINK-4002] (Oracle
    TopLink - 11g Release 1 (11.1.1.0.0) (Build 070428)):
    oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Io exception: The Network Adapter could not establish
    the connectionError Code: 17002; nested exception is: Exception [TOPLINK-4002]
    (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 070428)):
    I made a sample jdbc connection from the session bean, to the database it should connect to: no problem.
    Is there a checklist of what I should make sure? There are a lot of wizards, configuration files, etc. and I'm a little bit confused about the cause of the problem and how to fix it. My question has been on metalink for 48 hours, but without luck yet.
    Here is a more complete part of the stack trace:
    Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:72)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:105)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:168)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:224)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:495)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:429)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
    at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.jav
    a:57)
    at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:21
    2)
    at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
    at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
    at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(Coll
    ectionConnectionPoolImpl.java:513)
    at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:
    419)
    at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
    at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
    at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
    at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnect
    ionPoolAdapter.java:543)
    at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool
    (ApplicationConnectionManager.java:1553)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.ja
    va:1499)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.jav
    a:238)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
    ... 69 more

    HI
    can you reply the feedback of metalink? because I'm having similar problem.
    I debug in junit and embebbed at the jdev and it works well, but when I deploy in a standalone oc4j it gives me the same error of Excepção de E/S: The Network Adapter could not establish the connection
    And I'm not using 11g, I'm still in 10g but the problem might be the same.
    cumps
    DnlCY
    null

  • Toplink session and UnitOfWork synchronization problem

    Dear forum readers,
    I am not sure i fully understand the way how toplink deals with caching. To me it seems, that i got some pretty scary results, which i am not sure how to interpret and to work around them.
    The following code snippet is part of a unit test:
    >>>>>>>>>>>> snip >>>>>>>>>>>>>>>
    1 public void test2() {
    2
    3 UnitOfWork uow = (UnitOfWork) SessionManager.getSessionManager().getSession().getUnitOfWork();
    4 Justitiabele justitiabele = findJustitiabele("findById", Justitiabele.class, new Long(551));
    5 ((JustitiabeleIdentiteit) justitiabele.getJustitiabeleIdentiteiten().iterator().next()).setMeisjesnaam("Kettner10");
    6 Justitiabele tmp = (Justitiabele) uow.registerObject(justitiabele);
    7 ((JustitiabeleIdentiteit) tmp.getJustitiabeleIdentiteiten().iterator().next()).setMeisjesnaam("Kettner10");
    8 uow.commitAndResume();
    9 }
    10
    11 public Justitiabele findJustitiabele(String queryName, Class objectClass, Object param) {
    12      SessionWrapper toplinkSessionWrapper = getSession();
    13      toplinkSessionWrapper.getClientSession().executeQuery(queryName, objectClass, param);
    14 }
    >>>>>>>>>>>>>>>> snip <<<<<<<<<<<<<<<<
    I am querying a particular object (line 4). Then i make some changes to that object (line 5). Cause the object is not registered in the UnitOfWork these changes shouldn't be persisted. So far so good. To achieve persistency i now register the object, and i make the same modifications to the toplink clone, expecting them after the commit to be persisted in the database.
    Contrary to my expectations, the changes were not persisted!!!
    Deleting line 5 (the modifications, before registering the object), leads to the desired result.
    Somehow the queried object seems to be a direct reference to the (client-) session cache. So when registering the object in the UnitOfWork, the (already modified) backupclone is copied from the session cache to the UnitOfWork. If the same changes are done to the working clone,there are no differences between backup- and working clone and no changes are made in the database.
    It gets even better: I tried to query the object again (before line 6) (even with a different UnitOfWork) before modifying it, in order to retrieve the original state of the object, but again i only was able to find the modified object.
    If the queried object indeed is a reference to some cache, i cannot understand, why that cache is not read only!!!
    Am i doing something wrong ?
    Is there a way to work around this problem?
    What are the consequences for transaction handling ? What about Isolation, when clients can see each others changes in a kind of writeable shared session???
    I try to work around that problem by registering every object, that is queried from the database in the UnitOfWork right after it was queried. This seems to me the only solution, though this is contrary to what the toplink developers guide says, namely, that only objects which are modified should be registered, due to performance reasons.
    I would be grateful to any help in understanding and working around this problem.
    Martin
    PS: Here's the log i got by running the test.:
    STDOUT >>>>>>>>>>>>>>>>>>>>>>>>>>>>
    C:\devtools\jdev\905\jdk\bin\javaw.exe -ojvm -classpath C:\ToplinkDemo\ToplinkDomein\classes;C:\ToplinkDemo\ToplinkDomein\classes\META-INF\ToplinkDomein;C:\devtools\jdev\905\toplink\jlib\source.jar;C:\devtools\jdev\905\lib\xmlparserv2.jar;C:\devtools\jdev\905\lib\xmlcomp.jar;C:\devtools\jdev\905\jdbc\lib\classes12.jar;C:\devtools\jdev\905\jdbc\lib\nls_charset12.jar;C:\devtools\jdev\905\toplink\jlib\toplink.jar org.dji.br.bl.domein.TestMain
    ServerSession(91)--Connection(92)--TopLink, version: OracleAS TopLink - 10g (9.0.4) (Build 031126)
    ServerSession(91)--Connection(92)--connecting session: djisession
    ServerSession(91)--Connection(92)--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "dji"
         datasource URL=> "jdbc:oracle:thin:@S-ORACLE01:1521:djipoc"
    ServerSession(91)--Connection(92)--Connected: jdbc:oracle:thin:@S-ORACLE01:1521:djipoc
         User: DJI
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
         Driver: Oracle JDBC driver Version: 9.0.1.5.0
    ServerSession(91)--Connection(101)--TopLink, version: OracleAS TopLink - 10g (9.0.4) (Build 031126)
    ServerSession(91)--Connection(101)--connecting session: djisession
    ServerSession(91)--Connection(101)--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "dji"
         datasource URL=> "jdbc:oracle:thin:@S-ORACLE01:1521:djipoc"
    ServerSession(91)--Connection(101)--Connected: jdbc:oracle:thin:@S-ORACLE01:1521:djipoc
         User: DJI
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
         Driver: Oracle JDBC driver Version: 9.0.1.5.0
    ServerSession(91)--Connection(103)--TopLink, version: OracleAS TopLink - 10g (9.0.4) (Build 031126)
    ServerSession(91)--Connection(103)--connecting session: djisession
    ServerSession(91)--Connection(103)--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "dji"
         datasource URL=> "jdbc:oracle:thin:@S-ORACLE01:1521:djipoc"
    ServerSession(91)--Connection(103)--Connected: jdbc:oracle:thin:@S-ORACLE01:1521:djipoc
         User: DJI
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
         Driver: Oracle JDBC driver Version: 9.0.1.5.0
    ServerSession(91)--Connection(105)--TopLink, version: OracleAS TopLink - 10g (9.0.4) (Build 031126)
    ServerSession(91)--Connection(105)--connecting session: djisession
    ServerSession(91)--Connection(105)--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "dji"
         datasource URL=> "jdbc:oracle:thin:@S-ORACLE01:1521:djipoc"
    ServerSession(91)--Connection(105)--Connected: jdbc:oracle:thin:@S-ORACLE01:1521:djipoc
         User: DJI
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
         Driver: Oracle JDBC driver Version: 9.0.1.5.0
    ServerSession(91)--Connection(107)--TopLink, version: OracleAS TopLink - 10g (9.0.4) (Build 031126)
    ServerSession(91)--Connection(107)--connecting session: djisession
    ServerSession(91)--Connection(107)--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "dji"
         datasource URL=> "jdbc:oracle:thin:@S-ORACLE01:1521:djipoc"
    ServerSession(91)--Connection(107)--Connected: jdbc:oracle:thin:@S-ORACLE01:1521:djipoc
         User: DJI
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
         Driver: Oracle JDBC driver Version: 9.0.1.5.0
    ServerSession(91)--Connection(109)--TopLink, version: OracleAS TopLink - 10g (9.0.4) (Build 031126)
    ServerSession(91)--Connection(109)--connecting session: djisession
    ServerSession(91)--Connection(109)--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "dji"
         datasource URL=> "jdbc:oracle:thin:@S-ORACLE01:1521:djipoc"
    ServerSession(91)--Connection(109)--Connected: jdbc:oracle:thin:@S-ORACLE01:1521:djipoc
         User: DJI
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
         Driver: Oracle JDBC driver Version: 9.0.1.5.0
    ServerSession(91)--Connection(111)--TopLink, version: OracleAS TopLink - 10g (9.0.4) (Build 031126)
    ServerSession(91)--Connection(111)--connecting session: djisession
    ServerSession(91)--Connection(111)--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "dji"
         datasource URL=> "jdbc:oracle:thin:@S-ORACLE01:1521:djipoc"
    ServerSession(91)--Connection(111)--Connected: jdbc:oracle:thin:@S-ORACLE01:1521:djipoc
         User: DJI
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
         Driver: Oracle JDBC driver Version: 9.0.1.5.0
    ServerSession(91)--sequencing connected, state is ForcedToUseWriteAccessor_State
    ServerSession(91)--client acquired
    ClientSession(114)--acquire unit of work: 113
    ClientSession(114)--Execute query ReadObjectQuery(org.dji.br.bl.domein.justitiabele.Justitiabele)
    ServerSession(91)--Connection(101)--SELECT DJI_NUMMER FROM DJI.JUSTITIABELEN WHERE (DJI_NUMMER = 551)
    ServerSession(91)--Execute query ReadAllQuery(org.dji.br.bl.domein.justitiabele.JustitiabeleIdentiteit)
    ServerSession(91)--Connection(92)--SELECT INDICATIE_NONAMER, ACHTERNAAM, BRN_CODE, MEISJESNAAM, ID, ROEPNAAM, GEBOORTEPLAATS_BUITENLAND, TITEL_BUITENLAND, VOORNAAM, VOORLETTERS, JBE_DJI_NUMMER, DATUM_INGANG, DATUM_EINDE FROM DJI.JUSTITIABELEIDENTITEITEN WHERE (JBE_DJI_NUMMER = 551)
    ServerSession(91)--Execute query ReadObjectQuery(org.dji.br.bl.domein.justitiabele.Justitiabele)
    UnitOfWork(113)--Register the object org.dji.br.bl.domein.justitiabele.Justitiabele@82
    UnitOfWork(113)--Register the existing object org.dji.br.bl.domein.justitiabele.JustitiabeleIdentiteit@84
    UnitOfWork(113)--Register the existing object org.dji.br.bl.domein.justitiabele.Justitiabele@82
    UnitOfWork(113)--begin unit of work commit
    ClientSession(114)--Connection(103)--begin transaction
    UnitOfWork(113)--Execute query WriteObjectQuery(org.dji.br.bl.domein.justitiabele.Justitiabele@83)
    UnitOfWork(113)--Execute query WriteObjectQuery(org.dji.br.bl.domein.justitiabele.JustitiabeleIdentiteit@85)
    ClientSession(114)--Connection(103)--commit transaction
    UnitOfWork(113)--end unit of work commit
    UnitOfWork(113)--resume unit of work
    Process exited with exit code 0.

    Mark,
    The object returned from any query on the sessions is the object from the shared cache. Any changes made to this will change the shared cache.
    You must acquire a UnitOfWork and register the cached object into the UnitOfWork in order to get an isolated copy that can be modified within a transactional context (UnitOfWork) without other threads seeing these transient changes. The typical approach is to read through the session and register objects involved in a change prior to modifications.
    The is a UnitOfWork paper available on TopLink technical information page that may be useful to you:
    http://www.oracle.com/technology/products/ias/toplink/technical/index.html
    Doug

  • Toplink 1..m finder problem

    I have a problem with a finder which is attempting to traverse a 1..m relation ship between two ejb's. I have tried expressing the finder using both EJBQL and the expression framework, but am getting the same error in both cases.
    I have two entity beans TraxTrade and TraxEvent related 1..m. TraxEvent has container managed attributes activity and status. If I try to find all trades which have an event matching a certain status and activity, I can express it in EJB SQL as follows:-
    SELECT DISTINCT OBJECT(trade) FROM TraxTrade trade, IN(trade.events) event WHERE event.activity = ?1 AND event.status = ?2"
    This can also be expressed using the toplink expression framework:-
    ReadAllQuery query = new ReadAllQuery();
    query.setReferenceClass(Trade.class);
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression events = builder.anyOf("events");
    query.setSelectionCriteria(events.get("activity").equal(activity).and(events.get("status").equal(status)));
    If I use either a dynamic finder such as findManyByQuery to process the query above, or a express the query as in EJBQL I get the following error:-
    [TopLink Debug]: executeFinder query [findManyByQuery] [[Ljava.lang.Object;@2e9f1]
    [TopLink Debug]: UnitOfWork(16590605)--Connection(0)--#executeQuery(ReadAllQuery(com.deuba.confirm.trax.model.ejb.TraxTradeCMP_g7nsvl__TopLink_CMP_2_0))
    [TopLink Debug]: ClientSession(984595)--Connection(0)--#executeQuery(ReadAllQuery(com.deuba.confirm.trax.model.ejb.TraxTradeCMP_g7nsvl__TopLink_CMP_2_0))
    [TopLink]: ServerSession(3815989)--Connection(7230332)--SELECT DISTINCT t1.SIDE, t1.ID, t1.ISMA_CLEAR_NO, t1.LAST_UPDATE, t1.ISMA_LOC, t1.REFERENCE_ID, t1.SWIFT_CODE, t1.ACTION, t1.MIDDLE_RATE, t1.PRICE, t1.BOOK, t1.SETTLEMENT_DATE, t1.ISIN, t1.INSTRUMENT_TYPE, t1.TICKET_NO, t1.SETTLEMENT_CURRENCY, t1.BOOKKEEP_CODE, t1.COUNTERPARTY_SHORT_NAME, t1.LONGNOTE_3, t1.CREATED, t1.MARKET_MAKER, t1.BACKWARD_REFERENCE_ID, t1.TRADE_TYPE, t1.TRADE_DATE, t1.SIB_CODE, t1.TRADE_CURRENCY, t1.ROOT_CODE, t1.TRADE_TIME, t1.MESSAGE, t1.QUANTITY, t1.UNIFIED, t1.COUNTERPARTY_ACCOUNT, t1.INSTRUMENT_ID, t1.VERSION, t1.PREVIOUS_ID FROM TRAX_EVENT t0, TRAX_TRADE t1 WHERE (((t0.ACTIVITY = 'Activity') AND (t0.STATUS = 'Status')) AND (t0.TRADE_ID = t1.ID))
    [TopLink Debug]: ServerSession(3815989)--Connection(0)--#reconnecting to external connection pool
    [TopLink Error]: UnitOfWork(16590605)--Connection(0)--null--EXCEPTION [TOPLINK-26] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
    EXCEPTION DESCRIPTION: Trying to get value for instance variable [activity] of type [java.lang.String] from the object [com.deuba.confirm.trax.model.ejb.TraxEventCMP_gfu2m3_ELOImpl]. The specified object is not an instance of the class or interface declaring the underlying field.
    INTERNAL EXCEPTION: java.lang.IllegalArgumentException
    MAPPING: oracle.toplink.mappings.DirectToFieldMapping[activity-->DatabaseField(TRAX_EVENT.ACTIVITY)]
    DESCRIPTOR: Descriptor(com.deuba.confirm.trax.model.ejb.TraxEventCMP_gfu2m3__TopLink_CMP_2_0 --> [DatabaseTable(TRAX_EVENT)])
    [TopLink Debug]: An error occured executing finder: findManyByQuery
    [TopLink Debug]: Exception raised: EXCEPTION [TOPLINK-26] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
    EXCEPTION DESCRIPTION: Trying to get value for instance variable [activity] of type [java.lang.String] from the object [com.deuba.confirm.trax.model.ejb.TraxEventCMP_gfu2m3_ELOImpl]. The specified object is not an instance of the class or interface declaring the underlying field.
    INTERNAL EXCEPTION: java.lang.IllegalArgumentException
    MAPPING: oracle.toplink.mappings.DirectToFieldMapping[activity-->DatabaseField(TRAX_EVENT.ACTIVITY)]
    DESCRIPTOR: Descriptor(com.deuba.confirm.trax.model.ejb.TraxEventCMP_gfu2m3__TopLink_CMP_2_0 --> [DatabaseTable(TRAX_EVENT)])
    Exception trace:
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-26] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
    EXCEPTION DESCRIPTION: Trying to get value for instance variable [activity] of type [java.lang.String] from the object [com.deuba.confirm.trax.model.ejb.TraxEventCMP_gfu2m3_ELOImpl]. The specified object is not an instance of the class or interface declaring the underlying field.
    INTERNAL EXCEPTION: java.lang.IllegalArgumentException
    MAPPING: oracle.toplink.mappings.DirectToFieldMapping[activity-->DatabaseField(TRAX_EVENT.ACTIVITY)]
    DESCRIPTOR: Descriptor(com.deuba.confirm.trax.model.ejb.TraxEventCMP_gfu2m3__TopLink_CMP_2_0 --> [DatabaseTable(TRAX_EVENT)])
         at oracle.toplink.exceptions.DescriptorException.illegalArgumentWhileGettingValueThruInstanceVariableAccessor(Unknown Source)
         at oracle.toplink.internal.descriptors.InstanceVariableAttributeAccessor.getAttributeValueFromObject(Unknown Source)
         at oracle.toplink.mappings.DatabaseMapping.getAttributeValueFromObject(Unknown Source)
         at oracle.toplink.mappings.DirectToFieldMapping.valueFromObject(Unknown Source)
         at oracle.toplink.internal.expressions.QueryKeyExpression.valuesFromCollection(Unknown Source)
         at oracle.toplink.internal.expressions.QueryKeyExpression.valueFromObject(Unknown Source)
         at oracle.toplink.internal.expressions.RelationExpression.doesConform(Unknown Source)
         at oracle.toplink.internal.expressions.LogicalExpression.doesConform(Unknown Source)
         at oracle.toplink.internal.identitymaps.IdentityMapManager.getAllFromIdentityMap(Unknown Source)
         at oracle.toplink.publicinterface.Session.getAllFromIdentityMap(Unknown Source)
         at oracle.toplink.publicinterface.Session.getAllFromIdentityMap(Unknown Source)
         at oracle.toplink.queryframework.ReadAllQuery.conformResult(Unknown Source)
         at oracle.toplink.queryframework.ReadAllQuery.registerObjectInUnitOfWork(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.internal.ejb.cmp.FinderManager.executeDynamicFinder(Unknown Source)
         at oracle.toplink.internal.ejb.cmp.FinderManager.executeFinder(Unknown Source)
         at oracle.toplink.internal.ejb.cmp.FinderManager.findMany(Unknown Source)
         at oracle.toplink.internal.ejb.cmp.wls.WlsBeanManager.collectionFinder(Unknown Source)
         at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:476)
         at com.deuba.confirm.trax.model.ejb.TraxTradeCMP_g7nsvl_LocalHomeImpl.findManyByQuery(TraxTradeCMP_g7nsvl_LocalHomeImpl.java:220)
         at com.deuba.confirm.trax.model.ejb.TraxTradeBeanTest.testFindManyByQuery(TraxTradeBeanTest.java:168)
    It seems as though Toplink has problems with the traversal of 1..m's. On close inspection of the logs, Toplink is trying to access an instance variable in the generated skeletons where non exists.
    Furthermore, close inspection of the examples that ship with Toplink reveal that there are no such instances of traversing 1..m relationships in this way. Could someone from Oracle please comment on this problem.
    Thanks
    Dean Miley

    I think I'm set with #1 and #2.
    3. Ensure that you manage population of the 1:1 in your add/remove methods on the parent class
    Do you mean on the child, since the child has the 1:1, not the parent?
    And I'm not sure what you mean by "manage population".
    I'm brute-forcing may way through this, and after looking at other forum posts, I am wondering if some of my problem is due to serialization with the transparent indirection.
    With that it would seem as if my collection won't get populated till I attempt to call some method that forces the server to populate my collection.

  • Problem with JPA Implementations and SQL BIGINT in primary keys

    I have a general Question about the mapping of the SQL datatype BIGINT. I discovered, that there are some different behaviour depending on the JPA implementation. I tested with TopLink Essentials (working) and with Hibernate (not working).
    Here is the case:
    Table definition:
    /*==============================================================*/
    /* Table: CmdQueueIn */
    /*==============================================================*/
    create table MTRACKER.CmdQueueIn
    CmdQueueInId bigint not null global autoincrement,
    Type int,
    Cmd varchar(2048),
    CmdState int,
    MLUser bigint not null,
    ExecutionTime timestamp,
    FinishTime timestamp,
    ExecutionServer varchar(64),
    ScheduleString varchar(64),
    RetryCount int,
    ResultMessage varchar(256),
    RecordState int not null default 1,
    CDate timestamp not null default current timestamp,
    MDate timestamp not null default current timestamp,
    constraint PK_CMDQUEUEIN primary key (CmdQueueInId)
    The java class for this table has the following annotation for the primary key field:
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "CmdQueueInId", nullable = false)
    private BigInteger cmdQueueInId;
    When using hibernate 3.2.1 as JPA provider I get the following exception:
    avax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short or string
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:218)
    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 org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:176)
    at $Proxy16.persist(Unknown Source)
    at com.trixpert.dao.CmdQueueInDAO.save(CmdQueueInDAO.java:46)
    at com.trixpert.test.dao.CmdQueueInDAOTest.testCreateNewCmd(CmdQueueInDAOTest.java:50)
    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 junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at
    Caused by: org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short or string
    at org.hibernate.id.IdentifierGeneratorFactory.get(IdentifierGeneratorFactory.java:59)
    at org.hibernate.id.IdentifierGeneratorFactory.getGeneratedIdentity(IdentifierGeneratorFactory.java:35)
    at org.hibernate.id.IdentityGenerator$BasicDelegate.getResult(IdentityGenerator.java:157)
    at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:57)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2108)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2588)
    at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
    at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:290)
    at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108)
    at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
    at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:212)
    ... 34 more
    This means, that their ID generator does not support java.math.BigInteger as datatype.
    But the code works if I take TopLink essentials as JPA Provider.
    Looking at the spec shows the following:
    In chapter 2.1.4 "If generated primary keys are used, only integral types will be portable." Integral datatypes are byte, short, int, long and char. This would mean, that the Hibernate implementation fits the spec but there seem to be a problem in general with BIGINT datatypes.
    I use a SYBASE database. There it is possible to declare a UNSIGNED BIGINT. The range of numbers is therefore 0 - 2^64 - 1. Since in Java a long is always signed it would mean its range is from -2^63 -1 to 2^63 -1. So a mapping of BIGINT to java.lang.long could result in an overflow.
    The interesting thing is, that I used NetBeans to reverse engineer an existing database schema. It generated for all Primary Keys of Type BIGINT automatically a java.math.BigInteger. But for other fields (not being keys) it mapped BIGINTs to java.lang.long.
    It looks like there are some problems with either the spec itself or the implementation of it. While TopLink seems to handle the problem correctly, Hibernate doesn't. But Hibernate seems to fulfill the spec.
    Is anybody familiar with the Spec reading this and can elaborate a little about this situation?
    Many thanks for your input and feedback.
    Tom

    Not sure if I clearly understand your issue, would be good if you can explain it a bit more clearly.
    "I select a value from LOV and this value don't refresh in the view"
    If you mean ViewObject, check if autoSubmit property is set to true.
    Amit

  • TopLink named query issue

    We are using Jdeveloper 10.1.3.3, TopLink, ADF JSF Faces. I have an issue with TopLink named query. I am passing a value to parameter defined in the TopLink named query. The problem is that the parameter value is not being set when JSP page is loading for the first time and TopLink named query is not returning any results. When I click a button or refresh the page or some user action, then only the parameter value is set in the TopLink named query and returning the query results.Is this TopLink issue or is there any way to invoke action to fire the TopLink named query with the parameter value being passed at the time of loading JSP page ?
    Our project is held up due to this issue and I will highly appreciate if someone can help on this?
    Thanks in Advance.

    Go to your toplink map in the application navigator, select the descriptor in the structure pane and then click on the "Queries" tab in the editor pane. You should be able to configure your named query there.
    Hope this helps.
    Anuj

  • Master /Detail create problem

    hi,everyone:
    Firstly to say sorry for my bad English.
    Now I have a question:
    I'm working in JDeveloper 10.1.3 .The model layer is SessionEJB /Toplink ,and the view layer is JSF. I have a data structure :
    HrUnit : Master
    HrHuman : detail
    HrKnowledge : detail
    the <HrHuman>'s PRIMARYKEY is <ID>,and the <HrKnowledge>'s FOREIGN KEY is <RYID>.
    and I want to make a page to insert a new row on <HrKnowledge>. I drag the <hrKnowledgeCollectionIterator> into the page as <ADF Creation Form>, the page run fine.
    next step, I make <persistEntity> binding to the <submit button> and the parameters(entity) is
    ${bindings.hrKnowledgeCollectionIterator.currentRow.dataProvider}.
    when i run the page , i get a wrong . i get the SQL in the <Unit of work > is
    "INSERT INTO HrUnit ....."
    i create a direct mapping for the detail's foreginkey in toplink,and when i "rebuild" the map ,it gives me a warning. This warning affect my custom code in EJB,it can't work correctly. So i can't use this way in my question.
    Re: Master /Detail  create problem
    I beg your help.
    Thanks. and very very thanks.

    Hi,
    I am not an expert in TopLink, but it appears to me that the TopLink model is causes your problems not ADF. There is a TopLink forum here on OTN that could give you a helping hand on this issue.
    The following tutorial explains the use of TopLink in ADF
    http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_adftoplink/master-detail-edit_page_adf_toplink.htm
    Frank

  • Invalid column name in WLS 6.1 sp4

    We have been using WLS 6.1 sp2 with toplink and never had any problems. Recently
    we migrated to sp4 and get a invalid column name exception while updating records.
    For select queries there is no error. The SQL generated by toplink is -
    UPDATE PR_SUPP SET CNTC_PRSN_NAME = ''
    , REMK = 'Remark 123', LAST_CHNG_DTTM = {ts '2002-11-29 10:59:56.0'} WHERE ((S
    UPP_CODE = 'A0001') AND (LAST_CHNG_DTTM = {ts '2002-11-29 10:46:01.0'}))
    It looks like some problem with the JDBC driver. The databse is Oracle 8.17. How
    to fix it
    The exception stack trace is -
    2002-11-27 11:56:25,763 ERROR com.pws.ubiquity.pr.business.TransactionTypeFacade
    - Error while commiting transaction (creating TransactionType):LOCAL EXCEPTION
    STACK:
    EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-00904: invalid column name
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-00904: invalid column name
    ERROR CODE: 904
         at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown
    Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(Unknown
    Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown
    Source)
         at oracle.toplink.publicinterface.UnitOfWork.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.insertObject(Unknown
    Source)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(Unknown
    Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
         at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(Unknown Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(Unknown
    Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(Unknown
    Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
         at oracle.toplink.queryframework.WriteObjectQuery.executeCommit(Unknown Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWrite(Unknown
    Source)
         at oracle.toplink.queryframework.WriteObjectQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjects(Unknown Source)
         at oracle.toplink.publicinterface.Session.writeAllObjects(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(Unknown
    Source)
         at oracle.toplink.jts.AbstractSynchronizationListener.beforeCompletion(Unknown
    Source)
         at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:551)
         at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:88)
         at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:982)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1506)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:215)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
         at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:247)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:584)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
         at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
         at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    INTERNAL EXCEPTION STACK:
    java.sql.SQLException: ORA-00904: invalid column name
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
         at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:503)
         at weblogic.jdbc.rmi.internal.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:66)
         at weblogic.jdbc.rmi.SerialPreparedStatement.executeUpdate(SerialPreparedStatement.java:57)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown
    Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(Unknown
    Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown
    Source)
         at oracle.toplink.publicinterface.UnitOfWork.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.insertObject(Unknown
    Source)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(Unknown
    Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
         at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(Unknown Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(Unknown
    Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(Unknown
    Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
         at oracle.toplink.queryframework.WriteObjectQuery.executeCommit(Unknown Source)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWrite(Unknown
    Source)
         at oracle.toplink.queryframework.WriteObjectQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjects(Unknown Source)
         at oracle.toplink.publicinterface.Session.writeAllObjects(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(Unknown
    Source)
         at oracle.toplink.jts.AbstractSynchronizationListener.beforeCompletion(Unknown
    Source)
         at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:551)
         at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:88)
         at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:982)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1506)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:215)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
         at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:247)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:584)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
         at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
         at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion:
    sync=oracle.toplink.jts.wls.WebLogicSynchronizationListener@373d4a
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-00904: invalid column name
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-00904: invalid column name
    ERROR CODE: 904 - with nested exception:
    [EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-00904: invalid column name
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-00904: invalid column name
    ERROR CODE: 904]
         at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1490)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:265)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
         at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:247)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:584)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
         at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
         at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    2002-11-27 11:56:25,793 DEBUG com.pws.framework.common.MessageSourceFactory -
    Get MessageSource for error message.:
    2002-11-27 11:56:25,793 DEBUG com.pws.framework.common.MessageSourceFactory -
    Get MessageSource for error message.:
    com.pws.framework.exception.GeneralException: There was an unexpected error. Please
    contact your system administrator.
         at com.pws.framework.exception.GeneralException.create(GeneralException.java:111)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:588)
         at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
         at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
         at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    We have changed default thin driver to 920 from 817 in 610sp4. If you are using 817/901 dbserver, please put 817/901 classes12.zip in your
    classpath before weblogic.jar and you will be ok.
    Mitesh
    vivek wrote:
    We have been using WLS 6.1 sp2 with toplink and never had any problems. Recently
    we migrated to sp4 and get a invalid column name exception while updating records.
    For select queries there is no error. The SQL generated by toplink is -
    UPDATE PR_SUPP SET CNTC_PRSN_NAME = ''
    , REMK = 'Remark 123', LAST_CHNG_DTTM = {ts '2002-11-29 10:59:56.0'} WHERE ((S
    UPP_CODE = 'A0001') AND (LAST_CHNG_DTTM = {ts '2002-11-29 10:46:01.0'}))
    It looks like some problem with the JDBC driver. The databse is Oracle 8.17. How
    to fix it
    The exception stack trace is -
    2002-11-27 11:56:25,763 ERROR com.pws.ubiquity.pr.business.TransactionTypeFacade
    - Error while commiting transaction (creating TransactionType):LOCAL EXCEPTION
    STACK:
    EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-00904: invalid column name
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-00904: invalid column name
    ERROR CODE: 904
    at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown
    Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(Unknown
    Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown
    Source)
    at oracle.toplink.publicinterface.UnitOfWork.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.insertObject(Unknown
    Source)
    at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(Unknown
    Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
    at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(Unknown
    Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(Unknown
    Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
    at oracle.toplink.queryframework.WriteObjectQuery.executeCommit(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWrite(Unknown
    Source)
    at oracle.toplink.queryframework.WriteObjectQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.sessions.CommitManager.commitAllObjects(Unknown Source)
    at oracle.toplink.publicinterface.Session.writeAllObjects(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(Unknown
    Source)
    at oracle.toplink.jts.AbstractSynchronizationListener.beforeCompletion(Unknown
    Source)
    at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:551)
    at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:88)
    at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:982)
    at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1506)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:215)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:247)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:584)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
    at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
    at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    INTERNAL EXCEPTION STACK:
    java.sql.SQLException: ORA-00904: invalid column name
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
    at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:503)
    at weblogic.jdbc.rmi.internal.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:66)
    at weblogic.jdbc.rmi.SerialPreparedStatement.executeUpdate(SerialPreparedStatement.java:57)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown
    Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(Unknown
    Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown
    Source)
    at oracle.toplink.publicinterface.UnitOfWork.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.insertObject(Unknown
    Source)
    at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(Unknown
    Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
    at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(Unknown
    Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(Unknown
    Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(Unknown
    Source)
    at oracle.toplink.queryframework.WriteObjectQuery.executeCommit(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWrite(Unknown
    Source)
    at oracle.toplink.queryframework.WriteObjectQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.sessions.CommitManager.commitAllObjects(Unknown Source)
    at oracle.toplink.publicinterface.Session.writeAllObjects(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(Unknown
    Source)
    at oracle.toplink.jts.AbstractSynchronizationListener.beforeCompletion(Unknown
    Source)
    at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:551)
    at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:88)
    at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:982)
    at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1506)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:215)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:247)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:584)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
    at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
    at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion:
    sync=oracle.toplink.jts.wls.WebLogicSynchronizationListener@373d4a
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-00904: invalid column name
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-00904: invalid column name
    ERROR CODE: 904 - with nested exception:
    [EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-00904: invalid column name
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-00904: invalid column name
    ERROR CODE: 904]
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1490)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:265)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:247)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:584)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
    at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
    at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    2002-11-27 11:56:25,793 DEBUG com.pws.framework.common.MessageSourceFactory -
    Get MessageSource for error message.:
    2002-11-27 11:56:25,793 DEBUG com.pws.framework.common.MessageSourceFactory -
    Get MessageSource for error message.:
    com.pws.framework.exception.GeneralException: There was an unexpected error. Please
    contact your system administrator.
    at com.pws.framework.exception.GeneralException.create(GeneralException.java:111)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade.addTransactionType(TransactionTypeFacade.java:588)
    at com.pws.ubiquity.pr.business.TransactionTypeFacade_ocr0a6_EOImpl.addTransactionType(TransactionTypeFacade_ocr0a6_EOImpl.java:271)
    at com.pws.ubiquity.pr.web.action.AddTransactionTypeAction.doExecute(AddTransactionTypeAction.java:120)
    at com.pws.ubiquity.common.web.action.SecureAction.perform(SecureAction.java:240)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • Cache merge in JTA transaction

    I'm looking at code that attempts to do the following:
    1. Using JTA, atomically:
    a. Write changes to an object to a database using Toplink.
    b. Post a message to a JMS topic.
    (The topic and the connection pool are both configured to use XA, and Toplink is correctly configured to use an external JTA controller in the WebLogic platform.)
    2. After the commit occurs, the message on the topic is consumed. The consumer immediately reads the newly saved object, which is served out of the Toplink session cache.
    The problem is that I am seeing a race condition in the message consumer method, such that depending on if or how much I delay, I may or may not see the object modifications from step 1a. If I modify my read-object query to bypass the cache and force a database refresh, I always see the correct result.
    I'm trying to determine if Toplink merges changes back into the cache before or after it sends the final ack in the 2PC protocol. I read the excellent timeline in Re: Event Callback for UnitOfWork and it sounds like it might be "after" (?). If so, it would seem that there is indeed a window of time in which a race can occur in my scenario. Or if not, maybe there is a flaw in this code somewhere that I just can't seem to find.
    Thanks.
    _Scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Should I take that to mean that I should see that behavior in earlier versions of Toplink? Or would that be reading too much into it?
    Thanks.

  • Downgrading from JDK 1.5.x to JDK 1.4.x

    Hi there,
    I hope someone helps me with an issue:
    I developed a web app using JDev 10.1.3.3 using the JDK 1.5 included with JDev.
    As we are now faced with the fact that this app has to run on an OAS 10.1.2, which to my knowledge uses JDK 1.4.x I have to downgrade from JDK1.5.x->1.4.x.
    The technologies that I used are Toplink, EJB 3.0 Session Bean and ADF Faces for the UI layer.
    I already downloaded and installed JDK 1.4.2_15 from Sun and changed the default JDK from 1.5.x in JDeveloper to use 1.4.2_15. When I recompiled my Model Project, as excected, I got the following compilation errors on my Bean Class java source file:
    Error(29,1): errorIllegalCharacter
    Error(29,2): 'class', 'interface', or 'enum' expected
    on the same line where I had the EJB 3.0 annotation as follows:
    @Stateless(name = "NordPublicFacade")
    and also on my Local Interface source:
    Error(22,1): errorIllegalCharacter
    Error(22,2): 'class', 'interface', or 'enum' expected
    for the line:
    @Local
    OK, I know that these annotations/injections(or whatever they're called) are new features of EJB 3.0 and can only be used with JDK 1.5.
    I also have red underlines in some facade methods where generics are used for Toplink Named Queries (please remember this is generated code) so for example:
    List<CompanyStructure> findAllCompanyStructure();
    On my ViewController project (the UI project) I get the following errors:
    refresh = false;
    Error(37,17): operator = not applicable to class java.lang.Boolean and boolean
    JSFUtils.setManagedBeanValue(ctx,"userState.refresh",true);
    Error(92,7): method setManagedBeanValue(javax.faces.context.FacesContext, java.lang.String, boolean) not found in class NordMaintApp.view.util.JSFUtils
    My questions
    1) What's the best way to go about downgrading?
    a) Should I create a new EJB 2.x Session Bean or should I use the Java Service Facade (which I hope creates a POJO and therefore is EJB version independant or not?)
    b) Is it necessary to do anything special to the Toplink classes?
    2) What are the errors that I get in my ViewController project ?
    Thanks In Advance
    G.P.

    Hi again Shay and THANK YOU!
    We simply downloaded OC4J 10.1.3 & installed it (all we had to do is simply unzip it) in a separate directory on its own, on the SAME Server as OAS (10.1.2.02 EE, which includes Discoverer and Portal) AND IT WORKED !
    We're now back on using JD 10.1.3 with all its new features etc etc. We even downloaded JDK1.5 and got OC4J working with this JDK WITHOUT, of course, affecting our OAS 10.1.2 installation which works with JDK1.4.2. That woudn't have been possible without your feedback.
    It's just that looking at that reference you gave me, I thought that I would have to create a separate instance on the OAS 10.1.2 installation and install 10.1.3 on that one. But eventually it was so much simpler than that. And the memory overhead of OC4J is not that much.
    I could create a simple ADF JSF page which just displays data from a table and it's OK!
    I could deploy it just fine, though I found out that I have to deploy the ADF Runtimes first; OC4J doesn't come with them. Other than that, it was just fine!
    As I said, I'm now using ADF JSF pages for my front-end and ADF BC for my back end; it's so much easier than using Toplink directly.
    Only one problem left though (sorry to bother you like that):
    In one of the previous emails you mentioned it might be better to use Webcenter for ADF Faces. Unfortunately we cannot go with this option I'm afraid, because we already have an existing portal running on the Oracle Portal that's already included with our OAS 10.1.2.02. I assume that the Oracle Portal's version is also 10.1.2.02. Can I deploy ADF JSF faces as a portlet on this one ? I realise that JDev 10.1.3 comes with some wizards to do this and it seems that I have 2 options: Oracle PDK-Java Portlets or JSR-168 based portlets. I just want whichever one will allow me to have my ADF JSF pages deployed as Portlets on OP 10.1.2.02, so that it can be integrated into any one of the exisiting Portal pages that a colleague of mine already developed (and are waiting for my pages to finish, which currently, when called from a link inside a Portal page displays it in a new page and the user can get back to the Portal page by clicking on the browser's back button). I realise that If I have the JSF page as a portlet, it will then be possible to be integrated into an existing page, that is, have my page to occupy it's own region in a Portal's page.
    Once again, Thanks for your help and Thanks In Advance.
    R,
    G.P.

  • Working with Custom SQL Using Descriptor Query Manager Queries

    Hi All,
    I am Working on Descriptor Query Manager Queries
    Configuring Custom SQL Using Java and Workbench
    Using Java I wrote a static method as in the code given below.
    public static void insertEmployee(ClassDescriptor descriptor){
    descriptor.getQueryManager().setInsertSQLString(
    "insert into EMPLOYEE (EMP_ID, EMP_NAME, EMP_JOB, SAL, DEPTNO) values (#EMP_ID, #EMP_NAME, #EMP_JOB, #SAL, #DEPTNO)"
    I wrote a insert SQL Query in the custom SQL tab of the Toplink workbench .
    Using java and Using Toplink Workbench I had a problem how to call this insert query in the sessionEJBBean .
    Can any one suggest me in this regard.
    Thanks in advance
    regards,
    Satish

    What is the problem you are experiencing?
    Normally you can just execute the query by calling
    'executeQuery(queryName, domainclass) on the session.
    See also
    http://www.oracle.com/technology/products/ias/toplink/
    doc/10131/main/_html/qrybas003.htm#BCFIBGGJ
    Just out of curiosity: why do you need a custom SQL
    to insert something? Can't you use persist()?
    regards,
    LonnekeOr even UnitOfWork ? Why go down the route of using custom inserts to insert objects unless you have some business logic that Toplink's UnitOfWork API cannot provide ?

  • Oracle native sequencing: nextVal executed two times.

    We are migrating from Weblogic 6.1 sp 5 & TopLink 3.6.3 to Weblogic 8.1 sp 2 & TopLink 9.0.4 and we are having this issue:
    It seems that when assigning the sequence to new objets TopLink execs the nextVal for the sequence twice. In fact we probably wouldn't notticed it if it was just that, the problem is that TopLink seems to register the object into the cache with an oid and assigning the next one to the object stored in the database so we are getting NoSuchObjectException each time we try to access them.
    Here is a dump of TopLink's log showing the problem:
    [TopLink]: ServerSession(22807116)--Connection(0)--client acquired
    [TopLink]: ClientSession(25858791)--Connection(0)--acquire unit of work: 10772417
    [TopLink]: UnitOfWork(10772417)--Connection(0)--JTS register
    [TopLink]: ServerSession(22807116)--Connection(17740413)--SELECT SEQ_BOOK.NEXTVAL FROM DUAL
    [TopLink]: ServerSession(22807116)--Connection(17558511)--SELECT SEQ_PAGE.NEXTVAL FROM DUAL
    [TopLink]: UnitOfWork(10772417)--Connection(0)--Before JTS Completion
    [TopLink]: UnitOfWork(10772417)--Connection(25919386)--Begin batch statements
    [TopLink]: UnitOfWork(10772417)--Connection(25919386)--INSERT INTO AUTHOR (NAME, OCA, OID) VALUES (?, ?, ?)
    [TopLink]: UnitOfWork(10772417)--Connection(0)-- bind => [Roger Penrose, 2004-05-11 18:54:01.917, 442803]
    [TopLink]: UnitOfWork(10772417)--Connection(25919386)--End Batch Statements
    [TopLink]: ClientSession(25858791)--Connection(25919386)--Begin batch statements
    [TopLink]: ClientSession(25858791)--Connection(25919386)--INSERT INTO BOOK (NAME, OCA, OID, OID_AUTHOR) VALUES (?, ?, ?, ?)
    [TopLink]: ClientSession(25858791)--Connection(0)-- bind => [The Emperor's New Mind, 2004-05-11 18:54:01.92, 347404, 442803]
    [TopLink]: ClientSession(25858791)--Connection(0)-- bind => [Shadows of the Mind, 2004-05-11 18:54:01.943, 347405, 442803]
    [TopLink]: ClientSession(25858791)--Connection(25919386)--End Batch Statements
    [TopLink]: UnitOfWork(10772417)--Connection(0)--After JTS Completion
    [TopLink]: UnitOfWork(10772417)--Connection(0)--release unit of work
    [TopLink]: ClientSession(25858791)--Connection(0)--client released
    [TopLink]: ServerSession(22807116)--Connection(0)--client acquired
    [TopLink]: ClientSession(116689)--Connection(0)--acquire unit of work: 32580168
    [TopLink]: UnitOfWork(32580168)--Connection(0)--JTS register
    [TopLink]: UnitOfWork(32580168)--Connection(0)--Before JTS Completion
    [TopLink]: UnitOfWork(32580168)--Connection(17129104)--Begin batch statements
    [TopLink]: UnitOfWork(32580168)--Connection(17129104)--INSERT INTO AUTHOR (NAME, OCA, OID) VALUES (?, ?, ?)
    [TopLink]: UnitOfWork(32580168)--Connection(0)-- bind => [Benoit Mandelbrot, 2004-05-11 18:54:49.264, 442805]
    [TopLink]: UnitOfWork(32580168)--Connection(17129104)--End Batch Statements
    [TopLink]: ClientSession(116689)--Connection(17129104)--Begin batch statements
    [TopLink]: ClientSession(116689)--Connection(17129104)--INSERT INTO BOOK (NAME, OCA, OID, OID_AUTHOR) VALUES (?, ?, ?, ?)
    [TopLink]: ClientSession(116689)--Connection(0)-- bind => [Les objets fractals, forme, hasard et dimension, 2004-05-11 18:54:49.266, 347409, 442805]
    [TopLink]: ClientSession(116689)--Connection(0)-- bind => [The Fractal Geometry of Nature, 2004-05-11 18:54:49.282, 347408, 442805]
    [TopLink]: ClientSession(116689)--Connection(17129104)--End Batch Statements
    [TopLink]: UnitOfWork(32580168)--Connection(0)--After JTS Completion
    [TopLink]: UnitOfWork(32580168)--Connection(0)--release unit of work
    [TopLink]: ClientSession(116689)--Connection(0)--client released
    the test is about creating two objects (well, we are actually creating 6 objects in this sample as we are creating two "master" objects and adding two related (in a one to many relationship) objects to each one.)
    The thing I would like you to notice is this:
    The first AUTHOR object gets assigned the OID 442803 wether the next AUTHOR object gets the OID 442805 although we expected it to be 442804.
    The same occurs with the objects in the "many" side of the relation. They get sibiling OIDs but with a gap of two OIDs when creating the last two.
    I have been searching for simmilar problems in this forums and I found two posts:
    Both where related to a bug of an older version of TopLink (9.0.3 I think) when using something different than a number for the sequence field of an object. I expect it to be fixed in 9.0.4 version as it seemed to be fixed even for the 9.0.3 version. May it be a regression bug?
    Anyway, we are using BigDecimal on entity bean's sequence number and IIRC NUMBER(18) in Oracle tables.
    Currently our TopLink version is: 9.0.4 (031126)
    Our native sequence has an allocation size of 200 and it matches with SEQUENCEs defined in Oracle.
    As we are migratting from TopLink 3.6.3 and we have not changed the sequence prealocation size (we have not touched the database at all) we don't expect the problem to be on sequence prealocation.
    I must say we have changed the "default" JDBC driver that TopLink uses when doing the issuing the loging phase (which I think is a SUN driver) to an oracle.jdbc.driver.OracleDriver as we were having problems with timestamp locking.
    Any idea?
    Thanks in advance.
    Ignacio.

    Solved!
    It was my fault. I was doing a really nasty thing to the entity beans.
    I must publicly thank my work mate (which is a pretty smart girl, I must say) in tracking down this issue.
    Here is what (we think) was happening:
    As I told in previous post in this post we are in the process of moving from TopLink 3.6.3 (EJB 1.1) to TopLink 9.0.4 (EJB 2.0). We do have a "super class" in our application where we had some common things of our entity beans, i.e. entityContext, oid and oca attributes. We have also some methods that retrieve and set values from and to the entity beans via value objects (in order to avoid the heavy RMI operations when doing it through "standard" getters and setters) well, it happened that the current implementation of the "batch setting" method used the getDeclaringMethods to update in both UPDATE and INSERT opperations entity attributes with the data of the value object.
    When switching to EJB 2.0 we had to push down both the oid and oca attributes (in order of being able do deploy them) to each final entity bean and now they where being included in the setting process!
    You can imagine an scenario like this:
    1. ejbCreate() // TopLink issues the SELECT SEQ_XXX NEXT VAL FROM DUAL and sets the oid of the EJB
    2. setAttributes() // transfer info from the value object to the newly created EJB: including a setOid(null)!
    3. commit() (Before Completion)
    4. TopLink detects that the damm object surprisingly DOES NOT have the oid attribute setted so it performs another SELECT SEQ_XXX NEXT VAL FROM DUAL in order to "fix" this big problem.
    5. commit() (After Completion) // the object is written to the database with the second value from the sequence whereas the first value is used to identify the entity bean into the identity cache.
    Well it may not be "exactly" what is happening but I'm sure we are not so far from reality with our assumptions.
    Andrei Ilitchev, thanks for your interest, sorry I could not post this sooner.

  • Is it possible to initialize bindings programatically?

    I'm trying to access the bindings from another page different from the current one, but it seems like they been not initialized, I'm a little confused. Is it possible to initialize them programatically from a backing bean?
    I'm working with JSF , EJB (session, as a facade) , and TopLink.

    Actually I solved the problem by referencing the other bindings like this :
    "#{data.SomeNonCurrentBindingContainer.SomeBindingName} in the component's value property. However I found an article of your own about this, called
    "References to Bindings in Non-Current BindingContainer Require Changes After Migration"
    You write:....If you reference bindings like ${data.SomeBindingContainer.SomeBindingName} in "shared" JSP page fragments that you include into multiple pages then you can programmatically prepare the SomeBindingContainer during the current page request by overriding the prepareModel() ......
    Is it there any article that explain this in a little more detail, I mean a more complete example. The situation fits exactly with my problem
    Thanks for your answer....

  • NullPointerException in persist() method

    Hi,
    I'm new using JPA (TopLinks) and have the following problem:
    In a managed bean that uses resource injection, i.e
    +@PersistentContext+
    private EntityManager em;
    when calling em.persist(object) always get a java.lang.NullPointerException, no matter what entity trying to persist.
    Somebody can help ?
    Thanks in advance
    edu

    Here is the server log :
    06/11/2007 11:59:53 com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
    INFO:
    D:/Program Files/Java/jdk1.6.0_02\bin\java
    -Dcom.sun.aas.instanceRoot=D:/Program Files/glassfish-v2-b58g/domains/domain1
    -Dcom.sun.aas.ClassPathPrefix=
    -Dcom.sun.aas.ClassPathSuffix=
    -Dcom.sun.aas.ServerClassPath=
    -Dcom.sun.aas.classloader.appserverChainJars.ee=
    -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
    -Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
    -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
    -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
    -Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,D:/Program Files/glassfish-v2-b58g/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,D:/Program Files/glassfish-v2-b58g/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.serverClassPath=D:/Program Files/glassfish-v2-b58g/lib/install/applications/jmsra/imqjmsra.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/jaxm-api.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/fscontext.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/imqbroker.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/imqjmx.jar,D:/Program Files/glassfish-v2-b58g/lib/ant/lib/ant.jar,D:/Program Files/glassfish-v2-b58g/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
    -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,D:/Program Files/glassfish-v2-b58g/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,D:/Program Files/Java/jdk1.6.0_02/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/jaxm-api.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/fscontext.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/imqbroker.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/imqjmx.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,D:/Program Files/glassfish-v2-b58g/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,D:/Program Files/glassfish-v2-b58g/updatecenter/lib/updatecenter.jar,D:/Program Files/glassfish-v2-b58g/jbi/lib/jbi.jar,D:/Program Files/glassfish-v2-b58g/imq/lib/imqjmx.jar,D:/Program Files/glassfish-v2-b58g/lib/ant/lib/ant.jar,dbschema.jar
    -Dcom.sun.aas.configName=server-config
    -Dcom.sun.aas.configRoot=D:/Program Files/glassfish-v2-b58g/config
    -Dcom.sun.aas.defaultLogFile=D:/Program Files/glassfish-v2-b58g/domains/domain1/logs/server.log
    -Dcom.sun.aas.domainName=domain1
    -Dcom.sun.aas.installRoot=D:/Program Files/glassfish-v2-b58g
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -Dcom.sun.aas.promptForIdentity=true
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Dcom.sun.updatecenter.home=D:/Program Files/glassfish-v2-b58g/updatecenter
    -Ddomain.name=domain1
    -Djava.endorsed.dirs=D:/Program Files/glassfish-v2-b58g/lib/endorsed
    -Djava.ext.dirs=D:/Program Files/Java/jdk1.6.0_02/lib/ext;D:/Program Files/Java/jdk1.6.0_02/jre/lib/ext;D:/Program Files/glassfish-v2-b58g/domains/domain1/lib/ext;D:/Program Files/glassfish-v2-b58g/javadb/lib
    -Djava.library.path=D:\Program Files\glassfish-v2-b58g\lib;D:\Program Files\glassfish-v2-b58g\lib;D:\Program Files\glassfish-v2-b58g\bin;D:\Program Files\glassfish-v2-b58g\lib
    -Djava.security.auth.login.config=D:/Program Files/glassfish-v2-b58g/domains/domain1/config/login.conf
    -Djava.security.policy=D:/Program Files/glassfish-v2-b58g/domains/domain1/config/server.policy
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Djavax.net.ssl.keyStore=D:/Program Files/glassfish-v2-b58g/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=D:/Program Files/glassfish-v2-b58g/domains/domain1/config/cacerts.jks
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djmx.invoke.getters=true
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -client
    -XX:+UnlockDiagnosticVMOptions
    -XX:MaxPermSize=192m
    -Xmx512m
    -XX:NewRatio=2
    -XX:+LogVMOutput
    -XX:LogFile=D:/Program Files/glassfish-v2-b58g/domains/domain1/logs/jvm.log
    -cp
    D:/Program Files/glassfish-v2-b58g/lib/jhall.jar;D:\Program Files\glassfish-v2-b58g\lib\appserv-launch.jar
    com.sun.enterprise.server.PELaunch
    start
    Starting Sun Java System Application Server 9.1 (build b58g-fcs) ...
    MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
    CORE5098: AS Socket Service Initialization has been completed.
    CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_02] from [Sun Microsystems Inc.]
    SEC1002: Security Manager is OFF.
    D:/Program Files/glassfish-v2-b58g/domains/domain1/config/.__com_sun_appserv_pid
    ADM0001:SunoneInterceptor is now enabled
    SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
    WEB0114: SSO is disabled in virtual server [server]
    WEB0114: SSO is disabled in virtual server [__asadmin]
    ADM1079: Initialization of AMX MBeans started
    ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://t0002038990.telecom.arg.telecom.com.ar:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
    ADM1506: Status of Standard JMX Connector: Active = [true]
    WEB0302: Starting Sun-Java-System/Application-Server.
    JBIFW0010: JBI framework ready to accept requests.
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
    naming.bind
    Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/BizChallenge'
    SMGT0007: Self Management Rules service is enabled
    Application server startup complete.
    deployed with moduleid = BizChallenge
    naming.bind
    Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/BizChallenge'
    java.lang.NullPointerException
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
    at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
    at javax.faces.component.UICommand.broadcast(UICommand.java:383)
    at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.NullPointerException
    at bizchallenge.FormAdmin.persist(FormAdmin.java:32)
    at bizchallenge.FormAdmin.saveLoanForm(FormAdmin.java:38)
    at bizchallenge.BankLoan.btnEnviar_action(BankLoan.java:379)
    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:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
    ... 45 more

  • Cursor stream support through session bean

    we use toplink wrapped in a session bean to do database queries. we want the query results returned in a cursor stream way. since we make the session bean's transaction attribute as 'required'(kinda required by toplink), we ran into some problems:
    * in websphere, the second time we do getNextResults(int) from the cursor stream, we get the error saying the ResultSet has been closed.
    * in weblogic, similar problem existed with version 6, but now everything works fine with version 7.
    i understand this is likely caused by the container managed transaction(commited or something). but any tricks to get this arround? or by design, there is a better way to handle this kind of cursor stream query in general?
    thx.

    You could try holding the transaction open until the client is finished with the cursor. You could do this through only using the cursor within the SessionBean's transactional method, or through begining a JTS transaction from the client of the SessionBean to wrap the cursor usage.
    Switching to use TopLink's internal connection pooling may also be another workaround, but this may conflict with your app server/JTS usage.

Maybe you are looking for