hibernated.session

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

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

Source file hibernated/session.d.

This module contains implementation of Hibernated SessionFactory and Session classes.

Members

Aliases

enforceHelper
alias enforceHelper = enforceEx
Undocumented in source.
enforceHelper
alias enforceHelper = enforce
Undocumented in source.

Classes

Configuration
class Configuration
Undocumented in source.
EntityCache
class EntityCache
Undocumented in source.
EntityCollections
class EntityCollections

task to load reference entity

LazyCollectionLoader
class LazyCollectionLoader
Undocumented in source.
LazyObjectLoader
class LazyObjectLoader
Undocumented in source.
PropertyLoadItem
class PropertyLoadItem

task to load reference entity

PropertyLoadMap
class PropertyLoadMap
Undocumented in source.
Query
class Query

Interface for usage of HQL queries.

QueryImpl
class QueryImpl

Implementation of HibernateD Query

Session
class Session

Session - main interface to load and persist entities -- similar to org.hibernate.Session

SessionAccessor
class SessionAccessor

helper class to disconnect Lazy loaders from closed session.

SessionFactoryImpl
class SessionFactoryImpl

Implementation of HibernateD SessionFactory

SessionImpl
class SessionImpl

Implementation of HibernateD session

Functions

createCommaSeparatedKeyList
string createCommaSeparatedKeyList(Variant[] list)
Undocumented in source. Be warned that the author may not have intended to support it.
createKeyPairSQL
string createKeyPairSQL(Variant id1, Variant id2)
Undocumented in source. Be warned that the author may not have intended to support it.
createKeySQL
string createKeySQL(Variant id)
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
Variant normalize(Variant v)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

ConnectionProvider
interface ConnectionProvider
Undocumented in source.
EventListeners
interface EventListeners
Undocumented in source.
Mapping
interface Mapping
Undocumented in source.
SessionFactory
interface SessionFactory

Factory to create HibernateD Sessions - similar to org.hibernate.SessionFactory

SessionFactoryObserver
interface SessionFactoryObserver

Allows reaction to basic SessionFactory occurrences

Settings
interface Settings
Undocumented in source.
Transaction
interface Transaction

Transaction interface: TODO

Structs

ObjectList
struct ObjectList
Undocumented in source.

Variables

TRACE_REFS
auto TRACE_REFS;
Undocumented in source.

Meta

Authors

Vadim Lopatin