Originally posted by omkar: i want to know how we can use MBean in hibernate Annotation.
Could you please tell us more about what you are trying to do? That will help us in pointing you to the right examples.
Joined: Dec 17, 2006
i have to use mbean with hibernate annotation in my project,basicaly i have used mbean with hibernate core in the same project.which is to be changed on hibernate annotation and mbean. the project is based on struts.
1 i have created har file which contains jboss-service.xml and hibernate-ds.xml
above is my jboss-service.xml
above is my hibernateannotation-ds.xml
This is my POJO class
This is my servlet which Access the database through JNDI
the error which is comming is
i think that ihave to configure the pojo but how i could do because i am getting the sessionfectory object through