[jboss-user] [EJB 3.0] - Re: Dynamic jdbc connection

2007-05-08 Thread dibell
I haven't found a simple solution for this (though I still feel that one is out there). I have fallen back to using Hibernate Annotations and will handle the connection/session and transactions myself. Shame - session beans would have been nice. View the original post : http://www.jboss.com/i

[jboss-user] [EJB 3.0] - Dynamic jdbc connection

2007-05-03 Thread dibell
Is there any way of programmatically configuring the JDBC connection associated with a persistence unit? Specifically the username and password. I would like to use EJB3 entities in a client application and the user login is the login to the database. I thought about dynamically binding a Datas