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

October 2025

S M T W T F S
    1 23 4
5 67891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 6th, 2025 06:18 pm
Powered by Dreamwidth Studios