@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Transient
Entity
property, to indicate that it will not be
mapped to any column (neither during reads nor writes).
Example:
@Transient private int notAColumn;This information is used by the mapper processor to exclude the property from generated queries.
Please note that Transient
takes precedence over PartitionKey
and ClusteringColumn
annotations.
Copyright © 2017–2019. All rights reserved.