Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Works as Designed
-
Affects Version/s: 3.0.3 (Neumann SR3)
-
Fix Version/s: None
-
Component/s: Kotlin
-
Labels:None
-
Last commented by a User:true
Description
Compilation of a Kotlin function, that is annotated with @Consistency, results in compilation error "An annotation argument must be a compile-time constant". Note that fhis feature worked well in spring-data-cassandra-2.1.X.
@Consistency(DefaultConsistencyLevel.QUORUM) fun doSomething()
The equivalent Java code works just fine:
@Consistency(DefaultConsistencyLevel.QUORUM)
public void doSomething();