delete « JDBC « JPA Q&A





1. Deleting bulk records from some history tables using hibernate/JDBC?    coderanch.com

I have a requirement of deleting bulk records from some history tables. The table information from which the records has to be deleted will be kept in a temp table. The records in the history tables are in millions for which I want to delete them in batches so that the delete operation dont fill up the log space in the ...

2. JPA - how to delete and create dependent table rows    java-forums.org

I'm having problems figuring out how to delete or create rows that are on the "many" side of a relationship. Even worse, what about the case where I have a connecting table in a "many-to-many" relationship? My table definitions are below. At a certain point in my code, I have access to a Tblpatients object (which is detached). I wish to ...