openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: Default Table/Column Naming conventions; are they configurable?
Date Mon, 20 Oct 2008 04:05:22 GMT

Hi,

Fernando Padilla wrote:
> 
> So, is there any way that I can plugin a class to determine the default 
> TABLE/COLUMN names?
> 
  Start looking from
   interface org.apache.openjpa.jdbc.meta.MappingDefaults
 and its 'JPA'-specifc implementation
   org.apache.openjpa.jdbc.meta.ClassMapping.PersistenceMappingDefaults

  It is possible to plug-in a custom implementation via:
   <property name="openjpa.jdbc.MappingDefaults"
value="com.acme.MyMappingDefaults"/>

  For further details:
[1]
http://openjpa.apache.org/builds/latest/docs/manual/manual.html#openjpa.jdbc.MappingDefaults


-- 
View this message in context: http://n2.nabble.com/Default-Table-Column-Naming-conventions-tp1342311p1353913.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message