This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Answer

 
Juan Porras Antonio
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I'm sorry. I'll be more specific.

I need to use CreateCriteria feature in Struts2 with Spring. I have setted up an enviroment with this three frameworks, but I only can use NamedQueries, I want to use CreateCriteria. However, to use CreateCriteria, I need Hibernate's object session.

I hope this explanation was better.

Regards.
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use A Meaningful Subject Line
Think if several threads come up with Answer as subject line then how can a person know by looking at subject line what query asked inside the thread
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also please learn the difference between replying to a topic and creating a new one. Was this meant to be a reply?
 
Ankit Garg
Sheriff
Posts: 9579
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems to be a reply to this...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess I still don't see how this is related to Struts 2.

Are you asking how to integrate Struts 2 with Spring? Just use "spring" as the object factory--this is done automatically by the Struts 2 Spring plugin. You can then inject any Spring objects you want into your actions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic