dstruct.type

DStruct - Object-Relation Mapping for D programming language, with interface similar to Hibernate.

Hibernate documentation can be found here: http://hibernate.org/docs

Source file dstruct/type.d.

This module contains declarations of property type description classes.

Members

Aliases

Byte
alias Byte = Nullable!byte

Undocumented in source.

Double
alias Double = Nullable!double

Undocumented in source.

Float
alias Float = Nullable!float

Undocumented in source.

Int
alias Int = Nullable!int

Undocumented in source.

Long
alias Long = Nullable!long

Undocumented in source.

NullableDate
alias NullableDate = Nullable!Date

Undocumented in source.

NullableDateTime
alias NullableDateTime = Nullable!DateTime

Undocumented in source.

NullableTimeOfDay
alias NullableTimeOfDay = Nullable!TimeOfDay

Undocumented in source.

Short
alias Short = Nullable!short

Undocumented in source.

Ubyte
alias Ubyte = Nullable!ubyte

Undocumented in source.

Uint
alias Uint = Nullable!uint

Undocumented in source.

Ulong
alias Ulong = Nullable!ulong

Undocumented in source.

Ushort
alias Ushort = Nullable!ushort

Undocumented in source.

Classes

BooleanType
class BooleanType

Undocumented in source.

ByteArrayBlobType
class ByteArrayBlobType

Undocumented in source.

CacheException
class CacheException

Something went wrong in the cache

DStructException
class DStructException

base class for all DStruct exceptions

DateTimeType
class DateTimeType

Undocumented in source.

DateType
class DateType

Undocumented in source.

EntityType
class EntityType

Undocumented in source.

LazyInitializationException
class LazyInitializationException

Indicates access to unfetched data outside of a session context. For example, when an uninitialized proxy or collection is accessed after the session was closed.

MappingException
class MappingException

An exception that usually occurs as a result of something screwy in the O-R mappings.

NonUniqueResultException
class NonUniqueResultException

Thrown when the application calls Query.uniqueResult() and the query returned more than one result. Unlike all other Hibernate exceptions, this one is recoverable!

NumberType
class NumberType

Undocumented in source.

ObjectDeletedException
class ObjectDeletedException

Thrown when the user tries to do something illegal with a deleted object.

ObjectNotFoundException
class ObjectNotFoundException

An exception occurs when query result is expected but object is not found in DB.

PropertyValueException
class PropertyValueException

Thrown when the (illegal) value of a property can not be persisted. There are two main causes: a property declared not-null="true" is null or an association references an unsaved transient instance

QueryException
class QueryException

A problem occurred translating a Hibernate query to SQL due to invalid query syntax, etc.

QueryParameterException
class QueryParameterException

Parameter invalid or not found in the query

QuerySyntaxException
class QuerySyntaxException

Exception thrown when there is a syntax error in the HQL.

SessionException
class SessionException

Thrown when the user calls a method of a Session that is in an inappropropriate state for the given call (for example, the the session is closed or disconnected).

StringType
class StringType

Undocumented in source.

TimeType
class TimeType

Undocumented in source.

TransactionException
class TransactionException

Indicates that a transaction could not be begun, committed or rolled back.

TransientObjectException
class TransientObjectException

Thrown when the user passes a transient instance to a Session method that expects a persistent instance.

Type
class Type

Base class for DStruct property types

UbyteArrayBlobType
class UbyteArrayBlobType

Undocumented in source.

UnresolvableObjectException
class UnresolvableObjectException

Thrown when Hibernate could not resolve an object by id, especially when loading an association.

Structs

Lazy
struct Lazy(T)

Lazy entity loader.

LazyCollection
struct LazyCollection(T)

Lazy entity collection loader.

String
struct String

Wrapper around string, to distinguish between Null and NotNull fields: string is NotNull, String is Null -- same interface as in Nullable

Meta

Authors

Vadim Lopatin