This content has been marked as final.
Show 3 replies
-
1. Re: ejbPostCreate not called when using auto-increment (JBos
damencho Apr 23, 2003 3:51 AM (in response to sczadzeck)I have a problem runnig autoincrement in JBoss and mySQL can you give me a clue or some example
10 in advance -
2. Re: ejbPostCreate not called when using auto-increment (JBos
sczadzeck Apr 23, 2003 10:30 AM (in response to sczadzeck)What kind of problem are you having? It was pretty easy to get it working for me. I'm running JBoss 3.2.0, MySQL 4.0 and using XDoclet 1.2-beta2. My bean is using CMP. I simply added the @jboss-persistent auto-increment="true" tag to my primary key method and it worked (accept for the problem I'm having of the ejbPostCreate() method not being called).
If you need more details let me know.
Good luck,
Scott -
3. Re: ejbPostCreate not called when using auto-increment (JBos
sczadzeck Apr 23, 2003 11:02 AM (in response to sczadzeck)Another thing that I had to do was add the following code to my build file:
Scott