File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Update in master table Child Table problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Update in master table Child Table problem" Watch "Update in master table Child Table problem" New topic
Author

Update in master table Child Table problem

sankar ramalingam
Greenhorn

Joined: Oct 02, 2008
Posts: 9

hi Ranchers

This is sankar. First i wish to all "THE HAPPY PONGAL"(Indian Festival)

My question:

I am using spring and hibernate and MySql in my application When i update in master table that id Deleted in child table how to solve this problem.




SCJP 5.0
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3670

sankar ramalingam wrote:

My question:

I am using spring and hibernate and MySql in my application When i update in master table that id Deleted in child table how to solve this problem.


I doubt this has something to do with JDBC but with Hibernate. How are you persisting the objects in to tables? Are you able to persist any other objects? You should provide more details.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Update in master table Child Table problem
 
Similar Threads
Netbeans - Persistence Add Record To Child Table
Updation of child table.
one to many Mapping @ Hibernate.
Hibernate criterion query with foreign key relation-ship
Problem with iBATIS + MySQL + auto increment keys