The default table name is SEQUENCE and this table will be shared by all entities that do not have a generator defined.
--Gordon
-----Original Message-----
From: Markus KARG [mailto:markus.karg_at_gmx.net]
Sent: Sunday, June 17, 2007 2:54 AM
To: dev_at_glassfish.dev.java.net
Subject: Default Table name for Table Generator
When I specify @GeneratedValue(strategy=TABLE,generator="foo") then GF
is using the table "foo" for generating IDs.
If I just specify @GeneratedValue(strategy=TABLE), what is the default
table name that GF with actually use at runtime?
As a "simple user" I expected that GF uses the name of the entity bean
class (that one annotated with @Entity) but it seems that is not working.
Thanks
Markus