Hi ,
I am using Hibernate Session injected in my EJB3 Session Bean code for my database operations.
@PersistenceContext
private Session session;
I am trying to put the below operations inside a transaction block.
If any one of the inserts fail ,say If insert of Child Table 2 fails
,I want the insert of the Parent Table alone to be rolled back .How would I achieve this in my code ?
Hope my query is clear.
Hi All, Im trying to install HiperClipse Plugin for Eclipse 3. But the link: "http://hiberclipse.sourceforge.net/siteupdate_3 does not work. I download the file net.sourceforge.hiberclipse_2.0.1.zip and eclipse does not respond.
Hi All , I am trying out my first Struts Application
This is my ApplicationResources.properties file :
------------------------------------------------------------------- ; Application Resources for the "Hello" sample application ; Application Resources that are specific to the hello.jsp file
hello.jsp.title=Hello - A first Struts program hello.jsp.page.heading=Hello World! A first Struts application hello.jsp.prompt.person=Please enter a name to say hello to :
; Validation and error messages for HelloForm.java and HelloAction.java
examples.hello.dont.talk.to.atilla=I told you not to talk to Atilla!!! examples.hello.no.person.error=Please enter a <i>PERSON</i> to say hello to!