org.ujorm.orm
Interface InitializationBatch


public interface InitializationBatch

An inicializaton batch implementation can be called after building the ORM meta-model.


Method Summary
 void run(Session session)
          Inicializaton batch implementation can be called after building a meta-model.
 

Method Detail

run

void run(Session session)
         throws Exception
Inicializaton batch implementation can be called after building a meta-model.

Parameters:
session - A session ready to use, the session is commited in the parent method.
Throws:
Exception - Any exception causes the call session.rollback() method.


Copyright 2013, Pavel Ponec