Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.0
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs: No appear
Name and version of the database you are using:SqlServer
The generated SQL (show_sql=true): true
Debug level Hibernate log excerpt:
I'm using the JAAS to autentication and autorization of the system. In JAAS's class I'm using the hibernate because I need get the roles in database. Then I have one config file of hibernate to get the roles and the other config file from the principal system. The hibernate load the first config file (config file JAAS), but when the system try access the class of the principal system, the hibernate didn't find the other config file. Therefore, the principal system didn't get anyone object(rows).
How can I use two config files or resolve this problem?