Best code examples for Hibernate ORM SessionImplementor class (org.hibernate.engine.spi.SessionImplementor)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM SessionImplementor class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM SessionImplementor examples from Open Source projects
This code example shows how to use the following methods: getFactory
37:	return getSearchFactoryBySFI( session.getFactory() ); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getPersistenceContext
67:	Object version, 
-
69:	int timeout, 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getFactory
67:	} 
68:	 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getEntityPersister
50:	if ( id == null ) { 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getFactory
109:	// cache the actual id of the object, not the value of the 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getPersistenceContext
This code example shows how to use the following methods: getContextEntityIdentifier, getEntityPersister, getFactory, getInterceptor, getPersistenceContext
95:	Session session = ( Session ) sessionImplementor; 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getFactory
58:	return deepCopy( original, session.getFactory() ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getContextEntityIdentifier
This code example shows how to use the following methods: getPersistenceContext
This code example shows how to use the following methods: getFactory
288:	else { 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
This code example shows how to use the following methods: getPersistenceContext
44:	return session.getPersistenceContext().getEntityEntries().size(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
This code example shows how to use the following methods: getPersistenceContext
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
This code example shows how to use the following methods: getFactory, getPersistenceContext
66:	final SessionImplementor session = getSession(); 
-
85:	if (collection==null) { 
-
87:	return null; 
-
94:	if ( collectionType.hasHolder() ) { 
-
96:	if (collection==CollectionType.UNFETCHED_COLLECTION) return null; 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPersistenceContext
This code example shows how to use the following methods: generateEntityKey, getFactory, getPersistenceContext, isClosed, isOpen
246:	errorIfReadOnlySettingNotAvailable(); 
-
278:	"Cannot call isReadOnlyBeforeAttachedToSession when isReadOnlySettingAvailable == true" 
279:	); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPersistenceContext
68:	Object version, 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getPersistenceContext
339:	while ( iter.hasNext() ) { 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
This code example shows how to use the following methods: getPersistenceContext
69:	Serializable id, 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getEntityPersister, getFactory, getInterceptor, getPersistenceContext
151:	isDelete && 
-
166:	} 
-
175:	/** 
-
236:	final Object object, 
-
242:	else { 
243:	Serializable id = session.getContextEntityIdentifier( object ); 
-
255:	} 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: generateEntityKey, getFactory, getPersistenceContext, isOpen
112:	if ( isUninitialized() && session != null && session.isOpen()) { 
113:	final EntityKey key = session.generateEntityKey( 
-
117:	final Object entity = session.getPersistenceContext().getEntity(key); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPersistenceContext
82:	for ( int i=0; i<length*2; ) { 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getFactory, getPersistenceContext
This code example shows how to use the following methods: getFactory, getPersistenceContext
94:	CollectionPersister collectionPersister = getSession().getFactory() 
-
96:	getSession().getPersistenceContext() 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getFactory
107:	String entityName = session.getFactory().getClassMetadata((Class) value).getEntityName(); 
108:	Loadable entityPersister = (Loadable) session.getFactory().getEntityPersister(entityName); 
109:	underlyingType.nullSafeSet(st, entityPersister.getDiscriminatorValue(), index, session); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getFactory, getPersistenceContext
58:	 
-
63:	if ( collection!=null && (collection instanceof PersistentCollection) ) { 
-
85:	removeCollection(persister, collectionKey, session); 
-
87:	 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getFactory, getPersistenceContext
61:	EventSource session = getSession(); 
-
68:	PersistentCollection wrapper = ( PersistentCollection ) collection; 
-
70:	if ( wrapper.wasInitialized() ) { 
-
85:	 
-
87:	 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPersistenceContext
95:	return BackrefPropertyAccessor.UNKNOWN; 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getInterceptor, getPersistenceContext
88:	 
-
99:	 
-
108:	 
-
116:	 
-
170:	* <p/> 
171:	* This is perfectly valid in Hibernate usage; JPA, however, forbids this. 
-
241:	currentState = persister.getPropertyValues( entity ); 
-
247:	final Object[] deletedState = createDeletedState( persister, currentState, session ); 
-
263:	 
-
273:	deletedState, 
-
285:	// override the stale snapshot 
-
299:	 
-
333:	EventSource session, 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPersistenceContext
107:	Serializable eeId = session.getPersistenceContext().getEntry( instance ).getId(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getFactory
153:	sqle, 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getPersistenceContext
316:	"cannot determine readOnly/modifiable setting when it is not initialized and is not initialized and getSession() == null" 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getFactory
62:	DatastoreProvider service = session.getFactory().getServiceRegistry().getService( DatastoreProvider.class ); 
Full Snippet Info
6
CodeRank
See Code Examples for Hibernate ORM SessionImplementor Methods: