persistence.xml
took it pretty much from the tutorial
<persistence >
<persistence-unit name=”ehrEJB_persistence”>
<jta-data-source>postgresDS</jta-data-source>
<properties>
<property name=”hibernate.hbm2ddl.auto”
value=”create-drop”/>
</properties>
</persistence-unit>
</persistence>
but i’m getting this error when i deploy
— MBeans waiting for other MBeans —
ObjectName: persistence.units:unitName=ehrEJB_persistence
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=postgresDS,service=DataSourceBinding
— MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
ObjectName: jboss.jca:name=postgresDS,service=DataSourceBinding
State: NOTYETINSTALLED
Depends On Me:
persistence.units:unitName=ehrEJB_persistence