openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald R. DiFrango" <ron.difra...@gmail.com>
Subject Generated Key Issue
Date Fri, 29 Feb 2008 20:53:16 GMT
All,

This is the next in line is an issue that I am seeing with autogenerated
keys.  It seems as if they are not automatically populated back into the
object upon insert.  In my process, I insert a record with an autokey, then
insert the child objects right after the insert completes.  When I debug,
the parent object's ID column is not populated.  And this is the exception I
get:

org.springframework.orm.jpa.JpaSystemException: The transaction has been
rolled back.  See the nested exceptions for details on the errors that
occurred.; nested exception is <openjpa-1.0.2-r420667:627158 fatal general
error> org.apache.openjpa.persistence.PersistenceException: The transaction
has been rolled back.  See the nested exceptions for details on the errors
that occurred.
Caused by: <openjpa-1.0.2-r420667:627158 fatal general error>
org.apache.openjpa.persistence.PersistenceException: The transaction has
been rolled back.  See the nested exceptions for details on the errors that
occurred.
    at org.apache.openjpa.kernel.BrokerImpl.newFlushException(
BrokerImpl.java:2108)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: <openjpa-1.0.2-r420667:627158 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Missing key in
referenced table for referential constraint (
ins.fkappli_applicantid_language). {prepstmnt 32170335 INSERT INTO
apcnt_lang_tbl (apcnt_id, lang_cd, crt_dttm, fst_lang_flg, loc_nbr,
lst_upd_dttm, lst_updd_by_txt, spkng_only_prfcy_flg, wrtn_only_prfcy_flg)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [params=(int) 0, (String) en, (Timestamp)
2008-02-29 14:16:28.913, (null) null, (double) 9848.0, (Timestamp)
2008-02-29 14:16:28.913, (String) 8892, (null) null, (null) null]}
[code=-691, state=23000]
FailedObject:
com.circuitcity.instantcredit.services.persistance.domain.ApplicantLanguageTbl@41647f
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3944)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:67)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:108)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flushGraph(
ConstraintUpdateManager.java:350)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:96)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    ... 42 more
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing key in
referenced table for referential constraint (
ins.fkappli_applicantid_language). {prepstmnt 32170335 INSERT INTO
apcnt_lang_tbl (apcnt_id, lang_cd, crt_dttm, fst_lang_flg, loc_nbr,
lst_upd_dttm, lst_updd_by_txt, spkng_only_prfcy_flg, wrtn_only_prfcy_flg)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [params=(int) 0, (String) en, (Timestamp)
2008-02-29 14:16:28.913, (null) null, (double) 9848.0, (Timestamp)
2008-02-29 14:16:28.913, (String) 8892, (null) null, (null) null]}
[code=-691, state=23000]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:192)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:858)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    ... 49 more
NestedThrowables:
<openjpa-1.0.2-r420667:627158 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Missing key in
referenced table for referential constraint (
ins.fkappli_applicantid_identity). {prepstmnt 5003359 INSERT INTO
apcnt_id_tbl (apcnt_id, id_typ_cd, actv_flg, crt_dttm, loc_nbr,
lst_upd_dttm, lst_updd_by_txt, pers_id_exp_dt, pers_id_isue_dt, pers_id_txt,
issg_st_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [params=(int) 0,
(String) D, (String) Y, (Timestamp) 2008-02-29 14:16:28.913, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (Date) 2010-01-01,
(Date) 2001-01-01, (String) T55-55-5555, (String) VA]} [code=-691,
state=23000]
FailedObject:
com.circuitcity.instantcredit.services.persistance.domain.ApplicantIdentityTbl@1843ca4
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3944)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:67)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:108)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flushGraph(
ConstraintUpdateManager.java:350)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:96)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing key in
referenced table for referential constraint (
ins.fkappli_applicantid_identity). {prepstmnt 5003359 INSERT INTO
apcnt_id_tbl (apcnt_id, id_typ_cd, actv_flg, crt_dttm, loc_nbr,
lst_upd_dttm, lst_updd_by_txt, pers_id_exp_dt, pers_id_isue_dt, pers_id_txt,
issg_st_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [params=(int) 0,
(String) D, (String) Y, (Timestamp) 2008-02-29 14:16:28.913, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (Date) 2010-01-01,
(Date) 2001-01-01, (String) T55-55-5555, (String) VA]} [code=-691,
state=23000]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:192)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:858)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    ... 49 more
NestedThrowables:
java.sql.SQLException: Missing key in referenced table for referential
constraint (ins.fkappli_applicantid_identity).
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3243)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3556)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flushGraph(
ConstraintUpdateManager.java:350)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:96)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3561)
    ... 60 more
