Annotation Type SQL.Column


@Retention(RUNTIME)
@Target(FIELD)
public static @interface SQL.Column
Fields annotated with the SQL.Column annotation will be used by the InstanceCreator to wrap data in a ResultSet into a new type instance.

The name of column provided here has to be defined in the database, otherwise an SQLException will be thrown.

Since:
1.0
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    java.lang.String value  
  • Element Details

    • value

      java.lang.String value
      Returns:
      the name of the corresponding column in the database.