com.avaje.ebean.annotation
Annotation Type Encrypted


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Encrypted

Specify that the property is stored in encrypted form.


Optional Element Summary
 boolean dbEncryption
          When true try to use DB encryption rather than local java encryption.
 int dbLength
          Used to specify the DB column length.
 

dbEncryption

public abstract boolean dbEncryption
When true try to use DB encryption rather than local java encryption.

Default:
true

dbLength

public abstract int dbLength
Used to specify the DB column length.

Default:
0


Copyright © 2010. All Rights Reserved.