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

August 2025

S M T W T F S
      12
3456789
10 11 12 13141516
171819 20212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 21st, 2025 12:44 am
Powered by Dreamwidth Studios