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

Koen Aers (JIRA) issues at jboss.org
Thu May 22 12:42:57 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-16265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969821#comment-12969821 ] 

Koen Aers commented on JBIDE-16265:
-----------------------------------

Postponing to 4.2.0.Beta3

> 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
>             Fix For: 4.2.0.Beta3
>
>
> 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.2.3#6260)


More information about the jbosstools-issues mailing list