* @throws LazyInitializationException if we cannot initialize
*/
protected final void initialize(final boolean writing) {
- // FIXME:Remoting is it true that session is null => we are in remoting mode
-// if(session == null) {
-// remoteInitialize();
-// }
+ // In remoting we are sure that session is null
+ // both when using property paths and switching off conversations
+ if(session == null) {
+ remoteInitialize();
+ }
if ( initialized ) {
return;
@Override
public final void initialize() throws HibernateException {
- // FIXME:Remoting is it true that session is null => we are in remoting mode
-// if(session == null) {
-// remoteInitialize();
-// }
+ // In remoting we are sure that session is null
+ // both when using property paths and switching off conversations
+ if(session == null) {
+ remoteInitialize();
+ }
if ( !initialized ) {
if ( specjLazyLoad ) {
specialSpecjInitialization();