public interface ISQLInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR
Operation code that indicates that an error have been occurred.
|
static int |
OK
Operation code that indicates that the operation was successfully.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSQLStatement(String statement)
This method add the SQL Statement to the collection of statements
executed.
|
void |
appendSQLInfo(ISQLInfo sqlInfo) |
int |
getCode()
This method obtains the code that indicates if the operation was
successfully or not.
|
String |
getErrorSQLStatement()
This method returns the SQL Statement which causes the SQL Exception.
|
List |
getSQLStatements()
This method returns the statement/s that has been executed.
|
void |
setCode(int code)
In this method establishes the code of the operation.
|
void |
setErrorSQLStatement(String statement)
This method sets the SQL Statement like the one which causes the SQL
Exception.
|
static final int OK
static final int ERROR
int getCode()
void setCode(int code)
code - List getSQLStatements()
void addSQLStatement(String statement)
statement - String with the SQL Statement.void appendSQLInfo(ISQLInfo sqlInfo)
void setErrorSQLStatement(String statement)
statement - String with the SQL Statement.String getErrorSQLStatement()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.