Skip to content

Loading empty collection-typed properties overwrites pre-initialized fields [DATACASS-266] #439

Open
@spring-projects-issues

Description

@spring-projects-issues

Mark Paluch opened DATACASS-266 and commented

Cassandra list/set typed columns represent an empty collection as null. From here one can't tell whether the state was null or empty at the time saving the value. Loading this value causes MappingCassandraConverter to overwrite pre-initialized fields (e.g. with new ArrayList) with null.


Affects: 1.3.4 (Gosling SR4)

Reference URL: http://stackoverflow.com/questions/36349896/how-can-i-ensure-cassandraoperations-selectonebyid-initializes-all-fields-in-t

1 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: mappingMapping and conversion infrastructuretype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions