Jun. 3rd, 2010

juan_gandhi: (Default)
(Hibernate code)

package org.hibernate.impl;
...
public final class SessionImpl extends AbstractSessionImpl {
...
  SessionImpl(
    final Connection connection,
    final SessionFactoryImpl factory,
    final boolean autoclose,
    final long timestamp,
    final Interceptor interceptor,
    final EntityMode entityMode,
    final boolean flushBeforeCompletionEnabled,
    final boolean autoCloseSessionEnabled,
    final ConnectionReleaseMode connectionReleaseMode) {
  super( factory );
...
juan_gandhi: (Default)
		// let the interceptor inspect the instance to decide
		Boolean isUnsaved = session.getInterceptor().isTransient(entity);
		if (isUnsaved!=null) return isUnsaved.booleanValue();

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 13th, 2025 08:25 am
Powered by Dreamwidth Studios