Anyone has the diff button working once clicked on this link? I get lucene
or cassandra diff error. Hash collision?

---------- Forwarded message ---------
From: ASF subversion and git services (JIRA) <j...@apache.org>
Date: dim. 3 mars 2019 à 09:14
Subject: [jira] [Commented] (OPENJPA-2777) Indices specified using
javax.persistence.Index annotation are not being created
To: <dev@openjpa.apache.org>



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

ASF subversion and git services commented on OPENJPA-2777:
----------------------------------------------------------

Commit d1e4c110e60a1eae335de3c3a26ad639f0cfde0f in openjpa's branch
refs/heads/javax-index from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=d1e4c11 ]

[OPENJPA-2777] messages are corrected


> Indices specified using javax.persistence.Index annotation are not being
created
>
--------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2777
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2777
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 3.0.0
>            Reporter: Maxim Solodovnik
>            Assignee: Maxim Solodovnik
>            Priority: Major
>             Fix For: 3.0.1
>
>
> Indices specified using javax.persistence.Index annotation are not being
created
> i saw a similar example but was hoping the index could be automatically
> created.  some indexes are automatically created but seeingly not others.
> i tried the annotations as in the example and the index is never
> created.  here is what i have added to my class
> @Entity
> @Table(name = "billentry", indexes = {
>          @Index(name = "I_BLLNTRY_SECTION", columnList =
> "BILLSECTION_ID", unique = false),
>          @Index(name = "I_BLLNTRY_BILLTEMPLATEENTRY", columnList =
> "btentryid", unique = false) })
> public class BillEntry implements Serializable {
>      private static final long serialVersionUID = 1L;
>      @Id
>      @GeneratedValue(strategy = GenerationType.IDENTITY)
>      private Long id;
>      @Version
>      private Long version;
>      @ManyToOne
>      private BillSection billSection;
>      @ManyToOne
>      @Column(name = "btentryid")
>      private BillTemplateEntry billTemplateEntry;
> Mail thread: https://markmail.org/message/c4tom6hwjt7temur



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to