Results 1 to 3 of 3

Thread: RooFlex: Default id value -1 stopped working: org.hibernate.PersistentObjectException

  1. #1
    Join Date
    Jul 2008
    Location
    Maasmechelen (Belgium)
    Posts
    157

    Exclamation RooFlex: Default id value -1 stopped working: org.hibernate.PersistentObjectException

    Hi all,

    I just wanted to mention that I checked out one of my (working) projects in from GIT, and it stopped working because an org.hibernate.PersistentObjectException was thrown.

    Solved it (for now) by removing the -1 as the default value in my AS3 classes.

    Best wishes,

    Jochen

  2. #2
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    I assume you're working with the nightly builds? In M1, we were using the -1 as a flag to indicate that the object was a newly created instance and that conversion to null was required. After investigating further, I found this wasn't actually necessary and we refined the conversion strategy accordingly to simply work with an uninitialized ActionScript field as the indicator.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  3. #3
    Join Date
    Jul 2008
    Location
    Maasmechelen (Belgium)
    Posts
    157

    Default

    Quote Originally Posted by jeremyg484 View Post
    I assume you're working with the nightly builds? In M1, we were using the -1 as a flag to indicate that the object was a newly created instance and that conversion to null was required. After investigating further, I found this wasn't actually necessary and we refined the conversion strategy accordingly to simply work with an uninitialized ActionScript field as the indicator.
    That fully explains the little issue I had.
    Indeed I'm using the nightly builds.

    Greets

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •