JBoss Community

Re: jboss7 quickstarts entitymanager injection question

created by Stuart Douglas in JBoss AS7 Development - View the full discussion

Persistence units (i.e. EntityManagers) are defined in persistence.xml, having a datasource present does not automatically create a corresponding EntityManager. The connection to use is specified in persistence.xml.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community