|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectJdbcControl.ComplexSqlFragment
public static class JdbcControl.ComplexSqlFragment
A ComplexSqlFragment can be used as a return value from a parameter reflection operation for return values which contain BOTH SQL text and parameters. For Example, the text portion could be something like 'where NAME = ?' and the parameter value is 'Fred'.
| Field Summary | |
|---|---|
protected List<JdbcControl.SQLParameter> |
parameters
|
protected CharSequence |
sql
|
| Constructor Summary | |
|---|---|
JdbcControl.ComplexSqlFragment()
Create a new SQLFragment. |
|
JdbcControl.ComplexSqlFragment(String sql,
JdbcControl.SQLParameter[] parameters)
Create a new SQLFragment with the specified SQL and parameter list. |
|
| Method Summary | |
|---|---|
JdbcControl.SQLParameter[] |
getParameters()
Get the parameters contained within this fragment. |
String |
getSQL()
Get the SQL of this fragment. |
String |
toString()
Get the SQL string contained within this fragment. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected CharSequence sql
protected List<JdbcControl.SQLParameter> parameters
| Constructor Detail |
|---|
public JdbcControl.ComplexSqlFragment()
public JdbcControl.ComplexSqlFragment(String sql,
JdbcControl.SQLParameter[] parameters)
sql - SQL contents of the fragment.parameters - Substitution parameters.| Method Detail |
|---|
public String getSQL()
public JdbcControl.SQLParameter[] getParameters()
public String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||