merge « EJB « JPA Q&A





1. JPA: question about merging an entity before removing it    stackoverflow.com

I know I have to merge the entity before removing it, but I never thought I have to do it inside EJB. First I have these:

e = (Event) scholarBean.merge(e);
scholarBean.remove(e);
in my managed ...

2. Merging a large table with a large text file using JPA?    stackoverflow.com

We have a large table of approximately 1 million rows, and a data file with millions of rows. We need to regularly merge a subset of the data in the text ...

3. ERROR in merging element from a table using ejb and jpa    stackoverflow.com

I am getting the following error when trying to merge a object to a database: javax.validation.ConstraintViolationException: Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event:'preUpdate'. Please refer to ...

4. How to use merge    stackoverflow.com

In my Web tier I show a list of Tasks and for each task it shows how many TaskErrors it has. The tasks are fetched in a controller class this way:

public ...