Error trying to save some data to a data base, using an spring manager class from a listening class
posted 7 years ago
I'm trying to save some data related to an user in a database when login, using a spring-hibernate manager. I am using a class that implements HttpSessionAttributeListener, to add the data, and to increment a users connected counter:
The method returns an error:
Even the program never reach the method getClientData() in the UserDataManager (it isn't appear in the log)
What i am doing wrong? May be, it's not possible to access to a spring-hibernate manager from a Listener?