Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.object > #60
| 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.databases.object | Previous | Next | Find similar
ORM: when to raise an exception: on object creation or on use? Victor Porton <porton@narod.ru> - 2015-09-04 17:15 +0300
csiph-web