openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amy Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-340) @UniqueConstraint and corresponding XML ignored
Date Mon, 02 Jun 2008 03:37:45 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601516#action_12601516
] 

Amy Yang commented on OPENJPA-340:
----------------------------------

looks like only @Table(uniqueConstraints=@UniqueConstraint(....)) is supported.
@SecondaryTable, @JoinTable, and @TableGenerator need be supported.

> @UniqueConstraint and corresponding XML ignored
> -----------------------------------------------
>
>                 Key: OPENJPA-340
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-340
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Patrick Linskey
>             Fix For: 1.2.0
>
>
> OpenJPA ignores @UniqueConstraint annotations (and the corresponding XML declaration)
when generating database schemas. This should be rectified.
> A workaround is to set the -ignoreErrors flag to true when running mappingtool, which
will let schema creation continue despite the error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message