openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <f...@alum.mit.edu>
Subject Re: Default Table/Column Naming conventions; are they configurable?
Date Thu, 16 Oct 2008 23:14:06 GMT
So, is there any way that I can plugin a class to determine the default 
TABLE/COLUMN names?

Fernando Padilla wrote:
> I am trying to figure out how to override the default naming conventions 
> used by OpenJPA, to be more consistent with the schema we currently have 
> (generated by old kodo):
> 
> - all caps
> - append a 0 if it's a reserved word
> - append a counter if multiple columns of same name ( embedded )
> 
> I bet the documentation has it, but I'm not quite sure what to search 
> for.  Any leads would be greatly appreciated!

Mime
View raw message