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