Skip to Content

Hibernate NonUniqueObjectException

I was getting a hibernate error nonuniqueObjectexception. This happened when CF sends flex the same object twice (the first is an object, the second is a reference to that object).
Found this link
http://groups.google.com/group/cf-orm-dev/browse_thread/thread/36c5543b0...
and I replaced entitysave with entitymerge. This solved it for me.
Anyway, just thought I'd share....

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.