I've got a very strange situation transpiring.
I'm using EclipseLink 1.1.2 and it seems that records that should be inserting
are simply disappearing. I can see the INSERT statements being generated
in the log files but only some of the records actually make it into the
database. Worse is that this doesn't always happen.
I've got an Order and a LineItem coded
as follows:
@IdClass(OrderPk.class)
@Entity
public class Order implements Serializable
{
@Id
@Column(name
= "ORDER_NO", nullable = false, length = 12, updatable = false)
private
String orderNo;
Looking at my log files I can see the
INSERT statements for the Order and all the LineItems being generated and
no exceptions occurring. But for the Order listed below, LineItem 1 is
missing in my database.