类org.hibernate.proxy.EntityNotFoundDelegate源码实例Demo

下面列出了怎么用org.hibernate.proxy.EntityNotFoundDelegate的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: lams   文件: SessionFactoryDelegatingImpl.java
@Override
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
	return delegate.getEntityNotFoundDelegate();
}
 
源代码2 项目: lams   文件: SessionFactoryImpl.java
@Override
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
	return sessionFactoryOptions.getEntityNotFoundDelegate();
}
 
@Override
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
	return delegate.getEntityNotFoundDelegate();
}
 
@Override
public T applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) {
	delegate.applyEntityNotFoundDelegate( entityNotFoundDelegate );
	return getThis();
}
 
源代码5 项目: lams   文件: SessionFactoryOptionsBuilder.java
@Override
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
	return entityNotFoundDelegate;
}
 
源代码6 项目: lams   文件: SessionFactoryOptionsBuilder.java
public void applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) {
	this.entityNotFoundDelegate = entityNotFoundDelegate;
}
 
源代码7 项目: lams   文件: SessionFactoryBuilderImpl.java
@Override
public SessionFactoryBuilder applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) {
	this.optionsBuilder.applyEntityNotFoundDelegate( entityNotFoundDelegate );
	return this;
}
 
源代码8 项目: cacheonix-core   文件: SessionFactoryImpl.java
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
	return entityNotFoundDelegate;
}
 
源代码9 项目: lemon   文件: SessionFactoryWrapper.java
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
    return sessionFactoryImplementor.getEntityNotFoundDelegate();
}
 
源代码10 项目: lams   文件: Configuration.java
/**
 * Retrieve the user-supplied delegate to handle non-existent entity
 * scenarios.  May be null.
 *
 * @return The user-supplied delegate
 */
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
	return entityNotFoundDelegate;
}
 
源代码11 项目: lams   文件: Configuration.java
/**
 * Specify a user-supplied delegate to be used to handle scenarios where an entity could not be
 * located by specified id.  This is mainly intended for EJB3 implementations to be able to
 * control how proxy initialization errors should be handled...
 *
 * @param entityNotFoundDelegate The delegate to use
 */
public void setEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) {
	this.entityNotFoundDelegate = entityNotFoundDelegate;
}
 
源代码12 项目: lams   文件: SessionFactoryBuilder.java
/**
 * Names the {@link org.hibernate.proxy.EntityNotFoundDelegate} to be applied to the SessionFactory.  EntityNotFoundDelegate is a
 * strategy that accounts for different exceptions thrown between Hibernate and JPA when an entity cannot be found.
 *
 * @param entityNotFoundDelegate The delegate/strategy to use.
 *
 * @return {@code this}, for method chaining
 */
SessionFactoryBuilder applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate);
 
源代码13 项目: lams   文件: SessionFactoryOptions.java
/**
 * Get the delegate for handling entity-not-found exception conditions.
 *
 * @return The specific EntityNotFoundDelegate to use,  May be {@code null}
 */
EntityNotFoundDelegate getEntityNotFoundDelegate();
 
源代码14 项目: cacheonix-core   文件: Configuration.java
/**
 * Retrieve the user-supplied delegate to handle non-existent entity
 * scenarios.  May be null.
 *
 * @return The user-supplied delegate
 */
public EntityNotFoundDelegate getEntityNotFoundDelegate() {
	return entityNotFoundDelegate;
}
 
源代码15 项目: cacheonix-core   文件: Configuration.java
/**
 * Specify a user-supplied delegate to be used to handle scenarios where an entity could not be
 * located by specified id.  This is mainly intended for EJB3 implementations to be able to
 * control how proxy initialization errors should be handled...
 *
 * @param entityNotFoundDelegate The delegate to use
 */
public void setEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) {
	this.entityNotFoundDelegate = entityNotFoundDelegate;
}
 
源代码16 项目: lams   文件: SessionFactoryImplementor.java
EntityNotFoundDelegate getEntityNotFoundDelegate(); 
源代码17 项目: cacheonix-core   文件: SessionFactoryImplementor.java
public EntityNotFoundDelegate getEntityNotFoundDelegate(); 
 类所在包
 同包方法