Re: [RDBO] (no subject)

2006-12-09 Thread Jonathan Vanasco
On Dec 8, 2006, at 9:47 PM, Jeffrey Horn wrote: > I have a database table in which several columns are all functions > of a > single sixteen digit number. Some of them are subsets of digits, > others are > encryptions of the number, etc. > > Is there a way in RDBO to override things so that

Re: [RDBO] (no subject)

2006-12-09 Thread Danial Pearce
> depending on your database support, I think the best solution would > be to use a DB trigger on insert , that would just populate all of > the fields As John says somewhere in the documentation. If you are putting triggers on your DB, why wouldn't you put them in your object as well? Your object

Re: [RDBO] (no subject)

2006-12-09 Thread George Hartzell
Danial Pearce writes: > > depending on your database support, I think the best solution would > > be to use a DB trigger on insert , that would just populate all of > > the fields > > As John says somewhere in the documentation. If you are putting > triggers on your DB, why wouldn't you put

Re: [RDBO] (no subject)

2006-12-09 Thread John Siracusa
On 12/9/06 5:28 PM, Danial Pearce wrote: >> depending on your database support, I think the best solution would >> be to use a DB trigger on insert , that would just populate all of >> the fields > > As John says somewhere in the documentation. If you are putting > triggers on your DB, why wouldn'

Re: [RDBO] (no subject)

2006-12-09 Thread Jonathan Vanasco
On Dec 9, 2006, at 5:28 PM, Danial Pearce wrote: > As John says somewhere in the documentation. If you are putting > triggers on your DB, why wouldn't you put them in your object as well? > Your object is supposed to know pretty much everything about your DB, > so why would you lie to it and tell