[
https://issues.apache.org/jira/browse/JUDDI-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042588#comment-15042588
]
Alex O'Ree commented on JUDDI-946:
----------------------------------
how did you create the patch file? here's what I got while importing it.
git apply
~/Downloads/0001-JUDDI-946-Incorrect-annotation-on-JPA-entity-classes.patch.txt
error: patch failed:
juddi-core/src/main/java/org/apache/juddi/model/TempKey.java:15
error: juddi-core/src/main/java/org/apache/juddi/model/TempKey.java: patch does
not apply
error: patch failed:
juddi-core/src/main/java/org/apache/juddi/model/TransferToken.java:17
error: juddi-core/src/main/java/org/apache/juddi/model/TransferToken.java:
patch does not apply
> Incorrect annotation on JPA entity classes
> ------------------------------------------
>
> Key: JUDDI-946
> URL: https://issues.apache.org/jira/browse/JUDDI-946
> Project: jUDDI
> Issue Type: Bug
> Components: juddi-tomcat
> Reporter: Matthieu Ghilain
> Assignee: Alex O'Ree
> Fix For: 3.3.2
>
> Attachments:
> 0001-JUDDI-946-Incorrect-annotation-on-JPA-entity-classes.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> The primary key (pk) of the entity TempKey is annotated with \@Id. This is
> not correct, it should be @EmbeddedId. This causes strange behaviour with
> EclipseLink which then tries to generate a BLOB column for the primary key.
> Additional there is a missing \@Temporal annotation on the class TransferToken
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)