Hi guys! I really hope you can help me.
I have a problem using Seam 2.2FInal and seam-gen.
I had to make some modifications on my database last week, so I ran again seam-gen to update my application.
After running seam-gen, everything works fine, the problem comes when I start again my application on my jboss server, every column or table I erased from it are again there !!!, I don't know what's happening. I actually can see that seam has added some constraints that I did't put there :S
Some parameters on the properties file that seam-gen uses:
Seam is cool.
I just had to change:
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.hbm2ddl.auto" value="validate"/>
in the different persistence.xml that come with the application generated by seam-gen. So my problem was with JPA and not with seam-gen.