Code example for Session

Methods: setCacheMode

0
	} 
 
	@Override 
	public Session openSession() {
		Session s = super.openSession();
		s.setCacheMode( getSessionCacheMode() );
		return s;
	} 
 
	protected abstract CacheMode getSessionCacheMode();
 
	@Test
	public void testOneToManyMoveElement() { 
		init(); 
		transformMove(); 
		check( false ); 
		delete(); 
	} 
 
	@Test