Expert |
|
Joined: Tue Nov 23, 2004 7:00 pm Posts: 570 Location: mostly Frankfurt Germany
|
Hello,
I am implementing my own ThreadLocalSessionContext handler and came across an issue.
When you want to implement a new class extending the CleanUpSynch, it is not possible to access the factory. The factory attribute is privat.
I suggest to make the factory attribute protected to have access to it from subclasses.
Please tell me if I am wrong or if I overlooked something.
Best Regards
Sebastian
Hibernate version:
3.1
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
_________________ Best Regards
Sebastian
---
Training for Hibernate and Java Persistence
Tutorials for Hibernate, Spring, EJB, JSF...
eBook: Hibernate 3 - DeveloperGuide
Paper book: Hibernate 3 - Das Praxisbuch
http://www.laliluna.de
|
|