java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3247)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3560)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flushGraph(
ConstraintUpdateManager.java:350)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:96)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
<openjpa-1.0.2-r420667:627158 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 19856638 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) autoLoan, (null) null, (null) null, (Timestamp)
2008-02-29 14:16:28.913, (null) null, (double) 9848.0, (Timestamp)
2008-02-29 14:16:28.913, (String) 8892, (null) null]} [code=-691,
state=23000]
FailedObject:
com.circuitcity.instantcredit.services.persistance.domain.CreditAccountDetailTbl@11126f6
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3944)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:67)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:108)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 19856638 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) autoLoan, (null) null, (null) null, (Timestamp)
2008-02-29 14:16:28.913, (null) null, (double) 9848.0, (Timestamp)
2008-02-29 14:16:28.913, (String) 8892, (null) null]} [code=-691,
state=23000]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:192)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:858)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    ... 49 more
NestedThrowables:
java.sql.SQLException: Missing key in referenced table for referential
constraint (ins.fkcracc_apcntid).
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3243)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3556)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3561)
    ... 60 more
java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3247)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3560)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
<openjpa-1.0.2-r420667:627158 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 23699909 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) savingsAccount, (null) null, (null) null,
(Timestamp) 2008-02-29 14:16:28.913, (null) null, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (null) null]}
[code=-691, state=23000]
FailedObject:
com.circuitcity.instantcredit.services.persistance.domain.CreditAccountDetailTbl@b173c3
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3944)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:67)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:108)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 23699909 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) savingsAccount, (null) null, (null) null,
(Timestamp) 2008-02-29 14:16:28.913, (null) null, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (null) null]}
[code=-691, state=23000]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:192)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:858)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    ... 49 more
NestedThrowables:
java.sql.SQLException: Missing key in referenced table for referential
constraint (ins.fkcracc_apcntid).
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3243)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3556)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3561)
    ... 60 more
java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3247)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3560)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
<openjpa-1.0.2-r420667:627158 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 11648642 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) checkingAccount, (null) null, (null) null,
(Timestamp) 2008-02-29 14:16:28.913, (null) null, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (null) null]}
[code=-691, state=23000]
FailedObject:
com.circuitcity.instantcredit.services.persistance.domain.CreditAccountDetailTbl@98b13b
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3944)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:67)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:108)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 11648642 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) checkingAccount, (null) null, (null) null,
(Timestamp) 2008-02-29 14:16:28.913, (null) null, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (null) null]}
[code=-691, state=23000]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:192)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:858)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    ... 49 more
NestedThrowables:
java.sql.SQLException: Missing key in referenced table for referential
constraint (ins.fkcracc_apcntid).
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3243)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3556)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3561)
    ... 60 more
java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3247)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3560)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
<openjpa-1.0.2-r420667:627158 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Missing key in
referenced table for referential constraint (
ins.fkappli_applicantid_signature). {prepstmnt 6000268 INSERT INTO
apcnt_sgntr_tbl (apcnt_id, sgntr_typ_cd, crt_dttm, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, sgntr) VALUES (?, ?, ?, ?, ?, ?, ?) [params=(int) 0,
(String) appSig, (Timestamp) 2008-02-29 14:16:28.913, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (InputStream)
java.io.ByteArrayInputStream@15264db]} [code=-691, state=23000]
FailedObject:
com.circuitcity.instantcredit.services.persistance.domain.ApplicantSignatureTbl@b53b32
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3944)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:67)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:108)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing key in
referenced table for referential constraint (
ins.fkappli_applicantid_signature). {prepstmnt 6000268 INSERT INTO
apcnt_sgntr_tbl (apcnt_id, sgntr_typ_cd, crt_dttm, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, sgntr) VALUES (?, ?, ?, ?, ?, ?, ?) [params=(int) 0,
(String) appSig, (Timestamp) 2008-02-29 14:16:28.913, (double) 9848.0,
(Timestamp) 2008-02-29 14:16:28.913, (String) 8892, (InputStream)
java.io.ByteArrayInputStream@15264db]} [code=-691, state=23000]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:192)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:858)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    ... 49 more
NestedThrowables:
java.sql.SQLException: Missing key in referenced table for referential
constraint (ins.fkappli_applicantid_signature).
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3243)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3556)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3561)
    ... 60 more
