openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roger.keays" <>
Subject 1.1.0-SNAPSHOT: insert skipped when no columns to be set
Date Tue, 20 May 2008 00:48:07 GMT

Hi All,

Given an entity like

Class A {
  @Id @GeneratedValue(strategy=IDENTITY)
  Long id;

  List<Thing> things;

If you try to persist it, no insert happens, because the row doesn't
actually have any data in it. Although, if you add a string field with a
value the insert does occur.

Has anybody else noticed this?


View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message