On Wed, Dec 23, 2009 at 10:42 AM, Daryl Stultz <[email protected]> wrote:

> So it seems I should at least not be referencing the id of "a" until after
> the commit.
>

While this may have prevented this particular exception (or maybe it would
have happened upon commit anyway), I can't see that referencing the id of a
newly persisted entity before commit is a bad coding practice. Anyone have a
different opinion?

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]

Reply via email to