jp.littlesoft.soja
クラス LSJsonConnection

java.lang.Object
  上位を拡張 jp.littlesoft.soja.LSJsonConnection
すべての実装されたインタフェース:
Serializable, Connection, Wrapper, ISQLTableStorage

public class LSJsonConnection
extends Object
implements Connection, Serializable, ISQLTableStorage

関連項目:
直列化された形式

入れ子のクラスの概要
 class LSJsonConnection.JDBCMetaData
           
static class LSJsonConnection.Provider
           
static class LSJsonConnection.Request
           
static class LSJsonConnection.Resolver
           
static class LSJsonConnection.Response
           
 
フィールドの概要
static String REQUEST_PARAM_NAME
           
 
インタフェース java.sql.Connection から継承されたフィールド
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
コンストラクタの概要
LSJsonConnection(String url, String database, String user, String password)
           
 
メソッドの概要
 void clearWarnings()
           
 void close()
           
 void commit()
           
 Array createArrayOf(String typeName, Object[] elements)
           
 Blob createBlob()
           
 Clob createClob()
           
 NClob createNClob()
           
 SQLXML createSQLXML()
           
 Statement createStatement()
           
 Statement createStatement(int resultSetType, int resultSetConcurrency)
           
 Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
 Struct createStruct(String typeName, Object[] attributes)
           
 boolean getAutoCommit()
           
 String getCatalog()
           
 Properties getClientInfo()
           
 String getClientInfo(String name)
           
 int getHoldability()
           
 DatabaseMetaData getMetaData()
           
 ISQLDataProvider getProvider()
           
 ISQLDataResolver getResolver()
           
 int getTransactionIsolation()
           
 Map<String,Class<?>> getTypeMap()
           
 SQLWarning getWarnings()
           
 boolean isClosed()
           
 boolean isReadOnly()
           
 boolean isValid(int timeout)
           
 boolean isWrapperFor(Class<?> iface)
           
 String nativeSQL(String sql)
           
 CallableStatement prepareCall(String sql)
           
 CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
           
 CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
 PreparedStatement prepareStatement(String sql)
           
 PreparedStatement prepareStatement(String sql, int autoGeneratedKeys)
           
 PreparedStatement prepareStatement(String sql, int[] columnIndexes)
           
 PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
           
 PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
 PreparedStatement prepareStatement(String sql, String[] columnNames)
           
 void releaseSavepoint(Savepoint savepoint)
           
 void rollback()
           
 void rollback(Savepoint savepoint)
           
 void setAutoCommit(boolean autoCommit)
           
 void setCatalog(String catalog)
           
 void setClientInfo(Properties properties)
           
 void setClientInfo(String name, String value)
           
 void setHoldability(int holdability)
           
 void setReadOnly(boolean readOnly)
           
 Savepoint setSavepoint()
           
 Savepoint setSavepoint(String name)
           
 void setTransactionIsolation(int level)
           
 void setTypeMap(Map<String,Class<?>> map)
           
<T> T
unwrap(Class<T> iface)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

REQUEST_PARAM_NAME

public static String REQUEST_PARAM_NAME
コンストラクタの詳細

LSJsonConnection

public LSJsonConnection(String url,
                        String database,
                        String user,
                        String password)
パラメータ:
url -
database -
user -
password -
メソッドの詳細

getProvider

public ISQLDataProvider getProvider()
定義:
インタフェース ISQLTableStorage 内の getProvider

getResolver

public ISQLDataResolver getResolver()
定義:
インタフェース ISQLTableStorage 内の getResolver

clearWarnings

public void clearWarnings()
                   throws SQLException
定義:
インタフェース Connection 内の clearWarnings
例外:
SQLException

close

public void close()
           throws SQLException
定義:
インタフェース Connection 内の close
例外:
SQLException

commit

public void commit()
            throws SQLException
定義:
インタフェース Connection 内の commit
例外:
SQLException

createArrayOf

public Array createArrayOf(String typeName,
                           Object[] elements)
                    throws SQLException
定義:
インタフェース Connection 内の createArrayOf
例外:
SQLException

createBlob

public Blob createBlob()
                throws SQLException
定義:
インタフェース Connection 内の createBlob
例外:
SQLException

createClob

public Clob createClob()
                throws SQLException
定義:
インタフェース Connection 内の createClob
例外:
SQLException

createNClob

public NClob createNClob()
                  throws SQLException
定義:
インタフェース Connection 内の createNClob
例外:
SQLException

createSQLXML

public SQLXML createSQLXML()
                    throws SQLException
定義:
インタフェース Connection 内の createSQLXML
例外:
SQLException

createStatement

public Statement createStatement()
                          throws SQLException
定義:
インタフェース Connection 内の createStatement
例外:
SQLException

createStatement

public Statement createStatement(int resultSetType,
                                 int resultSetConcurrency)
                          throws SQLException
定義:
インタフェース Connection 内の createStatement
例外:
SQLException

createStatement

public Statement createStatement(int resultSetType,
                                 int resultSetConcurrency,
                                 int resultSetHoldability)
                          throws SQLException
定義:
インタフェース Connection 内の createStatement
例外:
SQLException

createStruct

public Struct createStruct(String typeName,
                           Object[] attributes)
                    throws SQLException
定義:
インタフェース Connection 内の createStruct
例外:
SQLException

getAutoCommit

public boolean getAutoCommit()
                      throws SQLException
定義:
インタフェース Connection 内の getAutoCommit
例外:
SQLException

getCatalog

public String getCatalog()
                  throws SQLException
定義:
インタフェース Connection 内の getCatalog
例外:
SQLException

getClientInfo

public Properties getClientInfo()
                         throws SQLException
定義:
インタフェース Connection 内の getClientInfo
例外:
SQLException

