hi guys,

i have 2 q:

1. I can get and set Interceptor for Configuration(which is common for the
sesion Factory). Now I need to get Interceptor for a session, but there
is no method getInteresptor to get the Interceptor for a given
Session! How can i get the Interceptor for a session?

2. I want to extend SessionImpl class in order to add 2 methods.
I recompiled the source for SessionImpl(because it is final) and everything is OK, BUT 
when
I tried to extend the SessionImpl class there are the following
strange errors:

"CosmosSessionImpl.java": cannot resolve symbol: constructor SessionImpl ()in class 
net.sf.hibernate.impl.SessionImpl at line 35, column 1
"CosmosSessionImpl.java": Object() in java.lang.Object is not defined in a public 
class or interface; cannot be accessed from outside package at line 35, column 1

  

-- 
Best regards,
 Nikolay                          mailto:[EMAIL PROTECTED]




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to