Hi all ,
When I read tutorial 1, I notice that both insert and update uses
broker.store(product)
Is there any difference between them ? Say if I accidentally produce a new product
but it already has the another product with same key in database. So if I insert the
new product, will it be treated like an update ? Can I make that throw something like
duplicated pk instead ?
And must a table contains a primary key for ojb to work ?
Thanks for concern
Perseus
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now