[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2319?page=c...
]
radhakrishna commented on HHH-2319:
-----------------------------------
We need to have an interceptor for stateless session especially when statelessSession is
so powerful during bulk insert/updates.
StatelessInterceptor
--------------------
Key: HHH-2319
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2319
Project: Hibernate Core
Issue Type: New Feature
Components: core
Affects Versions: 3.2.1
Reporter: Max Rydahl Andersen
It would make sense to have an Interceptor for StatelessSession to solve the following
usecases:
Log/adjust SQL: onPrepareStatement
Proper entityname handling: instantiate/getEntity
Maybe also tx interaction:
afterTransationBegin/beforeTransactionCompletion/afterTransactionCompletion
Technically it could be solved by just allowing to pass in a normal interceptor to a
StatelessSession and just
document that the state oriented callbacks will not be called. Alternatively we can
create a StatelessInterceptor that
only implement the releavant methods and wrap that instance into an internal Interceptor.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira