I have a problem runnig autoincrement in JBoss and mySQL can you give me a clue or some example
10 in advance
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.
Another thing that I had to do was add the following code to my build file: