Joined: Wed Dec 12, 2007 10:00 am Posts: 1
|
Hi, I have the follow problem:
I have an abstract class call PersistentObject that has a instance variable call creationTimestamp and it has a method call getCreationTimestamp(). This method has two annotations: @Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATION_TIMESTAMP")
Then I have a subclass call Case and in this class I want to put an index for the creationTimestamp. I wouldn't like putting the index in the superclass because I need the index in the Case class.
I hope that you can help me.
|
|