Class SnowflakeGeneratedIdProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
com.fayupable.snowflake.jpa.processor.SnowflakeGeneratedIdProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes("com.fayupable.snowflake.jpa.SnowflakeGeneratedId") @SupportedSourceVersion(RELEASE_21) public class SnowflakeGeneratedIdProcessor extends AbstractProcessor
Fails compilation when SnowflakeGeneratedId is applied to a field or getter whose type is not long or Long. Without this check, a mismatched type only fails at runtime, the first time Hibernate tries to assign the generated value to the entity.