Code example for SessionImplementor

Methods: getPersistenceContext

0
	 * The Getter implementation for index backrefs. 
	 */ 
	public class IndexGetter implements Getter {
		public Object getForInsert(Object target, Map mergeMap, SessionImplementor session) throws HibernateException {
			if (session==null) {
				return BackrefPropertyAccessor.UNKNOWN;
			} 
			else { 
				return session.getPersistenceContext()
						.getIndexInOwner(entityName, propertyName, target, mergeMap);
			} 
		} 
 
		/** 
		 * {@inheritDoc} 
		 */ 
		public Object get(Object target)  { 
			return BackrefPropertyAccessor.UNKNOWN;
		} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE