org.openbandy.io.db
Class SqlStatement
java.lang.Object
org.openbandy.io.db.SqlStatement
public class SqlStatement
- extends java.lang.Object
Creates the actual SQL commands that will be executed on the
database.
Provides methods which create SQL statements to insert, update,
or delete database entries.
(c) Copyright Philipp Bolliger 2007, ALL RIGHTS RESERVED.
- Version:
- 1.0
- Author:
- Philipp Bolliger (philipp@bolliger.name)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlStatement
public SqlStatement()
createINSERT
public static java.lang.String createINSERT(ObjectEntry tableEntry)
createUPDATE
public static java.lang.String createUPDATE(ObjectEntry tableEntry)
createSELECT
public static java.lang.String createSELECT(Serializable serializable)
createSELECTALL
public static java.lang.String createSELECTALL(Serializable serializable)
createDELETE
public static java.lang.String createDELETE(Serializable serializable)
createLAST_INSERTED
public static java.lang.String createLAST_INSERTED(Serializable serializable)