Hello,
First off the link to subscribe to this mailing list is incorrect on the
website, unless i was doing it wrong. The link has
[EMAIL PROTECTED], however to subscribe i had to us
[EMAIL PROTECTED] Might need to be fixed.
I am having a problem with my objects getting persisted in the database.
I am using the odmg api and based my code off of tutorial2. I am also
using postgreSQL db. In my example I have a createPerson() service that
creates the Person object, and it is successfully persisted in the
database. The createPerson(Person) method just starts a transaction,
locks the person object in the param with Transaction.WRITE, and then
commits the transcation. Every thing works fine.
In my updatePerson(Person) method I do exactly the same thing, and it
also follows the tutorial2 example. However the record is not updated
in the database. If I requery the database through the odmg api in the
same vm process, it appears to have worked (it appears to work in 0.9.9;
however, 0.9.8 it did not). What I mean as "appears to work" is that
the requery through the api gives me the results i expect, but the the
database record does not show these changes.
The only difference i see in my code and tutorial2 is that I use
postgreSQL and that within the same transaction, for updating records, i
do not query the object, i just write it.
Does anyone have an idea, my code is not to complex that I can not
provide it for someone to review.
-chris worley
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: update persistance Christopher C Worley
- Re: update persistance Christopher C Worley
