Versions in this module Expand all Collapse all v1 v1.0.0 Jul 15, 2019 Changes in this version + var UnsupportedJDBCURL = errors.New("unsupported jdbc url") + func ParseJDBCURL(url string) (user, password, u string, err error) + type Conn interface + func NewConn(jdbcConn JDBCConnection) Conn + type JDBCConnection interface + Begin func() error + Close func(keepIsolate bool) error + CloseStatement func(statement int) (err error) + Columns func(statement int) (columnNames []string, columnTypes []string, err error) + Commit func() error + Execute func(statement int) (updated int, err error) + GetBigDecimal func(statement int, index int) (float64, error) + GetByte func(statement int, index int) (byte, error) + GetDouble func(statement int, index int) (float64, error) + GetFloat func(statement int, index int) (float32, error) + GetInt func(statement int, index int) (value int32, err error) + GetLong func(statement int, index int) (int64, error) + GetMoreResults func(statement int) bool + GetShort func(statement int, index int) (int8, error) + GetString func(statement int, index int) (value string, err error) + GetTimestamp func(statement int, index int) (time.Time, error) + IsValid func(timeout int) (valid bool, err error) + Next func(statement int) (hasNext bool, err error) + NextResultSet func(statement int) bool + NumInput func(statement int) (inputs int, err error) + Prepare func(sql string) (statement int, err error) + Query func(statement int) (hasResults bool, err error) + Rollback func() error + SetByte func(statement int, index int, value byte) error + SetDouble func(statement int, index int, value float64) error + SetFloat func(statement int, index int, value float32) error + SetInt func(statement int, index int, value int32) error + SetLong func(statement int, index int, value int64) error + SetNull func(statement int, index int) error + SetShort func(statement int, index int, value int8) error + SetString func(statement int, index int, value string) error + SetTimestamp func(statement int, index int, value time.Time) error + TestQueryJSON func(query string) (result string, err error) + type JDBCDriver interface + EnableTracing func(enable bool) + Open func(url, user, password string, txIsolation TransactionIsolation) (JDBCConnection, error) + type Rows interface + type Stmt struct + func (s *Stmt) Close() error + func (s *Stmt) Exec(args []driver.Value) (driver.Result, error) + func (s *Stmt) ID() int + func (s *Stmt) NumInput() int + func (s *Stmt) Query(args []driver.Value) (driver.Rows, error) + type TransactionIsolation int + const TRANSACTION_NONE + const TRANSACTION_READ_COMMITTED + const TRANSACTION_READ_UNCOMMITTED + const TRANSACTION_REPEATABLE_READ + const TRANSACTION_SERIALIZABLE