[DAO-1] [Seasar-user:3711]IDアノテーションのSEQUENCEで作成されたIDがINSERT文に含まれない Created: 2006-05-31 Updated: 2006-05-31 Resolved: 2006-05-31 |
|
Status: | Resolved |
Project: | S2Dao |
Component/s: | s2dao |
Affects Version/s: | 1.0.34 |
Fix Version/s: | 1.0.35 |
Type: | Bug | Priority: | Major |
Reporter: | manhole | Assignee: | manhole |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
PostgreSQL7.4とS2Dao(1.0.33, 1.0.34のどちらか) |
Description |
PostgreSQL7.4とS2Daoを利用して開発しています。 SEQUENCEから採番する前にINSERT文を作成しているのが原因だと思われます。 |
Comments |
Comment by manhole [ 2006-05-31 ] |
SEQUENCEでidを採番する場合に、Beanのidの型がIntegerの場合に idがIntegerの場合にもINSERT文にidを含めるように修正しました。 |