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
{{ message }}
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
A POJO containing a property using the Java Collections could not be easily mapped to columns in Cassandra using HOM. You would have needed to create a custom converter that would handle the mapping .. until now. Now you can annotate a collection property using @Column just like any other property and HOM will do "the right thing".
How does it work? Each element of the collection is mapped to a Cassandra column with a simple naming scheme, "<property-name>:<index>". There is one more column, "<property-name>", that contains the type of the Collection and its size.