Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
Following code is any example of UUID default until java class to generate a UUID as primary key in JPA entity .The idea is so simple , just set the value of UUID to the primary key before the persistence .