com.triactive.jdo.store
Class StatementText

java.lang.Object
  extended by com.triactive.jdo.store.StatementText

 class StatementText
extends java.lang.Object


Constructor Summary
StatementText()
           
StatementText(java.lang.String initialSql)
           
 
Method Summary
 StatementText append(char c)
           
 StatementText append(java.lang.Object o)
           
 StatementText append(QueryStatement.QueryColumn qsc)
           
 StatementText append(SQLExpression expr)
           
 StatementText append(StatementText st)
           
 StatementText append(java.lang.String s)
           
 java.lang.String appendParameter(Mapping mapping, java.lang.Object value)
           
 java.util.Set getReferencedColumns()
           
 java.sql.PreparedStatement prepareStatement(PersistenceManager pm, java.sql.Connection conn)
           
 java.sql.PreparedStatement prepareStatement(PersistenceManager pm, java.sql.Connection conn, int resultSetType, int resultSetConcurrency)
           
 StatementText prepend(char c)
           
 StatementText prepend(java.lang.String s)
           
 void setParameterValue(java.lang.String name, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatementText

public StatementText()

StatementText

public StatementText(java.lang.String initialSql)
Method Detail

getReferencedColumns

public java.util.Set getReferencedColumns()

prepend

public StatementText prepend(char c)

prepend

public StatementText prepend(java.lang.String s)

append

public StatementText append(char c)

append

public StatementText append(java.lang.String s)

append

public StatementText append(QueryStatement.QueryColumn qsc)

append

public StatementText append(StatementText st)

append

public StatementText append(SQLExpression expr)

append

public StatementText append(java.lang.Object o)

appendParameter

public java.lang.String appendParameter(Mapping mapping,
                                        java.lang.Object value)

setParameterValue

public void setParameterValue(java.lang.String name,
                              java.lang.Object value)

prepareStatement

public java.sql.PreparedStatement prepareStatement(PersistenceManager pm,
                                                   java.sql.Connection conn)
                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

prepareStatement

public java.sql.PreparedStatement prepareStatement(PersistenceManager pm,
                                                   java.sql.Connection conn,
                                                   int resultSetType,
                                                   int resultSetConcurrency)
                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2001 TriActive, Inc. All Rights Reserved.