getClientInfo

public String getClientInfo(String name)
                     throws SQLException
定義:
インタフェース Connection 内の getClientInfo
例外:
SQLException

getHoldability

public int getHoldability()
                   throws SQLException
定義:
インタフェース Connection 内の getHoldability
例外:
SQLException

getMetaData

public DatabaseMetaData getMetaData()
                             throws SQLException
定義:
インタフェース Connection 内の getMetaData
例外:
SQLException

getTransactionIsolation

public int getTransactionIsolation()
                            throws SQLException
定義:
インタフェース Connection 内の getTransactionIsolation
例外:
SQLException

getTypeMap

public Map<String,Class<?>> getTypeMap()
                                throws SQLException
定義:
インタフェース Connection 内の getTypeMap
例外:
SQLException

getWarnings

public SQLWarning getWarnings()
                       throws SQLException
定義:
インタフェース Connection 内の getWarnings
例外:
SQLException

isClosed

public boolean isClosed()
                 throws SQLException
定義:
インタフェース Connection 内の isClosed
例外:
SQLException

isReadOnly

public boolean isReadOnly()
                   throws SQLException
定義:
インタフェース Connection 内の isReadOnly
例外:
SQLException

isValid

public boolean isValid(int timeout)
                throws SQLException
定義:
インタフェース Connection 内の isValid
例外:
SQLException

nativeSQL

public String nativeSQL(String sql)
                 throws SQLException
定義:
インタフェース Connection 内の nativeSQL
例外:
SQLException

prepareCall

public CallableStatement prepareCall(String sql)
                              throws SQLException
定義:
インタフェース Connection 内の prepareCall
例外:
SQLException

prepareCall

public CallableStatement prepareCall(String sql,
                                     int resultSetType,
                                     int resultSetConcurrency)
                              throws SQLException
定義:
インタフェース Connection 内の prepareCall
例外:
SQLException

prepareCall

public CallableStatement prepareCall(String sql,
                                     int resultSetType,
                                     int resultSetConcurrency,
                                     int resultSetHoldability)
                              throws SQLException
定義:
インタフェース Connection 内の prepareCall
例外:
SQLException

prepareStatement

public PreparedStatement prepareStatement(String sql)
                                   throws SQLException
定義:
インタフェース Connection 内の prepareStatement
例外:
SQLException

prepareStatement

public PreparedStatement prepareStatement(String sql,
                                          int autoGeneratedKeys)
                                   throws SQLException
定義:
インタフェース Connection 内の prepareStatement
例外:
SQLException

prepareStatement

public PreparedStatement prepareStatement(String sql,
                                          int[] columnIndexes)
                                   throws SQLException
定義:
インタフェース Connection 内の prepareStatement
例外:
SQLException

prepareStatement

public PreparedStatement prepareStatement(String sql,
                                          String[] columnNames)
                                   throws SQLException
定義:
インタフェース Connection 内の prepareStatement
例外:
SQLException

prepareStatement

public PreparedStatement prepareStatement(String sql,
                                          int resultSetType,
                                          int resultSetConcurrency)
                                   throws SQLException
定義:
インタフェース Connection 内の prepareStatement
例外:
SQLException

prepareStatement

public PreparedStatement prepareStatement(String sql,
                                          int resultSetType,
                                          int resultSetConcurrency,
                                          int resultSetHoldability)
                                   throws SQLException
定義:
インタフェース Connection 内の prepareStatement
例外:
SQLException

releaseSavepoint

public void releaseSavepoint(Savepoint savepoint)
                      throws SQLException
定義:
インタフェース Connection 内の releaseSavepoint
例外:
SQLException

rollback

public void rollback()
              throws SQLException
定義:
インタフェース Connection 内の rollback
例外:
SQLException

rollback

public void rollback(Savepoint savepoint)
              throws SQLException
定義:
インタフェース Connection 内の rollback
例外:
SQLException

setAutoCommit

public void setAutoCommit(boolean autoCommit)
                   throws SQLException
定義:
インタフェース Connection 内の setAutoCommit
例外:
SQLException

setCatalog

public void setCatalog(String catalog)
                throws SQLException
定義:
インタフェース Connection 内の setCatalog
例外:
SQLException

setClientInfo

public void setClientInfo(Properties properties)
定義:
インタフェース Connection 内の setClientInfo

setClientInfo

public void setClientInfo(String name,
                          String value)
定義:
インタフェース Connection 内の setClientInfo

setHoldability

public void setHoldability(int holdability)
                    throws SQLException
定義:
インタフェース Connection 内の setHoldability
例外:
SQLException

setReadOnly

public void setReadOnly(boolean readOnly)
                 throws SQLException
定義:
インタフェース Connection 内の setReadOnly
例外:
SQLException

setSavepoint

public Savepoint setSavepoint()
                       throws SQLException
定義:
インタフェース Connection 内の setSavepoint
例外:
SQLException

setSavepoint

public Savepoint setSavepoint(String name)
                       throws SQLException
定義:
インタフェース Connection 内の setSavepoint
例外:
SQLException

setTransactionIsolation

public void setTransactionIsolation(int level)
                             throws SQLException
定義:
インタフェース Connection 内の setTransactionIsolation
例外:
SQLException

setTypeMap

public void setTypeMap(Map<String,Class<?>> map)
                throws SQLException
定義:
インタフェース Connection 内の setTypeMap
例外:
SQLException

isWrapperFor

public boolean isWrapperFor(Class<?> iface)
                     throws SQLException
定義:
インタフェース Wrapper 内の isWrapperFor
例外:
SQLException

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException
定義:
インタフェース Wrapper 内の unwrap
例外:
SQLException


Copyright (C) 2006-2012 LittleSoft Corporation. All Rights Reserved.