gaiaresources / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
1 stars 4 forks source link

Hibernate Session handling has a loophole to bypass wrapped session. #251

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call newTx from the Request Context Holder

What is the expected output? What do you see instead?
1. Expect to get another wrapped session object which includes the portal 
filters, instead get a raw hibernate session

What version of the product are you using? On what operating system?
HEAD

Please provide any additional information below.
Need to guard call to getSessionFactory so that it returns the correct wrapped 
session factory

Original issue reported on code.google.com by ajones17...@gmail.com on 9 May 2012 at 6:14