Closed spartanhooah closed 5 months ago
@PrimaryKey(…)
accepts the column name and this annotation is considered only while the @Column
annotation is ignored for identifiers. However, it would be a neat idea to accept @Column(…)
if both are defined.
I have a table that has names like
resource_key
, and the entity POJO is defined like thisThis causes Cassandra to complain that it can't find the column
resourcekey
. I have gotten around this by defining a post-processor:Is there something else I should be doing to make Spring respect the
@Column
value attribute?