Hibernate version: 3
Hi,
I'd like to verify that a user can log into the Oracle database before they can use the application. I would like to use their Oracle user name and password for the verification. In VB, I would write something like:
Code:
ConnectString = "Server=" & m_dataSource & ";uid=" & m_userid & ";pwd=" & m_password
conn = New OracleClient.OracleConnection(ConnectString)
However, since hibernate handles the connections for (very nicely) I am not sure how I can verify if a user has a access to the Oracle database.
Does hibernate provide a way to connect programatically? How so?
If not, does it provide a way to dynamically change the user parameters programatically? How so?
Thank you,
Marc