public interface DbEncrypt
As an alternative to using DB encryption you can encrypt/decrypt in java via a special ScalarType but this has the limitation that you can't include that property in query where clauses.
Modifier and Type | Method and Description |
---|---|
DbEncryptFunction |
getDbEncryptFunction(int jdbcType) |
int |
getEncryptDbType()
Return the DB type that encrypted Strings are stored in.
|
boolean |
isBindEncryptDataFirst()
Return true if the DB encrypt function binds the data before the key.
|
DbEncryptFunction getDbEncryptFunction(int jdbcType)
int getEncryptDbType()
This is VARCHAR for MySql and VARBINARY for most others.
boolean isBindEncryptDataFirst()
Copyright © 2019. All rights reserved.