Skip to content

Mixed case table names are not supported without using deprecated annotation property #1263

@ykozarovitsky-quotient

Description

@ykozarovitsky-quotient

I have a Cassandra database that uses mixed case table names. E.g. User, Partner. When queries are created from the spring application, the table names are lowercased (user, partner). Cassandra complains that the tables do not exist.

In the Table annotation there is a deprecated property forceQuote. When I set this property as true, the table names are used as they are and surrounded by the quotes. Everything works fine. As I understand the forceQuote was used to double quote reserved names. I am not using reserved names. Why are they lowercased?

I believe this is done in the org.springframework.data.cassandra.core.mapping.IdentifierFactory.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions