-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hello, I am using Liberty 16.0.0.3, and currently, I have a problem with JPA.
I need to add nonunique index to my table
@Entity
@Table(name = "DETAILS" )
public class DetailsDAO { ... }
According to JPA 2.1 ( which in my server.xml I am and using <feature>jpa-2.1</feature>
) I should be able to use Index annotation but can not set variable index in Table annotation.
The dependency tree is like this:
My maven configuration:
<dependency>
<groupId>net.wasdev.maven.tools.targets</groupId>
<artifactId>liberty-target</artifactId>
<version>16.0.0.3</version>
<scope>provided</scope>
<type>pom</type>
</dependency>
Here is reference:
https://stackoverflow.com/questions/3405229/specifying-an-index-non-unique-key-using-jpa
https://www.ibm.com/support/knowledgecenter/was_beta/com.ibm.websphere.wdt.doc/topics/localrepo.htm
Metadata
Metadata
Assignees
Labels
No labels