jpa/subsystem/src/main/java/org/jboss/as/jpa/container/TransactionScopedEntityManager.java
@Override
    protected boolean deferEntityDetachUntilClose() {
        if (deferDetach == null)
            deferDetach =
                    (true == Configuration.deferEntityDetachUntilClose(emf.getProperties())? Boolean.TRUE : Boolean.FALSE);
        return deferDetach.booleanValue();
    }
@Override
    protected boolean deferEntityDetachUntilClose() {
        if (deferDetach == null)
            deferDetach =
                    (true == Configuration.deferEntityDetachUntilClose(emf.getProperties())? Boolean.TRUE : Boolean.FALSE);
        return deferDetach.booleanValue();
    }
@ Override protected boolean deferEntityDetachUntilClose ( ) { if ( deferDetach == null ) deferDetach = ( true == Configuration . deferEntityDetachUntilClose ( emf . getProperties ( ) ) ? Boolean . TRUE : Boolean . FALSE ) ; return deferDetach . booleanValue ( ) ; }
return true if non-tx invocations should defer detaching of entities until entity manager is closed.
Note that this is an extension for compatibility with JBoss application server 5.0/6.0 (see AS7-2781)
return true if non - tx invocations should defer detaching of entities until entity manager is closed . Note that this is an extension for compatibility with JBoss application server 5 . 0 / 6 . 0 ( see AS7 - 2781 )