cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cghersi <cristiano.ghe...@abodata.com>
Subject Re: Temporary ID hasn't been replaced on commit
Date Tue, 06 Mar 2012 09:48:39 GMT
Hi Michael,
thank you for the hint.
I double checked the To Dep PK option and in fact some of the relationships
were wrong, but nevertheless the problem persists.

The problem is now a NullPointerException on DataObjectUtils, line 114:
        ObjectId id = dataObject.getObjectId();
        if (!id.isTemporary()) {
            return id.getIdSnapshot();
        }
id is null...

Any idea about this?

Thank you very much!
Best
cghersi

--
View this message in context: http://cayenne.195.n3.nabble.com/Temporary-ID-hasn-t-been-replaced-on-commit-tp3801043p3803141.html
Sent from the Cayenne - User mailing list archive at Nabble.com.

Mime
View raw message