Learn how to a build a cloud-first strategyRegister Now


Inverse and cascade,type of instances

Posted on 2012-09-12
Medium Priority
Last Modified: 2012-09-30
I am preparing for an interview i want to brush up my skills

what is inverse and cascde in hibernate

what are the type of instance creation in hibernate

Author Comment

by:Manikandan Thiagarajan
ID: 38391389
Moderaor please put the question in J2ee and hibernate topics
LVL 12

Expert Comment

by:Sharon Seth
ID: 38393953
Cascade - when you sepecify this for a POJO , then whenever you save this POJO to DB,  then all the POJOS related to this POJO also get saved to the DB , without explicitly calling save on the related POJOs . Same with delete , when you delete this POJO , all related objects get deleted from DB . In short , any updates on this object get cascaded to all related objects
LVL 21

Accepted Solution

Amitkumar P earned 2000 total points
ID: 38399494

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question