Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #5799
| From | Victor Porton <porton@narod.ru> |
|---|---|
| Newsgroups | comp.databases.object, comp.programming |
| Subject | ORM: when to raise an exception: on object creation or on use? |
| Followup-To | comp.programming |
| Date | 2015-09-04 17:15 +0300 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <msc92o$peq$1@speranza.aioe.org> (permalink) |
Cross-posted to 2 groups.
Followups directed to: comp.programming
Should an ORM implementation query the DB as soon as an active record is created in order to check that the queried row exists in DB, or is it OK to throw an exception later when attempting to access a field (for an nonexistent row)? -- Victor Porton - http://portonvictor.org
Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread
ORM: when to raise an exception: on object creation or on use? Victor Porton <porton@narod.ru> - 2015-09-04 17:15 +0300
Re: ORM: when to raise an exception: on object creation or on use? "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2015-09-04 17:51 +0200
Re: ORM: when to raise an exception: on object creation or on use? Victor Porton <porton@narod.ru> - 2015-09-04 19:22 +0300
Re: ORM: when to raise an exception: on object creation or on use? "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2015-09-04 18:54 +0200
Re: ORM: when to raise an exception: on object creation or on use? Victor Porton <porton@narod.ru> - 2015-09-04 21:17 +0300
Re: ORM: when to raise an exception: on object creation or on use? "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2015-09-04 20:38 +0200
csiph-web