Skip navigation links
A B C D F G H I L N O P Q 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.
afterEnd() - Method in class io.dropwizard.hibernate.UnitOfWorkAspect
 

B

beforeStart(UnitOfWork) - Method in class io.dropwizard.hibernate.UnitOfWorkAspect
 
build(HibernateBundle<?>, Environment, PooledDataSourceFactory, List<Class<?>>) - Method in class io.dropwizard.hibernate.SessionFactoryFactory
 
build(HibernateBundle<?>, Environment, PooledDataSourceFactory, List<Class<?>>, String) - Method in class io.dropwizard.hibernate.SessionFactoryFactory
 
build(HibernateBundle<?>, Environment, PooledDataSourceFactory, 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
 
configure(Configuration, ServiceRegistry) - Method in class io.dropwizard.hibernate.SessionFactoryFactory
 
configureSession() - Method in class io.dropwizard.hibernate.UnitOfWorkAspect
 
create(Class<T>) - Method in class io.dropwizard.hibernate.UnitOfWorkAwareProxyFactory
Creates a new @UnitOfWork aware proxy of a class with the default constructor.
create(Class<T>, Class<?>, Object) - Method in class io.dropwizard.hibernate.UnitOfWorkAwareProxyFactory
Creates a new @UnitOfWork aware proxy of a class with an one-parameter constructor.
create(Class<T>, Class<?>[], Object[]) - Method in class io.dropwizard.hibernate.UnitOfWorkAwareProxyFactory
Creates a new @UnitOfWork aware proxy of a class with a complex constructor.
createHibernate5Module() - Method in class io.dropwizard.hibernate.HibernateBundle
Override to configure the Hibernate5Module.
criteria() - Method in class io.dropwizard.hibernate.AbstractDAO
Creates a new Criteria query for <E>.
criteriaQuery() - Method in class io.dropwizard.hibernate.AbstractDAO
Creates a new CriteriaQuery for <E>.
currentSession() - Method in class io.dropwizard.hibernate.AbstractDAO
Returns the current Session.

D

DEFAULT_NAME - Static variable in class io.dropwizard.hibernate.HibernateBundle
 

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.
getSession() - Method in class io.dropwizard.hibernate.UnitOfWorkAspect
 
getSessionFactory() - Method in class io.dropwizard.hibernate.HibernateBundle
 
getSessionFactory() - Method in class io.dropwizard.hibernate.SessionFactoryHealthCheck
 
getSessionFactory() - Method in class io.dropwizard.hibernate.UnitOfWorkAspect
 
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
 
isLazyLoadingEnabled() - Method in class io.dropwizard.hibernate.HibernateBundle
 

L

list(Criteria) - Method in class io.dropwizard.hibernate.AbstractDAO
Get the results of a Criteria query.
list(CriteriaQuery<E>) - Method in class io.dropwizard.hibernate.AbstractDAO
Get the results of a CriteriaQuery query.
list(Query<E>) - 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.
newAspect() - Method in class io.dropwizard.hibernate.UnitOfWorkAwareProxyFactory
 
newAspect(ImmutableMap<String, SessionFactory>) - Method in class io.dropwizard.hibernate.UnitOfWorkAwareProxyFactory
 

O

onError() - Method in class io.dropwizard.hibernate.UnitOfWorkAspect
 
onEvent(ApplicationEvent) - Method in class io.dropwizard.hibernate.UnitOfWorkApplicationListener
 
onFinish() - Method in class io.dropwizard.hibernate.UnitOfWorkAspect
 
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).

Q

query(String) - Method in class io.dropwizard.hibernate.AbstractDAO
Returns a typed Query

R

registerSessionFactory(String, SessionFactory) - Method in class io.dropwizard.hibernate.UnitOfWorkApplicationListener
Register a session factory with the given name.
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
 
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
 
setLazyLoadingEnabled(boolean) - Method in class io.dropwizard.hibernate.HibernateBundle
 
start() - Method in class io.dropwizard.hibernate.SessionFactoryManager
 
stop() - Method in class io.dropwizard.hibernate.SessionFactoryManager
 

U

uniqueResult(CriteriaQuery<E>) - Method in class io.dropwizard.hibernate.AbstractDAO
Convenience method to return a single instance that matches the criteria query, or null if the criteria returns no results.
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<E>) - 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() - Constructor for class io.dropwizard.hibernate.UnitOfWorkApplicationListener
 
UnitOfWorkApplicationListener(String, SessionFactory) - Constructor for class io.dropwizard.hibernate.UnitOfWorkApplicationListener
Construct an application event listener using the given name and session factory.
UnitOfWorkAspect - Class in io.dropwizard.hibernate
An aspect providing operations around a method with the UnitOfWork annotation.
UnitOfWorkAspect(Map<String, SessionFactory>) - Constructor for class io.dropwizard.hibernate.UnitOfWorkAspect
 
UnitOfWorkAwareProxyFactory - Class in io.dropwizard.hibernate
A factory for creating proxies for components that use Hibernate data access objects outside Jersey resources.
UnitOfWorkAwareProxyFactory(String, SessionFactory) - Constructor for class io.dropwizard.hibernate.UnitOfWorkAwareProxyFactory
 
UnitOfWorkAwareProxyFactory(HibernateBundle<?>...) - Constructor for class io.dropwizard.hibernate.UnitOfWorkAwareProxyFactory
 
A B C D F G H I L N O P Q R S U 
Skip navigation links

Copyright © 2018. All rights reserved.