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

November 2025

S M T W T F S
       1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 4th, 2025 11:48 am
Powered by Dreamwidth Studios