persist « Struts « JPA Q&A





1. How do my Actions get to Hibernate so they can persist my objects?    struts.1045723.n5.nabble.com

I am hoping someone can paint a picture for me as I do not really understand the relationship between Struts2 + Spring + Hibernate. The reason I know about Spring is every book or tutorial I can find with Struts2 and persistence uses Spring. Background is my last programming in Java was 9 years ago with Struts I really enjoyed ...

2. persistence and doubts on usage of hibernate in struts 2    struts.1045723.n5.nabble.com

Hello. I am having a problem with the usage of hibernate and its persistence mechanism. I have an Action with a method for creation of an entity type and other method for updating. This action implements a Preparable and in its method prepare() I verify if the entity is being created or updated, depending if an ID came from the jsp ...

3. Object Not gettting persisted using Struts    forum.hibernate.org

Hi, I am using hibernate to persist data in a small web application which is based on struts framework. This application is running on Apache Tomcat server. In the event logs, there is no error thrown and object is getting persisted correctly. However, no records are getting updated when check in database. Even older records are getting deleted. Here is the ...

4. Struts ActionForm as persistent object    forum.hibernate.org

Hi, I'm using Struts as web application framework. When using Forms within Struts I have all data within those struts ActionForm objects accessed by getter and setter methods. Within my framework those ActionForm objects have methods that can load data from the database using jdbc. When changing the persistence layer to hibernate I thought it would be best to make those ...