|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sqlg2.LocalWrapperBase
public class LocalWrapperBase
For internal use. Base class for local wrappers.
Constructor Summary | |
---|---|
LocalWrapperBase(InternalTransaction trans,
boolean inline)
Constructor. |
Method Summary | |
---|---|
protected void |
endTransaction(boolean ok)
Transaction finish. |
java.util.Date |
getTime()
Returns DB server local time. |
static java.lang.String |
getWrapperNameFromInterface(java.lang.Class<? extends IDBCommon> iface,
ImplMode implMode)
Returns implementation class name for data access interface of given type. |
void |
printStackTrace(java.lang.Throwable th)
Error trace. |
void |
trace(java.lang.String str)
Debug trace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalWrapperBase(InternalTransaction trans, boolean inline)
trans
- transaction in which this object will workMethod Detail |
---|
public final void trace(java.lang.String str)
str
- debug messagepublic final void printStackTrace(java.lang.Throwable th)
th
- exceptionprotected final void endTransaction(boolean ok) throws java.sql.SQLException
ok
- transaction success (true if everything's ok and we need to COMMIT, and false
if something went wrong and we need to ROLLBACK).
java.sql.SQLException
public static java.lang.String getWrapperNameFromInterface(java.lang.Class<? extends IDBCommon> iface, ImplMode implMode) throws java.lang.ClassNotFoundException
iface
- data access interfaceimplMode
- type of implementation - remote, local or transaction-local
java.lang.ClassNotFoundException
public final java.util.Date getTime() throws java.sql.SQLException
IDBCommon
getTime
in interface IDBCommon
getTime
in interface LIDBCommon
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |