Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Stephan Wienczny opened DATACASS-141 and commented
Trying to save an entity with an enumeration field yields to
java.lang.IllegalArgumentException: Invalid value SOMEVALUE of type unknown to the query builder
IMHO there are two ways to solve this bug:
If you decide to go 2. please add a link to the remote tracker to this issue
3 votes, 3 watchers
The text was updated successfully, but these errors were encountered:
Mark Paluch commented
Fixed with DATACASS-260
Sorry, something went wrong.
Marc Pynaert commented
With 1.5.0-BUILD-SNAPSHOT, I'm still getting the following error:
org.springframework.dao.InvalidDataAccessApiUsageException: Unknown type [class ...NotificationStatus] for property [status] in entity [...Notification]; only primitive types and Collections or Maps of primitive types are allowed
I have the following annotation on my attribute (after seeing your comment on http://stackoverflow.com/questions/36057569/how-to-store-enum-into-cassandra-with-springdata):
@CassandraType(type = DataType.Name.VARCHAR)
private NotificationStatus status;
Is there something I'm missing?
Care to file a ticket with a reproducible test case?
I created the issue https://jira.spring.io/browse/DATACASS-374 containing an IntelliJ Community project
No branches or pull requests