openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miłosz Tylenda <>
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.


> 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

View raw message