ninada / full-hibernate-plugin-for-struts2

Automatically exported from code.google.com/p/full-hibernate-plugin-for-struts2
1 stars 0 forks source link

Thread-safe session injection #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I'm trying to implement a singleton DAO object within hibernate and struts2 
by using your plugin. Looking through some examples, i think your plugin use 
setter method and java reflection to do injection. i'm wondering is it 
thread-safe? Since in a webapplication(typically, multithreaded), each setter 
method will modify my DAO singleton's session object. Plz, help answering my 
questions. thx

Original issue reported on code.google.com by shalunha...@gmail.com on 15 Mar 2012 at 9:12