On 14/07/11 2:05 AM, Andrus Adamchik wrote:

Default is same as before - a per-adapter strategy of generating PK. The above 
mentioned sentence is about DB-generated strategy. It is not supported on all 
DB's due to driver limitations. So some Cayenne adapters have it on, others 
don't.

But if the model xml files point to (say) a Derby db and then you switch the 
DataSourceFactory to (say) MS-SQL, then I suspect the default PK strategy isn't 
being changed at the same time, since Derby and MS-SQL have different defaults. 
I am not saying that it should switch, but it does make the concept of 
'default' a bit confusing.


Ari

--
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Reply via email to