map.putAll( getWorkItems() );
}
if ( jpaConfiguration != null ) {
Environment env = EnvironmentFactory.newEnvironment();
env.set( EnvironmentName.ENTITY_MANAGER_FACTORY,
jpaConfiguration.getEntityManagerFactory() );
env.set( EnvironmentName.TRANSACTION_MANAGER,
jpaConfiguration.getPlatformTransactionManager() );
env.set( EnvironmentName.OBJECT_MARSHALLING_STRATEGIES,
new ObjectMarshallingStrategy[]{new SerializablePlaceholderResolverStrategy( ClassObjectMarshallingStrategyAcceptor.DEFAULT )} );
if ( jpaConfiguration.getId() >= 0 ) {
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession( jpaConfiguration.getId(),
getKbase(),