org.odata4j.producer.jdbc
Class SqlStatement

java.lang.Object
  extended by org.odata4j.producer.jdbc.SqlStatement

public class SqlStatement
extends Object


Nested Class Summary
static class SqlStatement.SqlParameter
           
 
Field Summary
 ImmutableList<SqlStatement.SqlParameter> params
           
 String sql
           
 
Constructor Summary
SqlStatement(String sql, ImmutableList<SqlStatement.SqlParameter> params)
           
 
Method Summary
 PreparedStatement asPreparedStatement(Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

params

public final ImmutableList<SqlStatement.SqlParameter> params

sql

public final String sql
Constructor Detail

SqlStatement

public SqlStatement(String sql,
                    ImmutableList<SqlStatement.SqlParameter> params)
Method Detail

asPreparedStatement

public PreparedStatement asPreparedStatement(Connection conn)
                                      throws SQLException
Throws:
SQLException


http://odata4j.org