When I call:
entityManager.flush()
I get the exception mentioned in the title.
I am using Hibernate JPA.
My Problem was to do with the way that I setup the Element in my context definition -
Originally I had load time weaving enabled (not knownley) that read and by simply removing the 2nd attribute - everything worked (took 2 hours of head banging though). I believe the 2nd element relates to the @Configurable sterotype but can let other (smarter) people explain the difference & why one would work & the other does does not.. Hope this helps...
working definition=