You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Entity
@Table(name = "alerts")
@IndexCollection(columns = { @Index(name = "alertState"))
public class Alert
...
I modified it by adding a new field to be indexed:
@Entity
@Table(name = "alerts")
@IndexCollection(columns = { @Index(name = "alertState"), @Index(name = "date") })
public class Alert
...
Afterwards, i executed my code again and noticed that the change iv'e made has not been detected by the update component and my new index was not created.
The text was updated successfully, but these errors were encountered:
Confirming its an issue with thrift base schema generation, however it should work with cql3.
To use cql3 pass property map while creating EntityManagerFactory like :
Hey,
I'm using the latest release (2.11) with Cassandra
I have this line in my persistence.xml taken from wiki:
This is my existing entity:
I modified it by adding a new field to be indexed:
Afterwards, i executed my code again and noticed that the change iv'e made has not been detected by the update component and my new index was not created.
The text was updated successfully, but these errors were encountered: