openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miłosz Tylenda <mtyle...@o2.pl>
Subject Re: Should DBDictionary instances call Column#setAutoAssigned(true)?
Date Sat, 13 Feb 2010 10:21:30 GMT

Hi Laird,

What exactly would you like to achieve by calling Column#setAutoAssigned(true)? Do you want
for some databases the default GenerationType be IDENTITY? If this is the question, I suspect
the TABLE type has been chosen as a default as it is the most portable across databases.

Cheers,
Milosz

> I've noticed that none of the DBDictionary instances that ship with OpenJPA
> call Column#setAutoAssigned(true), even when it is within their power to do
> so.
> 
> Is this by design?  Does this decision logically lie elsewhere?
> 
> Thanks,
> Laird
> 

Mime
View raw message