Re: Making detaching the default behaviour
Anthony & Melissa Berglas <[email protected]>
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Message-ID | <[email protected]> |
Simply that accessing records after a commit is probably a bug. Updates to the records will not be reflected in the database. So the symptoms could be obscure and nasty. I do prefer the explicit detach. Anthony At 08:27 PM 29-01-08, Franck Routier wrote: >Hi, > >I am considering making detaching the records from the connection the >default behaviour, instead of destroying them, when committing/closing >the connection. > >But I am eager to understand why destroying the records was the default >behaviour in the first place... Any enlightenmnet on this ? > >Thanks, >Franck > > EMail: [email protected] +61 7 3369 4065 (Australian Eastern Standard Time) If the model seems correct only because the numbers look right, then why build the model in the first place? Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/SimpleORM/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/SimpleORM/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
7f290027.jpg
(image/jpeg, 3.3 KB) - not displayed