de.pannenleiter.db.brand
Class Oracle
java.lang.Object
|
+--de.pannenleiter.db.brand.Oracle
- public class Oracle
- extends java.lang.Object
- implements DBBrand
Oracle -- Oracle stuff
|
Field Summary |
protected java.sql.Connection |
con
|
protected java.sql.PreparedStatement |
stmtAlive
|
protected java.sql.PreparedStatement |
stmtElementId
|
protected java.sql.PreparedStatement |
stmtVersionId
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
con
protected java.sql.Connection con
stmtVersionId
protected java.sql.PreparedStatement stmtVersionId
stmtElementId
protected java.sql.PreparedStatement stmtElementId
stmtAlive
protected java.sql.PreparedStatement stmtAlive
Oracle
public Oracle()
setConnection
public void setConnection(java.sql.Connection con)
throws java.sql.SQLException
- Specified by:
- setConnection in interface DBBrand
newIdPre
public int newIdPre(java.lang.String document,
char type)
throws java.lang.Exception
- Specified by:
- newIdPre in interface DBBrand
newIdPost
public int newIdPost(java.lang.String document,
char type)
throws java.lang.Exception
- Specified by:
- newIdPost in interface DBBrand
createDocument
public void createDocument(java.lang.String name,
boolean recreate)
throws java.lang.Exception
- Specified by:
- createDocument in interface DBBrand
isAlive
public boolean isAlive()
- Specified by:
- isAlive in interface DBBrand
lockDocument
public void lockDocument(java.lang.String table)
throws java.lang.Exception
- Specified by:
- lockDocument in interface DBBrand
unlockDocument
public void unlockDocument(java.lang.String table)
throws java.lang.Exception
- Specified by:
- unlockDocument in interface DBBrand
quoteName
public java.lang.String quoteName(java.lang.String name)
- Specified by:
- quoteName in interface DBBrand
attrTableName
public java.lang.String attrTableName(java.lang.String table)
- Specified by:
- attrTableName in interface DBBrand
versionTableName
public java.lang.String versionTableName(java.lang.String table)
- Specified by:
- versionTableName in interface DBBrand