Goal_Key を持つ 2 つのテーブル Goal と Initiative_Key を持つ Initiative と、Goal_Key と Intiative_Key を含む関連テーブル Goal_Initiative があります。
以下は Table1 からのものです。
@Entity
@Table(name = "GOAL")
@NamedQuery(name = "get_goal",
query = "SELECT goal FROM Goal goal ")
public class Goal {
/** The strategic_ goal_ key. */
@Column(name = "GOAL_KEY")
private String Goal_Key;
/** The strategic_ goal_ name. */
@Column(name = "GOAL_NM")
private String strategic_Goal_Name;
/** The client initiatives. */
@ManyToMany
@JoinTable(name = "goal_initiative", joinColumns = { @JoinColumn(name = "Goal_Key") }, inverseJoinColumns = { @JoinColumn(name = "initiative_Key") })
List<ClientInitiative> initiative = new ArrayList<ClientInitiative>();
以下は表 2 からのもの、つまりイニシアチブです。
/**
* The Class ClientInitiative.
*/
@Entity
@Table(name = "INIITATIVE")
public class ClientInitiative {
/** The initiative_ key. */
@Column(name = "INITIATIVE_KEY")
private String initiative_Key;
/** The initiative_Key_Name. */
@Column(name = "INITIATIVE_KEY_NM")
private String initiative_Key_Name;
@ManyToMany(mappedBy="clientInitiative")
List<StrategicGoal> strategicGoals = new ArrayList<StrategicGoal>();
これは私の実装クラスです
@Repository
public class GoalDAOImpl extends BaseDaoImpl{
@Override
@NamedQueryTarget("get_goal")
public List<Goal> getGoals(String planUnitKey) {
List<Goal> goals = null;
try {
goals = (List<Goal>) getEntityManager()
.createNamedQuery("get_goal").getResultList();
return strategicGoals;
} catch (NoResultException noResult) {
return null;
}
}
これは常にエラーを返します。また、以下のスタック トレースを見つけてください。目標テーブルに ID の列がありません
" Persistence.PersistenceException"
この持続性エラーに行き詰まりました。上記に関する提案。
完全なスタック トレース
org.apache.openjpa.persistence.PersistenceException: DB2 SQL エラー: SQLCODE=-206、SQLSTATE=42703、SQLERRMC=T0.ID、DRIVER=3.52.95 {prepstmnt 1029586270
SELECT t0.id, t0.GOAL_KEY, t0.GOAL_NM
FROM CGSP.GOAL t0
} [code=-206, state=42703]SQLCA OUTPUT[Errp=SQLNQ075, Errd=-2145779603, 0, 0, 0, -10, 0] DB2 SQL エラー: SQLCODE=-206、SQLSTATE=42703、SQLERRMC=T0 .ID、DRIVER=3.52.95 DB2 SQL エラー: SQLCODE=-727、SQLSTATE=56098、SQLERRMC=2;-206;42703;T0.ID、DRIVER=3.52.95 DB2 SQL エラー: SQLCODE=-727、SQLSTATE= 56098、SQLERRMC=2;-206;42703;T0.ID、DRIVER=3.52.95 FailedObject: org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary での目標目標 [java.lang.String] からの目標の選択.java:4827) org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787) org.apache.openjpa.jdbc.sql.DB2Dictionary.newStoreException(DB2Dictionary.java:563) org. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136) org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:118) org.apache.openjpa.jdbc.org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException(SelectResultObjectProvider.java:155) の sql.SQLExceptions.getStore(SQLExceptions.java:70) org.apache.openjpa.lib.rop.EagerResultList.(EagerResultList.java) の:40) org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1246) で org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:1005) で org.apache.openjpa.kernel. QueryImpl.execute(QueryImpl.java:861) org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:792) org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:542) org .apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:288) org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:302) で sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) で sun .org.springframework.orm で java.lang.reflect.Method.invoke(Method.java:611) で sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) で.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:311) at $Proxy49.getResultList(Unknown Source) at com.ibm.sales.cgsp.dao.impl.GoalDAOImpl.getClientStrategicGoals(GoalDAOImpl.java:27) at com. ibm.sales.cgsp.dao.test.ClientStrategicGoalDAOTest.testGetDetails(ClientStrategicGoalDAOTest.java:31) で sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) で、sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) で。 Reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) java.lang.reflect.Method.invoke(Method.java:611) で org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) で org.junit.internal.runners.model. ReflectiveCallable.run(ReflectiveCallable.java:15) の org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) の org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) で org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) で org.springframework org.springframework.test.context.junit4 の .test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)。SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) で org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) で org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) でorg.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java: 42) org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) で org.springframework.test で org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) で。 context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) org.junit.runners.ParentRunner.run(ParentRunner.java:236) org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) で org.eclipse で org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) で.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) org.eclipse.jdt.internal .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner .RemoteTestRunner.main(RemoteTestRunner.java:197) 原因: org.apache.openjpa.lib.jdbc.ReportingSQLException: DB2 SQL エラー: SQLCODE=-206、SQLSTATE=42703、SQLERRMC=T0.ID、DRIVER=3.52.95 {prepstmnt 1029586270 SELECT t0.id、t0.GOAL_KEY, t0.GOAL_NM FROM GOAL t0 } [code=-206, state=42703] at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:257) at org.apache.openjpa.lib.jdbc .LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:241) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:70) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement. executeQuery(LoggingConnectionDecorator.java:1063) org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:278) org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeQuery(JDBCStoreManager.java: 1731) org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement で。org.apache.openjpa.jdbc.sql.SelectImpl.executeQuery(SelectImpl.java:471) で executeQuery(DelegatingPreparedStatement.java:268) org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:396) でorg.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:363) で org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(LogicalUnion.java:427) で org.apache.openjpa org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open の .jdbc.sql.LogicalUnion.execute(LogicalUnion.java:230) org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:220) (SelectResultObjectProvider.java:94) at org.apache.openjpa.lib.rop.EagerResultList.(EagerResultList.java:34) ... 43 さらにネストされたThrowables: com.ibm.db2.jcc.a.nn: DB2 SQL エラー: SQLCODE=-206、SQLSTATE=42703、SQLERRMC=T0.ID、DRIVER=3.52.95 (com.ibm)。com.ibm.db2.jcc.a.ad.a(ad.java:60) の db2.jcc.a.ad.a(ad.java:666) com.ibm.db2.jcc.a.ad. a(ad.java:127) at com.ibm.db2.jcc.a.rl.c(rl.java:2424) at com.ibm.db2.jcc.a.rl.d(rl.java:2401) com.ibm.db2.jcc.a.rl.a(rl.java:1902) com.ibm.db2.jcc.t4.db.g(db.java:138) com.ibm.db2.jcc .t4.db.a(db.java:38) at com.ibm.db2.jcc.t4.ta(t.java:32) at com.ibm.db2.jcc.t4.sb.h(sb.java) :141) com.ibm.db2.jcc.a.rl.Y(rl.java:1873) com.ibm.db2.jcc.a.sl.bc(sl.java:2526) com.ibm. com.ibm.db2.jcc.a.sl.Ob(sl.java:569) の com.ibm.db2.jcc.a.sl の db2.jcc.a.sl.e(sl.java:3227)。 org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:280) の executeQuery(sl.java:543)LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeQuery(LoggingConnectionDecorator.java:1061) org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:278) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement. org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:268) で executeQuery(JDBCStoreManager.java:1731) org.apache.openjpa.jdbc.sql.SelectImpl.executeQuery(SelectImpl.java:471) でorg.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:396) で org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:363) で org.apache.openjpa.jdbc .sql.LogicalUnion$UnionSelect.execute(LogicalUnion.java:427) org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:230) org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:220) で org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:94) で org.apache .openjpa.lib.rop.EagerResultList.(EagerResultList.java:34) org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1246) org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl. java:1005) org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:861) org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:792) org.apache.openjpa.kernel .DelegatingQuery.execute(DelegatingQuery.java:542) で org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:288) で org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:302) でsun.reflect.NativeMethodAccessorImpl.java.lang.reflect.Method.invoke(Method.java: 611) org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:311) で $Proxy49.getResultList(不明なソース) で com.ibm.sales.cgsp.dao.impl.GoalDAOImpl.getClientStrategicGoals(GoalDAOImpl) .java:27) で com.ibm.sales.cgsp.dao.test.ClientStrategicGoalDAOTest.testGetDetails(ClientStrategicGoalDAOTest.java:31) で sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) で sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl) .java:60) で sun.reflect.DelegatingMethodAccessorImpl.java.lang.reflect.Method.invoke(Method.java:611) の invoke(DelegatingMethodAccessorImpl.java:37) org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) org.junit. internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) で org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) で org.junit.internal.runners.statements.InvokeMethod.evaluate( InvokeMethod.java:20) の org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) の org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java: 83) org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) で org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) at org.junit.runners.ParentRunner$3.run(ParentRunner) .java:193) org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) org.junit.runners.ParentRunner.access $000(ParentRunner.java:42) で org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) で org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) でorg.junit.runners.ParentRunner の org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)。run(ParentRunner.java:236) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java: 49) org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) で org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) で org .eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) com.ibm.db2.jcc.a.SqlException: DB2 SQL エラー: SQLCODE=-727、SQLSTATE=56098、SQLERRMC=2;-206;42703 ;T0.ID、DRIVER=3.52.95 at com.ibm.db2.jcc.a.ad.a(ad.java:669) com.ibm.db2.jcc.a.ad.a(ad.java:60) com.ibm.db2.jcc.a.ad.a(ad.java:127) com.ibm .db2.jcc.a.rl.c(rl.java:2424)、com.ibm.db2.jcc.a.rl.d(rl.java:2401)、com.ibm.db2.jcc.a.sl .a(sl.java:2452) の com.ibm.db2.jcc.t4.db.a(db.java:187) の com.ibm.db2.jcc.t4.db.b(db.java:81) ) com.ibm.db2.jcc.t4.tb(t.java:69) で com.ibm.db2.jcc.t4.tb.c(tb.java:224) で com.ibm.db2.jcc で。 a.sl.Yb(sl.java:2443) at com.ibm.db2.jcc.a.sl.bc(sl.java:2527) at com.ibm.db2.jcc.a.sl.e(sl. java:3227) com.ibm.db2.jcc.a.sl.Ob(sl.java:569) で com.ibm.db2.jcc.a.sl.executeQuery(sl.java:543) で org.apache .openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:280) org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeQuery(LoggingConnectionDecorator.java:1061) org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:278) org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeQuery(JDBCStoreManager.java: 1731) org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:268) で org.apache.openjpa.jdbc.sql.SelectImpl.executeQuery(SelectImpl.java:471) で org.apache.openjpa .jdbc.sql.SelectImpl.execute(SelectImpl.java:396) org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:363) org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect .execute(LogicalUnion.java:427) at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:230) at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:220) で org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:94) で org.apache.openjpa.lib.rop.EagerResultList.(EagerResultList.java:34) でorg.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1246) で org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:1005) で org.apache.openjpa.kernel.QueryImpl.execute( QueryImpl.java:861) org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:792) org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:542) org.apache.openjpa .persistence.QueryImpl.execute(QueryImpl.java:288) の org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:302) の sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) の sun.reflect.NativeMethodAccessorImpl .org.springframework.orm.jpa.SharedEntityManagerCreator で java.lang.reflect.Method.invoke(Method.java:611) で sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) で invoke(NativeMethodAccessorImpl.java:60) com.ibm.sales.cgsp.dao.impl.GoalDAOImpl.getClientStrategicGoals(GoalDAOImpl.java:27) の $Proxy49.getResultList(Unknown Source) の $DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:311) com.ibm.sales の。 cgsp.dao.test.ClientStrategicGoalDAOTest.testGetDetails(ClientStrategicGoalDAOTest.java:31) の sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) の sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) の sun.reflect.DelegatingMethodAccessorImpl. java.lang.reflect.Method で (DelegatingMethodAccessorImpl.java:37) を呼び出します。org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) で invoke(Method.java:611) org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) でorg.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) で org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) で org.springframework.test.context.junit4。 org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) での statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) org.springframework.test.context.junit4.statements.SpringRepeat で。 evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) で org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) で org.junit.runners. ParentRunner$1.schedule(ParentRunner.java:52) org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) org.junit .runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements. RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) で org.junit.runners.ParentRunner.run(ParentRunner.java:236) で org.springframework.test.context.junit4。SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) at org.eclipse.jdt.internal.junit.runner.TestExecution.run( TestExecution.java:38) org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java: 683) org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) で org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) com で。 ibm.db2.jcc.a.SqlException: DB2 SQL エラー: SQLCODE=-727、SQLSTATE=56098、SQLERRMC=2;-206;42703;T0.ID、DRIVER=3.52.95 at com.ibm.db2.jcc. a.ad.a(ad.java:669) at com.ibm.db2.jcc.a.ad.a(ad.java:60) at com.ibm.db2.jcc.a.ad.a(ad.java:127) at com.ibm.db2.jcc.a.rl.c(rl.java:2424) at com.ibm.db2.jcc.a.rl.a(rl. java:1929) com.ibm.db2.jcc.t4.db.n(db.java:739) com.ibm.db2.jcc.t4.db.i(db.java:257) com.ibm .db2.jcc.t4.db.c(db.java:52) at com.ibm.db2.jcc.t4.tc(t.java:44) at com.ibm.db2.jcc.t4.sb.i (sb.java:153) com.ibm.db2.jcc.a.rl.ab(rl.java:1924) com.ibm.db2.jcc.a.sl.e(sl.java:3286) com.ibm.db2.jcc.a.sl.Ob(sl.java:569) at com.ibm.db2.jcc.a.sl.executeQuery(sl.java:543) at org.apache.openjpa.lib. org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeQuery(LoggingConnectionDecorator.java:1061) の jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:280) org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeQuery(JDBCStoreManager.java:1731) の executeQuery(DelegatingPreparedStatement.java:278) org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java: 268) org.apache.openjpa.jdbc.sql.SelectImpl.executeQuery(SelectImpl.java:471) で org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:396) で org.apache.openjpa .jdbc.sql.SelectImpl.execute(SelectImpl.java:363) at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(LogicalUnion.java:427) at org.apache.openjpa.jdbc.sql.LogicalUnion .execute(LogicalUnion.java:230) at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:220) at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:94) at org.apache.openjpa.lib.rop.EagerResultList.(EagerResultList.java:34) at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1246) at org. apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:1005) org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:861) org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl. java:792) org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:542) で org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:288) で org.apache.openjpa.persistence .QueryImpl.getResultList(QueryImpl.java:302) の sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) の sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) の sun.reflect.DelegatingMethodAccessorImpl.$Proxy49 で org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:311) で java.lang.reflect.Method.invoke(Method.java:611) で invoke(DelegatingMethodAccessorImpl.java:37)。 com.ibm.sales.cgsp.dao.impl.GoalDAOImpl.getClientStrategicGoals(GoalDAOImpl.java:27) の getResultList(不明なソース) com.ibm.sales.cgsp.dao.test.ClientStrategicGoalDAOTest.testGetDetails(ClientStrategicGoalDAOTest.java:31) ) で sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) で sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) で sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) で java.lang.reflect. org.junit.runners.model.FrameworkMethod$1 の Method.invoke(Method.java:611)。org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) で runReflectiveCall(FrameworkMethod.java:44) org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) で.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) org.springframework.test.context .junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) org.springframework.test.context.junit4.SpringJUnit4ClassRunner org.springframework.test.context.junit4 の .runChild(SpringJUnit4ClassRunner.java:231)。SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) org.junit .runners.ParentRunner.runChildren(ParentRunner.java:191) で org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) で org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) でorg.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit. runners.ParentRunner.run(ParentRunner.java:236) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) で org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) で org .eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)467) org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) で org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) で org .eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)467) org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) で org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) で org .eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)