Quote:
If you're just starting to use Hibernate, I'd recommend using version 3.
I'm using Hibernate version 2 because the project have already started. I have to integrate the standalone part of it with a web interface.
Quote:
As for understanding how to use it with a web application and use versioning, read the reference document. It's quite complete and easy to understand.
But after reading tutorial of version2 I don't understand so much how I must use versioning and what are advantages using it or disadvantages not using it.
And for Hibernate Session I don't understand how could I open and close it. I don't understand if is better an open and a close for each httprequest or for each httpsession. And if the latter is better, where I have to write session.close() code? ...because the user could go away without telling me (the web server).
Probably my questions are stupid questions... in this case I'd like to found a place where read about this problems or understand reading another response.
If you can, help me. thanx...
cloud