When table name is in quotes, for e.g., "Organization", jboss tries to create primary key constraint as pk"organization" ... This fails as pk"Organization" is not a valid constraint name. Instead it should put pk inside the quotes "pk_Organization".
I am using Jboss 3.0.0.
Sandeep Dixit
JBossCMP does not support quoted identifiers. There was someone working on adding this, but I don't know the state of the development.