-
1. Re: JBoss 3.2.0 and MySQL: auto-inc problem
whywai Apr 13, 2003 10:22 PM (in response to whywai)turns out xdoclet1.2b2 only expects up to jboss3.0.x now, so it still uses the 3.0 dtd files for deployment descriptors, i had to do the following in ant file to make it work (until new release of xdoclet i guess):
-
2. Re: JBoss 3.2.0 and MySQL: auto-inc problem
pup99 Apr 15, 2003 10:12 AM (in response to whywai)whywai, Thanks for the example on how to get this to work, I found it very useful. However I have been having problems with the auto-incrementing stuff in general, but I can't figure out what I am doing wrong. Could you do me a favor and make a zip of an example if you have one I would really appreciate it and I think some others here on the forum would appreciate it too.
Personally I keep having a problem when I try and make a new record I get
transaction.interfaces.BankException: Could not create account, Cause:javax.transaction.TransactionRolledbackException: Internal error setting instance field id; CausedByException is:
null; nested exception is:
javax.ejb.EJBException: Internal error setting instance field id; CausedByException is: null
Any help U could give as an example ect would be appreciated.
Thanks,
Pup -
3. Re: JBoss 3.2.0 and MySQL: auto-inc problem
vc.20 Apr 24, 2003 10:02 PM (in response to whywai)Hi whywai,
i have no idea in which build.xml file from the source code directorys i have to put these lines in. And not at which position in this file. Can you give me a hand.
i have another Question :Do you have an idea how to get along with BIGINT AUTO-INCREMENT converting to "java LONG" with
<entity-command name="mysql-get-generated-keys"/> without getting a classcast-Exception by the selfgenerated getId ?
Thanx vc.20