public class EncryptedPreparedStatement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Crypto |
crypto |
private java.sql.PreparedStatement |
preparedStatement |
Constructor and Description |
---|
EncryptedPreparedStatement(java.sql.PreparedStatement preparedStatement,
Crypto crypto) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
execute() |
EncryptedResultSet |
getEncryptedResultSet() |
void |
setDouble(int index,
double value) |
void |
setInt(int index,
int value) |
void |
setString(int index,
java.lang.String value) |
void |
setUnencryptedString(int i,
java.lang.String value) |
private final java.sql.PreparedStatement preparedStatement
private final Crypto crypto
public EncryptedPreparedStatement(java.sql.PreparedStatement preparedStatement, Crypto crypto)
public void setUnencryptedString(int i, java.lang.String value) throws java.sql.SQLException
java.sql.SQLException
public void setString(int index, java.lang.String value) throws java.sql.SQLException
java.sql.SQLException
public void setInt(int index, int value) throws java.sql.SQLException
java.sql.SQLException
public void setDouble(int index, double value) throws java.sql.SQLException
java.sql.SQLException
public EncryptedResultSet getEncryptedResultSet() throws java.sql.SQLException
java.sql.SQLException
public void execute() throws java.sql.SQLException
java.sql.SQLException
public void close() throws java.sql.SQLException
java.sql.SQLException