Thomas Fischer (JIRA) wrote:
>      [ 
> https://issues.apache.org/jira/browse/TORQUE-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>  ]
> 
> Thomas Fischer closed TORQUE-69.
> --------------------------------
> 
>        Resolution: Fixed
>     Fix Version/s: 3.3-RC3
> 
> An exception is now thrown an an attempt to update an object without primary 
> key. The previous behavior was to fail silently.

I'm not entirely sure if that is indeed the solution for the problem
(even if it has been suggested in the issue). Sometimes one has to cope
with existing database designs. In this case, Torque would simply refuse
to work - which is least annoying.

I suspect that any O/R mapper will have problems with tables without
primary keys because there is no fixed object/record-relation.
Nevertheless those table designs exist. How do others handle this case?

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to