cc.otavia.sql
package cc.otavia.sql
Members list
Packages
package cc.otavia.sql.impl
package cc.otavia.sql.net
package cc.otavia.sql.serde
package cc.otavia.sql.spi
package cc.otavia.sql.statement
Type members
Classlikes
case class Authentication(url: String, info: Map[String, String], driver: Option[String] = ...) extends Ask[ChannelEstablished], Notice
object Authentication
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Authentication.type
class AuthenticationException(message: String | Null, cause: Throwable | Null) extends RuntimeException
Exception for authenticate failed
Exception for authenticate failed
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
trait ColumnDescriptor
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ConnectOptions
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object ConnectOptions
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConnectOptions.type
class Connection(url: String, info: Map[String, String], driverName: Option[String] = ..., val family: ProtocolFamily = ...) extends SocketChannelsActor[MSG]
Attributes
- Companion
- object
- Supertypes
-
class SocketChannelsActor[MSG]class ChannelsActor[MSG]class Objecttrait Matchableclass AnyShow all
object Connection
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass 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 RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
trait DatabaseMetadata
Contains static metadata about the backend database server
Contains static metadata about the backend database server
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
abstract class Driver(val options: ConnectOptions) extends Byte2MessageDecoder, Message2ByteEncoder
Attributes
- Supertypes
-
trait Message2ByteEncodertrait Byte2MessageDecodertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
trait DriverFactory
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
object DriverManager
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DriverManager.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object RowCodec
object RowCodecMacro
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RowCodecMacro.type
trait RowParser
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
trait RowWriter
Attributes
- Supertypes
-
class Objecttrait Matchableclass 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 Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
In this article