Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

Enable maxTableNameLength/maxColumnNameLength, and lower-case schema?

Michael Vorburger

2008-08-20


Author LoginPost Reply
Hello,

1. How to get the mappingtool to actually check/enforce
maxTableNameLength / maxColumnNameLength (fail if any table/colum would
be longer) ?

2. How to get the mappingtool to generate all an lower-case schema
(matters on a case-sensitive DB, such as Sybase). We've tried
schemaCase = SCHEMA_CASE_LOWER but that doesn't do anything (at schema
generation time at least). Then @Override getValidColumnName() as
super.getValidColumnName(name, table).toLowerCase(), but that still
leaves some auto-generated columns in upper-casee, as well as
OPENJPA_SEQUENCE_TABLE table and columns.

Thanks!

____________________________________________________________

• 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.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.