I have a @TableGenerator annotation that does not specify a schema:
@javax.persistence.TableGenerator(
name = "Fund",
table = "jpa_sequence",
pkColumnName = "sequence_name",
valueColumnName = "last_value",
pkColumnValue = "Fund",
allocationSize = 500
)
I have a persistence
On Fri, Aug 26, 2011 at 1:49 PM, Laird Nelson wrote:
> OpenJPA tries to read a column called "NAME0", which is not defined
> anywhere.
>
Changing the name of the sequence table column from "NAME" to
"SEQUENCE_NAME" fixed the problem. Bug in OpenJPA, I think. Maybe in the
H2 dictionary?
Best,
I'm seeing some odd trace output in OpenJPA 2.1.0 when attempting to grab a
value from a sequence table I've set up (via the @TableGeneratorannotation).
I have created a table named ngp.jpa_sequence with two columns: name and
last_value. name is a varchar(100); last_value is a bigint. name is th