[Seasar-user:10264] [DBFlute] OracleでIllegalStateException
Junichi Kato
[E-MAIL ADDRESS DELETED]
2007年 9月 3日 (月) 11:30:26 JST
加藤です.
Oracle9iで,DBFlute 0.5.5を使おうとしているのですが,BhvからselectEntity
を呼び出すと以下のような例外が発生しました.
原因としては,何が,考えられるでしょうか?
よろしくお願いいたします.
java.lang.IllegalStateException: The baseBmd.GetRelationPropertyType(2)
returned null: baseBmd.getTableName()=USER_ACCOUNT_MASTER:
baseBmd.getRelationPropertyTypeSize()=86
at hogehoge.common.dbflute.allcommon.s2dao.S2DaoMetaDataExtension.setupRelationSelectClause(S2DaoMetaDataExtension.java:225)
at hogehoge.common.dbflute.allcommon.s2dao.S2DaoMetaDataExtension.setupRelationSelectClause(S2DaoMetaDataExtension.java:249)
at hogehoge.common.dbflute.allcommon.s2dao.S2DaoMetaDataExtension.getSelectClause(S2DaoMetaDataExtension.java:213)
at hogehoge.common.dbflute.allcommon.s2dao.S2DaoMetaDataExtension.setupNonQuerySelectMethodByDto(S2DaoMetaDataExtension.java:170)
at org.seasar.dao.impl.DaoMetaDataImpl.setupNonQuerySelectMethodByAuto(DaoMetaDataImpl.java:648)
at org.seasar.dao.impl.DaoMetaDataImpl.setupSelectMethodByAuto(DaoMetaDataImpl.java:622)
at org.seasar.dao.impl.DaoMetaDataImpl.setupMethodByAuto(DaoMetaDataImpl.java:331)
at hogehoge.common.dbflute.allcommon.s2dao.S2DaoMetaDataExtension.setupMethodByAuto(S2DaoMetaDataExtension.java:103)
at org.seasar.dao.impl.DaoMetaDataImpl.setupMethod(DaoMetaDataImpl.java:193)
at org.seasar.dao.impl.DaoMetaDataImpl.setupMethodByInterfaces(DaoMetaDataImpl.java:284)
at org.seasar.dao.impl.DaoMetaDataImpl.setupMethod(DaoMetaDataImpl.java:180)
at org.seasar.dao.impl.DaoMetaDataImpl.setupMethod(DaoMetaDataImpl.java:166)
at hogehoge.common.dbflute.allcommon.s2dao.S2DaoMetaDataExtension.getSqlCommand(S2DaoMetaDataExtension.java:133)
at hogehoge.common.dbflute.allcommon.s2dao.S2DaoInterceptor.invoke(S2DaoInterceptor.java:71)
at hogehoge.common.dbflute.exdao.AdministratorMasterDao$$EnhancedByS2AOP$$19b6225$$MethodInvocation$$selectList8.proceed(MethodInvocationClassGenerator.java)
at hogehoge.common.dbflute.exdao.AdministratorMasterDao$$EnhancedByS2AOP$$19b6225.selectList(AdministratorMasterDao$$EnhancedByS2AOP$$19b6225.java)
at hogehoge.common.dbflute.bsbhv.BsAdministratorMasterBhv.delegateSelectList(BsAdministratorMasterBhv.java:251)
at hogehoge.common.dbflute.bsbhv.BsAdministratorMasterBhv.selectList(BsAdministratorMasterBhv.java:468)
at hogehoge.common.dbflute.bsbhv.BsAdministratorMasterBhv.selectEntity(BsAdministratorMasterBhv.java:390)
at hogehoge.common.dbflute.exbhv.AdministratorMasterBhv.selectEntityByAdministratorCode(AdministratorMasterBhv.java:71)
at hogehoge.common.dbflute.exbhv.AdministratorMasterBhv.selectEntityByAdministratorCode(AdministratorMasterBhv.java:61)
at hogehoge.common.dbflute.exbhv.AdministratorMasterBhvTest.testSelectEntityByAdministratorCode(AdministratorMasterBhvTest.java:21)
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 org.seasar.framework.unit.S2TestMethodRunner.executeMethodBody(S2TestMethodRunner.java:673)
at org.seasar.framework.unit.S2TestMethodRunner.executeMethod(S2TestMethodRunner.java:648)
at org.seasar.framework.unit.S2TestMethodRunner.runTest(S2TestMethodRunner.java:614)
at org.seasar.framework.unit.S2TestMethodRunner.runMethod(S2TestMethodRunner.java:253)
at org.seasar.framework.unit.S2TestMethodRunner.run(S2TestMethodRunner.java:171)
at org.seasar.framework.unit.S2TestClassMethodsRunner.invokeTestMethod(S2TestClassMethodsRunner.java:227)
at org.seasar.framework.unit.S2TestClassMethodsRunner.run(S2TestClassMethodsRunner.java:89)
at org.seasar.framework.unit.S2TestClassRunner.run(S2TestClassRunner.java:47)
at org.seasar.framework.unit.Seasar2.run(Seasar2.java:168)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
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)
───────────────────────────────
株式会社 グランテック
代表取締役社長
加藤 潤一 Junichi Kato
〒154-0012
東京都世田谷区駒沢2-16-1 サンドー駒沢ビル4F
TEL 050-5538-2383 FAX 03-3487-7211
HP : http://www.grandtech.jp/
BLOG : http://d.hatena.ne.jp/j5ik2o/
E-MAIL : [E-MAIL ADDRESS DELETED]
Seasar-user メーリングリストの案内