|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javatools.db.DbExpr | +--javatools.db.DbLiteral
Inserts a piece of literal text within the SQL expression. This can be useful for non-portable hacks into the SQL code.
Field Summary | |
(package private) java.lang.String |
str
|
Fields inherited from class javatools.db.DbExpr |
db |
Constructor Summary | |
DbLiteral(DbDatabase db,
java.lang.String s)
Constructor for the DbLiteral object |
Method Summary | |
java.lang.String |
getQueryString()
Gets the queryString attribute of the DbLiteral object |
int |
setSqlValues(java.sql.PreparedStatement ps,
int i)
Sets the sqlValues attribute of the DbLiteral object |
Methods inherited from class javatools.db.DbExpr |
and, dateTrunc, equal, getString, greaterThan, greaterThanOrEqual, in, isNotNull, isNull, lessThan, lessThanOrEqual, like, lower, max, min, notEqual, notIn, or, setSqlValue, upper, usesTables, usesTables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.String str
Constructor Detail |
public DbLiteral(DbDatabase db, java.lang.String s)
db
- Description of Parameters
- Description of ParameterMethod Detail |
public int setSqlValues(java.sql.PreparedStatement ps, int i) throws java.sql.SQLException, DbException
setSqlValues
in class DbExpr
ps
- The new sqlValues valuei
- The new sqlValues value
java.sql.SQLException
- Description of Exception
DbException
- Description of Exceptionpublic java.lang.String getQueryString()
getQueryString
in class DbExpr
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |