[jboss-user] [Datasource Configuration] - Re: JAAS LoginModule as source of DB conn creds?

Steve Maring do-not-reply at jboss.com
Fri Oct 21 15:41:21 EDT 2011


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&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111021/d0a63016/attachment.html 


More information about the jboss-user mailing list