Why you put hibernate-jpa-2.0 jar into the lib directory. The JBoss supports hibernate and jpa (maybe not 2.0) and it might conflict with it.
Do you must use jpa2.0??
- > Initially i thought that JPA annotations are only supported in Jpa 2.0 hence i put that jar in my lib folder. now i have removed it and annotations works..
Work sometimes sounds to me like a transaction rollback ... do you see any in the logfiles?
- > No i didn't get any rollback exceptions......
Why and what do you use instead of 6.0 when it works with it?
- > we have planned to setup JBoss5.1.0 enterprise edition on production server since Jboss does not give production support on version 6.0 or later...