[jbosstools-issues] [JBoss JIRA] (JBIDE-16265) JPA validation reports Strategy class "uuid2" could not be found
Jiri Peterka (JIRA)
issues at jboss.org
Tue Sep 9 10:18:01 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-16265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Peterka closed JBIDE-16265.
--------------------------------
Verified with JBDS 8.0.0.CR1a, Fedora 20_64
> 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
> Assignee: Max Rydahl Andersen
> Priority: Minor
> Labels: respin-a
> Fix For: 4.2.0.CR1
>
>
> 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 was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list