This one time, at band camp, Mickael Guessant said:
MG>When using db2 sequences, the SYSIBM.SYSDUMMY1 table should be
MG>used (one row table, same as DUAL in Oracle).
MG>
MG>SequenceKeyGenerator diff :
MG>
MG>src/main/org/exolab/castor/jdo/drivers/SequenceKeyGenerator.java
MG>176c176
MG>< stmt = conn.prepareStatement("SELECT nextval FOR \"" +
MG>seqName + "\" FROM " + table);
MG>---
MG>> stmt = conn.prepareStatement("SELECT nextval FOR " + seqName + "
FROM SYSIBM.SYSDUMMY1");
MG>
MG>I submitted this in bugzilla (Bug 972)
Mickael,
I'll look at it as soon as I can. BTW, I really appreciate all your
contributions lately.
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev