| @Index does not work [message #1002227] |
Fri, 18 January 2013 03:10  |
Guido Häp Messages: 5 Registered: January 2013 Location: Gerolstein |
Junior Member |
|
|
Hallo.
I am using EclipseLink 2.4.1 and a Oracle Database.
My entity looks like this:
@Entity
@Index(name="INDEX1", columnNames={"MATERIALLOT","MATERIALSUBLOT"})
@Table(name = "MM_MatSublot")
public class MaterialSublotEntity {
@Index
@Column(name="MATERIALLOT")
private MaterialLotEntity materialLot;
@Index
@Column(name="MATERIALSUBLOT")
private MaterialSublotEntity parentSublot;
.....
EclipseLink does not create the indexes.
What can be the reason?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01625 seconds