com.triactive.jdo.store.request
Class EmbeddedRequest
java.lang.Object
com.triactive.jdo.store.request.EmbeddedRequest
- Direct Known Subclasses:
- EmbeddedRequest.ReadOnly, EmbeddedRequest.ReadWrite
- public abstract class EmbeddedRequest
- extends java.lang.Object
An abstract base class for simple DB requests involving a single
PreparedStatement.
- Author:
- Mike Martin
Method Summary |
java.lang.Object |
execute()
|
protected abstract java.lang.Object |
execute(java.sql.PreparedStatement ps)
|
protected abstract boolean |
isReadOnly()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sm
protected final StateManager sm
stmtText
protected final java.lang.String stmtText
EmbeddedRequest
public EmbeddedRequest(StateManager sm,
java.lang.String stmtText)
isReadOnly
protected abstract boolean isReadOnly()
execute
protected abstract java.lang.Object execute(java.sql.PreparedStatement ps)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
execute
public final java.lang.Object execute()
Copyright © 2001-2007 The TJDO Project All Rights Reserved.