java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3247)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3560)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
<openjpa-1.0.2-r420667:627158 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 1923341 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) otherLoan, (null) null, (null) null, (Timestamp)
2008-02-29 14:16:28.913, (null) null, (double) 9848.0, (Timestamp)
2008-02-29 14:16:28.913, (String) 8892, (null) null]} [code=-691,
state=23000]
FailedObject:
com.circuitcity.instantcredit.services.persistance.domain.CreditAccountDetailTbl@1e6cf07
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3944)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:67)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:108)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing key in
referenced table for referential constraint (ins.fkcracc_apcntid).
{prepstmnt 1923341 INSERT INTO cr_acct_dtl_tbl (apcnt_id, cr_acct_typ_cd,
apr, crlmt_nbr, crt_dttm, eff_beg_dt, loc_nbr, lst_upd_dttm,
lst_updd_by_txt, prod_typ_cd) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[params=(int) 0, (String) otherLoan, (null) null, (null) null, (Timestamp)
2008-02-29 14:16:28.913, (null) null, (double) 9848.0, (Timestamp)
2008-02-29 14:16:28.913, (String) 8892, (null) null]} [code=-691,
state=23000]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:192)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:858)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    ... 49 more
NestedThrowables:
java.sql.SQLException: Missing key in referenced table for referential
constraint (ins.fkcracc_apcntid).
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3243)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3556)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
Caused by: java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3561)
    ... 60 more
java.sql.SQLException: ISAM error: no record found.
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:398)
    at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3247)
    at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3560)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2382)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2298)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:770)
    at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:293)
    at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1269)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(
IfxPreparedStatement.java:410)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate
(LoggingConnectionDecorator.java:856)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate
(DelegatingPreparedStatement.java:269)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate
(JDBCStoreManager.java:1363)
    at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(
PreparedStatementManagerImpl.java:97)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(
PreparedStatementManagerImpl.java:73)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:543)
    at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(
ConstraintUpdateManager.java:105)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:89)
    at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(
AbstractUpdateManager.java:72)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(
JDBCStoreManager.java:514)
    at org.apache.openjpa.kernel.DelegatingStoreManager.flush(
DelegatingStoreManager.java:130)
    at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1955)
    at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1853)
    at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
:1771)
    at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
LocalManagedRuntime.java:81)
    at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1293)
    at org.apache.openjpa.kernel.DelegatingBroker.commit(
DelegatingBroker.java:861)
    at org.apache.openjpa.persistence.EntityManagerImpl.commit(
EntityManagerImpl.java:408)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(
JpaTransactionManager.java:434)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
(AbstractPlatformTransactionManager.java:662)
    at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:632)
    at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:314)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:116)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
(Cglib2AopProxy.java:629)
    at
com.circuitcity.instantcredit.services.impl.CreditApplicationServiceImpl$$EnhancerByCGLIB$$1acc75d7.saveCreditApp
(<generated>)
    at
com.circuitcity.instantcredit.services.test.CreditApplicationTest.testCreditApp
(CreditApplicationTest.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001
(AbstractAnnotationAwareTransactionalTests.java:47)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run
(AbstractAnnotationAwareTransactionalTests.java:113)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest
(AbstractAnnotationAwareTransactionalTests.java:176)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed
(AbstractAnnotationAwareTransactionalTests.java:150)
    at
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare
(AbstractAnnotationAwareTransactionalTests.java:109)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:174)
    at org.springframework.test.jpa.AbstractJpaTests.runBare(
AbstractJpaTests.java:254)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)


And here is the class


package com.circuitcity.instantcredit.services.persistance.domain;

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

import
com.circuitcity.instantcredit.services.persistance.audit.AuditListenter;
import com.circuitcity.instantcredit.services.persistance.audit.Auditable;

/**
 * ApcntTbl entity.
 *
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "apcnt_tbl", uniqueConstraints = {})
@EntityListeners(AuditListenter.class)
@NamedQuery(name="findApplicantByAppId",
  query="SELECT tbl FROM ApplicantTbl tbl WHERE tbl.apcntTypCd = 'A' and
tbl.crAppTbl.appId = :appId")
@SuppressWarnings("serial")
public class ApplicantTbl implements java.io.Serializable, Auditable {

 // Fields

 private Integer apcntId;
 private CreditApplicationTbl crAppTbl;
 private Timestamp crtDttm;
 private Timestamp lstUpdDttm;
 private String FNm;
 private String LNm;
 private String mname;
 private String nmSufxTxt;
 private String apcntTypCd;
 private Date dob;
 private Double grsIncAmt;
 private String nearRltvNmTxt;
 private String nearRltvPhnnbrTxt;
 private String mthrMadnNmTxt;
 private String lstUpddByTxt;
 private Double locNbr;
 private String relToApcntTxt;
 private Set<MailingAddressTbl> mailgAddrTbls = new
HashSet<MailingAddressTbl>(0);
 private Set<ApplicantSignatureTbl> apcntSgntrTbls = new
HashSet<ApplicantSignatureTbl>(0);
 private Set<CreditAccountDetailTbl> crAcctDtlTbls = new
HashSet<CreditAccountDetailTbl>(0);
 private Set<ApplicantLanguageTbl> apcntLangTbls = new
HashSet<ApplicantLanguageTbl>(0);
 private Set<ApplicantEmploymentHistoryTbl> apcntEmptHstTbls = new
HashSet<ApplicantEmploymentHistoryTbl>(
   0);
 private Set<ApplicantIdentityTbl> apcntIdTbls = new
HashSet<ApplicantIdentityTbl>(0);

 // Constructors

 /** default constructor */
 public ApplicantTbl() {
 }

 /** minimal constructor */
 public ApplicantTbl(Integer apcntId, Double locNbr) {
  this.apcntId = apcntId;
  this.locNbr = locNbr;
 }

 /** full constructor */
 public ApplicantTbl(Integer apcntId, CreditApplicationTbl crAppTbl,
Timestamp crtDttm,
   Timestamp lstUpdDttm, String FNm, String LNm, String mname,
   String nmSufxTxt, String apcntTypCd, Date dob, Double grsIncAmt,
   String nearRltvNmTxt, String nearRltvPhnnbrTxt,
   String mthrMadnNmTxt, String lstUpddByTxt, Double locNbr,
   String relToApcntTxt, Set<MailingAddressTbl> mailgAddrTbls,
   Set<ApplicantSignatureTbl> apcntSgntrTbls, Set<CreditAccountDetailTbl>
crAcctDtlTbls,
   Set<ApplicantLanguageTbl> apcntLangTbls,
   Set<ApplicantEmploymentHistoryTbl> apcntEmptHstTbls,
Set<ApplicantIdentityTbl> apcntIdTbls) {
  this.apcntId = apcntId;
  this.crAppTbl = crAppTbl;
  this.crtDttm = crtDttm;
  this.lstUpdDttm = lstUpdDttm;
  this.FNm = FNm;
  this.LNm = LNm;
  this.mname = mname;
  this.nmSufxTxt = nmSufxTxt;
  this.apcntTypCd = apcntTypCd;
  this.dob = dob;
  this.grsIncAmt = grsIncAmt;
  this.nearRltvNmTxt = nearRltvNmTxt;
  this.nearRltvPhnnbrTxt = nearRltvPhnnbrTxt;
  this.mthrMadnNmTxt = mthrMadnNmTxt;
  this.lstUpddByTxt = lstUpddByTxt;
  this.locNbr = locNbr;
  this.relToApcntTxt = relToApcntTxt;
  this.mailgAddrTbls = mailgAddrTbls;
  this.apcntSgntrTbls = apcntSgntrTbls;
  this.crAcctDtlTbls = crAcctDtlTbls;
  this.apcntLangTbls = apcntLangTbls;
  this.apcntEmptHstTbls = apcntEmptHstTbls;
  this.apcntIdTbls = apcntIdTbls;
 }

 // Property accessors
 @Id
 @GeneratedValue(strategy=GenerationType.IDENTITY)
 @Column(name = "apcnt_id", unique = true, nullable = false, insertable =
true, updatable = true)
 public Integer getApcntId() {
  return this.apcntId;
 }

 public void setApcntId(Integer apcntId) {
  this.apcntId = apcntId;
 }

 @ManyToOne(cascade = {}, fetch = FetchType.EAGER)
 @JoinColumn(name = "app_id", unique = false, nullable = true, insertable =
true, updatable = true)
 public CreditApplicationTbl getCrAppTbl() {
  return this.crAppTbl;
 }

 public void setCrAppTbl(CreditApplicationTbl crAppTbl) {
  this.crAppTbl = crAppTbl;
 }

 @Column(name = "crt_dttm", unique = false, nullable = true, insertable =
true, updatable = true, length = 4)
 public Timestamp getCrtDttm() {
  return this.crtDttm;
 }

 public void setCrtDttm(Timestamp crtDttm) {
  this.crtDttm = crtDttm;
 }

 @Column(name = "lst_upd_dttm", unique = false, nullable = true, insertable
= true, updatable = true, length = 4)
 public Timestamp getLstUpdDttm() {
  return this.lstUpdDttm;
 }

 public void setLstUpdDttm(Timestamp lstUpdDttm) {
  this.lstUpdDttm = lstUpdDttm;
 }

 @Column(name = "f_nm", unique = false, nullable = true, insertable = true,
updatable = true, length = 50)
 public String getFNm() {
  return this.FNm;
 }

 public void setFNm(String FNm) {
  this.FNm = FNm;
 }

 @Column(name = "l_nm", unique = false, nullable = true, insertable = true,
updatable = true, length = 50)
 public String getLNm() {
  return this.LNm;
 }

 public void setLNm(String LNm) {
  this.LNm = LNm;
 }

 @Column(name = "mname", unique = false, nullable = true, insertable = true,
updatable = true, length = 50)
 public String getMname() {
  return this.mname;
 }

 public void setMname(String mname) {
  this.mname = mname;
 }

 @Column(name = "nm_sufx_txt", unique = false, nullable = true, insertable =
true, updatable = true, length = 100)
 public String getNmSufxTxt() {
  return this.nmSufxTxt;
 }

 public void setNmSufxTxt(String nmSufxTxt) {
  this.nmSufxTxt = nmSufxTxt;
 }

 @Column(name = "apcnt_typ_cd", unique = false, nullable = true, insertable
= true, updatable = true, length = 10)
 public String getApcntTypCd() {
  return this.apcntTypCd;
 }

 public void setApcntTypCd(String apcntTypCd) {
  this.apcntTypCd = apcntTypCd;
 }

 @Temporal(TemporalType.DATE)
 @Column(name = "dob", unique = false, nullable = true, insertable = true,
updatable = true, length = 4)
 public Date getDob() {
  return this.dob;
 }

 public void setDob(Date dob) {
  this.dob = dob;
 }

 @Column(name = "grs_inc_amt", unique = false, nullable = true, insertable =
true, updatable = true, precision = 31, scale = 4)
 public Double getGrsIncAmt() {
  return this.grsIncAmt;
 }

 public void setGrsIncAmt(Double grsIncAmt) {
  this.grsIncAmt = grsIncAmt;
 }

 @Column(name = "near_rltv_nm_txt", unique = false, nullable = true,
insertable = true, updatable = true, length = 100)
 public String getNearRltvNmTxt() {
  return this.nearRltvNmTxt;
 }

 public void setNearRltvNmTxt(String nearRltvNmTxt) {
  this.nearRltvNmTxt = nearRltvNmTxt;
 }

 @Column(name = "near_rltv_phnnbr_txt", unique = false, nullable = true,
insertable = true, updatable = true, length = 100)
 public String getNearRltvPhnnbrTxt() {
  return this.nearRltvPhnnbrTxt;
 }

 public void setNearRltvPhnnbrTxt(String nearRltvPhnnbrTxt) {
  this.nearRltvPhnnbrTxt = nearRltvPhnnbrTxt;
 }

 @Column(name = "mthr_madn_nm_txt", unique = false, nullable = true,
insertable = true, updatable = true, length = 100)
 public String getMthrMadnNmTxt() {
  return this.mthrMadnNmTxt;
 }

 public void setMthrMadnNmTxt(String mthrMadnNmTxt) {
  this.mthrMadnNmTxt = mthrMadnNmTxt;
 }

 @Column(name = "lst_updd_by_txt", unique = false, nullable = true,
insertable = true, updatable = true, length = 100)
 public String getLstUpddByTxt() {
  return this.lstUpddByTxt;
 }

 public void setLstUpddByTxt(String lstUpddByTxt) {
  this.lstUpddByTxt = lstUpddByTxt;
 }

 @Column(name = "loc_nbr", unique = false, nullable = false, insertable =
true, updatable = true, precision = 4, scale = 255)
 public Double getLocNbr() {
  return this.locNbr;
 }

 public void setLocNbr(Double locNbr) {
  this.locNbr = locNbr;
 }

 @Column(name = "rel_to_apcnt_txt", unique = false, nullable = true,
insertable = true, updatable = true, length = 100)
 public String getRelToApcntTxt() {
  return this.relToApcntTxt;
 }

 public void setRelToApcntTxt(String relToApcntTxt) {
  this.relToApcntTxt = relToApcntTxt;
 }

 @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, mappedBy
