Steve Maring [
http://community.jboss.org/people/stevemaring] created the discussion
"Re: JAAS LoginModule as source of DB conn creds?"
To view the discussion, visit:
http://community.jboss.org/message/633107#633107
--------------------------------------------------------------
I tried this ....
@PersistenceUnit(name="myPU")
**private** EntityManagerFactory emf;
Properties map = *new* Properties();map.put("hibernate.connection.username",
"myuser"
map.put("hibernate.connection.password", "mypass");
*E#ntityManager* entityManager = emf.createEntityManager(map);
but I got a runtime error of ...
java.sql.SQLException: Invalid Oracle URL specified
which makes me think that it is now ignoring my xa-datasource
);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/633107#633107]
Start a new discussion in Datasource Configuration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]