for some reason I have not being able to find a suitable answer for this. I have the following simple entity:
@Entity
@Table(name = \"simple_entity\")
@Acce
Try annotate your UUID
property with @org.hibernate.annotations.Type(type="org.hibernate.type.UUIDCharType")
or@org.hibernate.annotations.Type(type="org.hibernate.type.UUIDBinaryType")
I faced a problem similar while query database with UUID
due to MSB/LSB swap with UUID
in binary format; we solved the problem treating data as String and do necessary conversion before conversion.