かとじゅんの技術日誌

技術の話をするところ

Baoで例外

DBFluteと,S2Buriを組み合わせてみました.

「bz.hoge.hoge.common.dbflute.exentity.AlbumでInsertが必要です」となっています.

AlbumDao,AlbumはDBFluteで自動生成したもので,dbflute.diconに直接component定義しています.
また,AlbumApplyBaoは,dtoClass = Album.classとしています.

何か使い方的に間違っているところありますでしょうか?


DEBUG 2007-10-04 12:23:45,657 [http-8080-Processor25] BEGIN bz.hoge.hoge.web.bao.AlbumApplyBao#putIn({0,SSQI7430SLBK3205,null,47,N,8,8,2007-10-04 12:23:43.083,2007-10-04 12:23:43.083,0})
DEBUG 2007-10-04 12:23:45,667 [http-8080-Processor25] END bz.hoge.hoge.web.bao.AlbumApplyBao#putIn({0,SSQI7430SLBK3205,null,47,N,8,8,2007-10-04 12:23:43.083,2007-10-04 12:23:43.083,0}) Throwable:org.seasar.buri.exception.BuriDataFieldErrorException: [EBRI0001]DataField bz.hoge.hoge.common.dbflute.exentity.AlbumでInsertが必要です
DEBUG 2007-10-04 12:23:49,498 [http-8080-Processor25] トランザクションロールバックしました。tx={0}
DEBUG 2007-10-04 12:23:49,498 [http-8080-Processor25] END bz.hoge.hoge.web.web.account.AccountArtistCreateAlbumPage#doOnceUpdate() Throwable:org.seasar.buri.exception.BuriDataFieldErrorException: [EBRI0001]DataField bz.hoge.hoge.common.dbflute.exentity.AlbumでInsertが必要です
DEBUG 2007-10-04 12:23:49,498 [http-8080-Processor25] [EBRI0001]DataField bz.hoge.hoge.common.dbflute.exentity.AlbumでInsertが必要です
org.seasar.buri.exception.BuriDataFieldErrorException: [EBRI0001]DataField bz.hoge.hoge.common.dbflute.exentity.AlbumでInsertが必要です
at org.seasar.buri.compiler.util.impl.rules.DataAccessorProcRule.finishCheck(DataAccessorProcRule.java:39)
at org.seasar.buri.compiler.util.impl.BuriDataFieldCompilePreprocessorImpl.finishProcess(BuriDataFieldCompilePreprocessorImpl.java:53)
at org.seasar.buri.compiler.util.impl.BuriDataFieldCompilePreprocessorImpl.checkDataAccess(BuriDataFieldCompilePreprocessorImpl.java:46)
at org.seasar.buri.compiler.util.impl.BuriDataFieldCompilePreprocessorImpl.preprocess(BuriDataFieldCompilePreprocessorImpl.java:32)
at org.seasar.buri.dataaccess.impl.BuriDataAccessScriptFactoryImpl.getDataAccessUtil(BuriDataAccessScriptFactoryImpl.java:25)
at org.seasar.buri.dataaccess.impl.BuriDataAccessFactoryImpl.getChildDataAccessUtil(BuriDataAccessFactoryImpl.java:67)
at org.seasar.buri.dataaccess.impl.BuriDataAccessFactoryImpl.getDataAccessUtil(BuriDataAccessFactoryImpl.java:48)