[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

hibernate cascading example

Posted on 2014-08-02
2
Medium Priority
?
368 Views
Last Modified: 2014-08-17
Hi,

I am looking for example on  using hibernate cascading feature, How to enable this feature to work  in the database for the particular columns and tables. I am using eclipse and mysql database. please advise
0
Comment
Question by:gudii9
2 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 2000 total points
ID: 40238451
You just have to declare the cascade feature, either in the XML file or with annotations. You can find an example here of how to use the cascade feature.
0
 
LVL 7

Author Comment

by:gudii9
ID: 40247922
i will try
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month19 days, 22 hours left to enroll

873 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