openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpalache <ravi.palache...@oracle.com>
Subject Re: Question regarding DefaultMissingInfo of MappingDefaults property.
Date Tue, 21 Apr 2009 04:29:23 GMT

Hi All,

Can someone please help me with my question.

Thanks,
Ravi.


rpalache wrote:
> 
> Hi all,
> 
> Is there any relation between checking column name properties like (
> column name can not be equal to database reserved word -or- column name
> can not be more than X characters etc.. ) and DefaultMissingInfo property
> of openjpa.jdbc.MappingDefaults ?
> 
> To be more specific, if Iam running openJPA against oracle DB and I
> mention  one of the following in my persistence.xml:
> 
> case 1: <property name="openjpa.jdbc.MappingDefaults"
> value="default(DefaultMissingInfo=true)"/>  or 
> case 2: <property name="openjpa.jdbc.MappingDefaults"
> value="default(DefaultMissingInfo=false)"/> or
> case 3: <property name="openjpa.jdbc.MappingDefaults" value="jpa"/> (
> default)
> 
> and I have a persistence class which has a variable name "date"  like
> private Date date = null;
> 
> then
> 
> in which of the above cases openJPA will replace my column "date" to
> something like "date0" ?
> 
> Thanks,
> Ravi.
> 

-- 
View this message in context: http://n2.nabble.com/Question-regarding-DefaultMissingInfo-of-MappingDefaults-property.-tp2657689p2668024.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.


Mime
View raw message