[jbosstools-issues] [JBoss JIRA] (JBIDE-16265) JPA validation reports Strategy class "uuid2" could not be found

Jim Boettcher (JIRA) jira-events at lists.jboss.org
Fri Dec 6 08:22:06 EST 2013


Jim Boettcher created JBIDE-16265:
-------------------------------------

             Summary: JPA validation reports Strategy class "uuid2" could not be found
                 Key: JBIDE-16265
                 URL: https://issues.jboss.org/browse/JBIDE-16265
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: hibernate
    Affects Versions: 4.1.1.CR1
            Reporter: Jim Boettcher
            Priority: Minor


An Entity class with the following:

  @Id
  @GeneratedValue(generator = "system-uuid")
  @GenericGenerator(name = "system-uuid", strategy = "uuid2")
  @Column(name = "id", unique = true)
  private UUID id;
  
gives the error:
Strategy class "uuid2" could not be found

changing the strategy to "uuid" will clear the error.
  
My Project Facet has JPA 2.0

The JPA configuration has:
Platform: Hibernate (JPA 2.0)
JPA implementation:
Disable Library Configuration

the Hibernate jars are on the project classpath

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list