Hello all,

I'm using the PB API and can store a simple object to a table. Even though table has a primary key constraint on the id column, if I try to store a different object with the same id, there is no primary key constraint violation. In fact, OJB _UPDATES_ the existing matching row in the database, instead of trying to INSERT a new row (which would trigger the integrity constraint). I'm using Oracle 8i.

My question, therefore, is:

Do I have to perform my own referential integrity checks when I use OJB? Am I missing a basic idea behind OJB (like the lack of a need for referential integrity)?

I've searched the mail archives and the online docs, but can't find the answer to these simple questions.

Thanks,

Anthony Carlos


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



Reply via email to