join « Batch « JPA Q&A

1. Hibernate join tables duplicate entry - Could not execute JDBC batch update

I have a simple domain class Licensee:

@Table(name = "LICENSEE")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Licensee implements Serializable, Comparable {
    private Integer id;
    private String orgName;


2. Hibernate Batch with

Hi, I'm facing a problem with getting Hibernate to do batch inserts. I have an Entity (called 'Extract') that has a component class which is mapped to a secondary table using element. It also has a relationship with a different entity. When I try to do a batch insert of Extract objects, Hibernate does not seem to be batching ...