= "apcntTbl")
 public Set<MailingAddressTbl> getMailgAddrTbls() {
  return this.mailgAddrTbls;
 }

 public void setMailgAddrTbls(Set<MailingAddressTbl> mailgAddrTbls) {
  this.mailgAddrTbls = mailgAddrTbls;
 }

 @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, mappedBy
= "apcntTbl")
 public Set<ApplicantSignatureTbl> getApcntSgntrTbls() {
  return this.apcntSgntrTbls;
 }

 public void setApcntSgntrTbls(Set<ApplicantSignatureTbl> apcntSgntrTbls) {
  this.apcntSgntrTbls = apcntSgntrTbls;
 }

 @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, mappedBy
= "apcntTbl")
 public Set<CreditAccountDetailTbl> getCrAcctDtlTbls() {
  return this.crAcctDtlTbls;
 }

 public void setCrAcctDtlTbls(Set<CreditAccountDetailTbl> crAcctDtlTbls) {
  this.crAcctDtlTbls = crAcctDtlTbls;
 }

 @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, mappedBy
= "apcntTbl")
 public Set<ApplicantLanguageTbl> getApcntLangTbls() {
  return this.apcntLangTbls;
 }

 public void setApcntLangTbls(Set<ApplicantLanguageTbl> apcntLangTbls) {
  this.apcntLangTbls = apcntLangTbls;
 }

 @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, mappedBy
= "apcntTbl")
 public Set<ApplicantEmploymentHistoryTbl> getApcntEmptHstTbls() {
  return this.apcntEmptHstTbls;
 }

 public void setApcntEmptHstTbls(Set<ApplicantEmploymentHistoryTbl>
apcntEmptHstTbls) {
  this.apcntEmptHstTbls = apcntEmptHstTbls;
 }

 @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, mappedBy
= "apcntTbl")
 public Set<ApplicantIdentityTbl> getApcntIdTbls() {
  return this.apcntIdTbls;
 }

 public void setApcntIdTbls(Set<ApplicantIdentityTbl> apcntIdTbls) {
  this.apcntIdTbls = apcntIdTbls;
 }

}
Thoughts?


-- 
Ron DiFrango
Blog (www.captech-soa.blogspot.com)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message