de.mathema.pride
Class SQLRaw
java.lang.Object
de.mathema.pride.SQLRaw
public class SQLRaw
- extends java.lang.Object
This is just a helper class, preventing a string value
from getting formatted when passed to any expression builder
function of SQLExpression
. E.g. use this type to
express an equality check between two database fields like
this:
exp.and("field1", new SQLRaw("field2"))
- Author:
- Jan Lessner
Constructor Summary |
SQLRaw(java.lang.String fieldname)
|
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fieldname
protected java.lang.String fieldname
REVISION_ID
public static final java.lang.String REVISION_ID
- See Also:
- Constant Field Values
SQLRaw
public SQLRaw(java.lang.String fieldname)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object