openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Vorburger" <>
Subject Missing (table)name on @PersistentCollection(elementEmbedded = true)
Date Thu, 02 Oct 2008 14:33:57 GMT

If you have a class A { @PersistentCollection(elementEmbedded = true)
Set<B> someLongNameAttribute }, there will be a table

We are looking for a way to change the name of such tables created by
elementEmbedded (SQL table length problem), but unfortunately there is
nothing like a @PersistentCollection(elementEmbedded = true,
tableNameSuffix="short") to get a table name A_B_short - or is there,
through another annotation?

Only option is to actually rename the private attribute's name (keeping
public getters and setters) ?

Would this be a valid Enhancement request for future releases?


 This email and any files transmitted with it are CONFIDENTIAL and intended
  solely for the use of the individual or entity to which they are addressed.
 Any unauthorized copying, disclosure, or distribution of the material within
  this email is strictly forbidden.
 Any views or opinions presented within this e-mail are solely those of the
  author and do not necessarily represent those of Odyssey Financial
Technologies SA unless otherwise specifically stated.
 An electronic message is not binding on its sender. Any message referring to
  a binding engagement must be confirmed in writing and duly signed.
 If you have received this email in error, please notify the sender immediately
  and delete the original.

View raw message