Skip navigation links
A B C F G H I L N O P R S U 

A

AbstractDAO<E> - Class in io.dropwizard.hibernate
An abstract base class for Hibernate DAO classes.
AbstractDAO(SessionFactory) - Constructor for class io.dropwizard.hibernate.AbstractDAO
Creates a new DAO with a given session provider.

B

build(HibernateBundle<?>, Environment, DataSourceFactory, List<Class<?>>) - Method in class io.dropwizard.hibernate.SessionFactoryFactory
 
build(HibernateBundle<?>, Environment, DataSourceFactory, List<Class<?>>, String) - Method in class io.dropwizard.hibernate.SessionFactoryFactory
 
build(HibernateBundle<?>, Environment, DataSourceFactory, ManagedDataSource, List<Class<?>>) - Method in class io.dropwizard.hibernate.SessionFactoryFactory
 

C

check() - Method in class io.dropwizard.hibernate.SessionFactoryHealthCheck
 
configure(Configuration) - Method in class io.dropwizard.hibernate.HibernateBundle
 
createHibernate4Module() - Method in class io.dropwizard.hibernate.HibernateBundle
Override to configure the Hibernate4Module.
criteria() - Method in class io.dropwizard.hibernate.AbstractDAO
Creates a new Criteria query for <E>.
currentSession() - Method in class io.dropwizard.hibernate.AbstractDAO
Returns the current Session.

F

findEntityClassesFromDirectory(String) - Static method in class io.dropwizard.hibernate.ScanningHibernateBundle
Method scanning given directory for classes containing Hibernate @Entity annotation

G

get(Serializable) - Method in class io.dropwizard.hibernate.AbstractDAO
Return the persistent instance of <E> with the given identifier, or null if there is no such persistent instance.
getEntityClass() - Method in class io.dropwizard.hibernate.AbstractDAO
Returns the entity class managed by this DAO.
getSessionFactory() - Method in class io.dropwizard.hibernate.HibernateBundle
 
getSessionFactory() - Method in class io.dropwizard.hibernate.SessionFactoryHealthCheck
 
getValidationQuery() - Method in class io.dropwizard.hibernate.SessionFactoryHealthCheck
 

H

HibernateBundle<T extends io.dropwizard.Configuration> - Class in io.dropwizard.hibernate
 
HibernateBundle(Class<?>, Class<?>...) - Constructor for class io.dropwizard.hibernate.HibernateBundle
 
HibernateBundle(ImmutableList<Class<?>>, SessionFactoryFactory) - Constructor for class io.dropwizard.hibernate.HibernateBundle
 

I

initialize(T) - Method in class io.dropwizard.hibernate.AbstractDAO
Force initialization of a proxy or persistent collection.
initialize(Bootstrap<?>) - Method in class io.dropwizard.hibernate.HibernateBundle
 
io.dropwizard.hibernate - package io.dropwizard.hibernate
 

L

list(Criteria) - Method in class io.dropwizard.hibernate.AbstractDAO
Get the results of a Criteria query.
list(Query) - Method in class io.dropwizard.hibernate.AbstractDAO
Get the results of a query.

N

name() - Method in class io.dropwizard.hibernate.HibernateBundle
Override to configure the name of the bundle (It's used for the bundle health check and database pool metrics)
namedQuery(String) - Method in class io.dropwizard.hibernate.AbstractDAO
Returns a named Query.

O

onEvent(ApplicationEvent) - Method in class io.dropwizard.hibernate.UnitOfWorkApplicationListener
 
onRequest(RequestEvent) - Method in class io.dropwizard.hibernate.UnitOfWorkApplicationListener
 

P

persist(E) - Method in class io.dropwizard.hibernate.AbstractDAO
Either save or update the given instance, depending upon resolution of the unsaved-value checks (see the manual for discussion of unsaved-value checking).

R

run(T, Environment) - Method in class io.dropwizard.hibernate.HibernateBundle
 

S

ScanningHibernateBundle<T extends io.dropwizard.Configuration> - Class in io.dropwizard.hibernate
Extension of HibernateBundle that scans given package for entities instead of giving them by hand.
ScanningHibernateBundle(String) - Constructor for class io.dropwizard.hibernate.ScanningHibernateBundle
 
ScanningHibernateBundle(String, SessionFactoryFactory) - Constructor for class io.dropwizard.hibernate.ScanningHibernateBundle
 
SessionFactoryFactory - Class in io.dropwizard.hibernate
 
SessionFactoryFactory() - Constructor for class io.dropwizard.hibernate.SessionFactoryFactory
 
SessionFactoryHealthCheck - Class in io.dropwizard.hibernate
 
SessionFactoryHealthCheck(SessionFactory, String) - Constructor for class io.dropwizard.hibernate.SessionFactoryHealthCheck
 
SessionFactoryHealthCheck(ExecutorService, Duration, SessionFactory, String) - Constructor for class io.dropwizard.hibernate.SessionFactoryHealthCheck
 
SessionFactoryManager - Class in io.dropwizard.hibernate
 
SessionFactoryManager(SessionFactory, ManagedDataSource) - Constructor for class io.dropwizard.hibernate.SessionFactoryManager
 
start() - Method in class io.dropwizard.hibernate.SessionFactoryManager
 
stop() - Method in class io.dropwizard.hibernate.SessionFactoryManager
 

U

uniqueResult(Criteria) - Method in class io.dropwizard.hibernate.AbstractDAO
Convenience method to return a single instance that matches the criteria, or null if the criteria returns no results.
uniqueResult(Query) - Method in class io.dropwizard.hibernate.AbstractDAO
Convenience method to return a single instance that matches the query, or null if the query returns no results.
UnitOfWork - Annotation Type in io.dropwizard.hibernate
When annotating a Jersey resource method, wraps the method in a Hibernate session.
UnitOfWorkApplicationListener - Class in io.dropwizard.hibernate
An application event listener that listens for Jersey application initialization to be finished, then creates a map of resource method that have metrics annotations.
UnitOfWorkApplicationListener(SessionFactory) - Constructor for class io.dropwizard.hibernate.UnitOfWorkApplicationListener
Construct an application event listener using the given session factory.
A B C F G H I L N O P R S U 
Skip navigation links

Copyright © 2015. All rights reserved.