cc.otavia.sql

package cc.otavia.sql

Members list

Type members

Classlikes

case class Authentication(url: String, info: Map[String, String], driver: Option[String] = ...) extends Ask[ChannelEstablished], Notice

Attributes

Companion
object
Supertypes
trait Product
trait Equals
trait Notice
trait Call
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class AuthenticationException(message: String | Null, cause: Throwable | Null) extends RuntimeException

Exception for authenticate failed

Exception for authenticate failed

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class Connection(url: String, info: Map[String, String], driverName: Option[String] = ..., val family: ProtocolFamily = ...) extends SocketChannelsActor[MSG]

Attributes

Companion
object
Supertypes
trait Actor[MSG]
class Object
trait Matchable
class Any
Show all
object Connection

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Connection.type
abstract class DatabaseException(message: String | Null, val errorCode: Int, val sqlState: String, cause: SQLException | Null) extends RuntimeException

Base class for database failures.

Base class for database failures.

Value parameters

errorCode

Database specific error code.

sqlState

SQL State (XOPEN or SQL:2003 conventions).

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Contains static metadata about the backend database server

Contains static metadata about the backend database server

Attributes

Supertypes
class Object
trait Matchable
class Any
abstract class Driver(val options: ConnectOptions) extends Byte2MessageDecoder, Message2ByteEncoder

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
object DriverManager

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait Row extends Reply, Product

Attributes

Supertypes
trait Product
trait Equals
trait Reply
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
trait RowCodec[R <: Product]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object RowCodec

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
RowCodec.type
object RowCodecMacro

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait RowParser

Attributes

Supertypes
class Object
trait Matchable
class Any
case class RowSet[R <: Product](rows: Array[R]) extends Reply

Attributes

Supertypes
trait Product
trait Equals
trait Reply
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
trait RowWriter

Attributes

Supertypes
class Object
trait Matchable
class Any
class SQLException(message: String | Null, cause: Throwable | Null) extends Exception, Iterable[Throwable]

An exception that provides information on a database access error or other errors.

An exception that provides information on a database access error or other errors.

Each SQLException provides several kinds of information:

  • a string describing the error. This is used as the Java Exception message, available via the method getMesasge.
  • a "SQLstate" string, which follows either the XOPEN SQLstate conventions or the SQL:2003 conventions. The values of the SQLState string are described in the appropriate spec. The DatabaseMetaData method getSQLStateType can be used to discover whether the driver returns the XOPEN type or the SQL:2003 type.
  • an integer error code that is specific to each vendor. Normally this will be the actual error code returned by the underlying database.
  • a chain to a next Exception. This can be used to provide additional error information.
  • the causal relationship, if any for this SQLException.

Attributes

Supertypes
trait Iterable[Throwable]
trait IterableFactoryDefaults[Throwable, Iterable]
trait IterableOps[Throwable, Iterable, Iterable[Throwable]]
trait IterableOnceOps[Throwable, Iterable, Iterable[Throwable]]
trait IterableOnce[Throwable]
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all