Hibernate version:
2.x
Name and version of the database used:
postgresql 7.2
I use to retrieve data from db with this class:
http://phpfi.com/64766
to handle the Session I use this one:
http://phpfi.com/64768
Everything works perfectly. When I try to get something from the database, something unuderstandable occurs:
I have a session that:
is connected (mySession.isConnected() == true)
is open (mySession.isOpen() == true)
but as soon as I try this:
PureTypological toUpdate=(PureTypological)mySession.get(PureTypological.class,new Long(id));
I get a null pointer exception I can't understand! No one of the objects used is null, and get should return null if no object is found on db.
Every thing I tried to retrieve data in that class failed.
I hope is not something stupid, I'm on this since many hours and I didn't find any solution...
Thanks for helping
L.