VJ22 wrote:
it works after I dropped the schema and re-created it......

Any clue why this is like this ?

Changing your classes doesn't magically change the DB. (I think somewhere there is a setting (hibernate.hbm2ddl.auto) that tells Hibernate to update the DB if it starts and finds the DB doesn't match, but I've never tested it.) Not sure what version of appfuse you're using, but if 1.9.x I think there's a "db-update" ant target that might help. I usually just drop and recreate, though. (I think JPA might imply you're using 2.0, so ignore the ant suggestion.)

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to