Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366594

Summary: [Hibernate] CDO with hibernate cannot be used standalone due to NPE in HibernateUtil.createMappingProviderFactory
Product: [Modeling] EMF Reporter: Martin Taal <mtaal>
Component: cdo.coreAssignee: Martin Taal <mtaal>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 CC: stepper
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Martin Taal CLA 2011-12-13 13:33:17 EST
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=366162

This issue is to track changes for 4.1
Comment 1 Martin Taal CLA 2011-12-14 06:05:32 EST
Solved in 4.1:
use the static:
CDOHibernateUtil.setMappingProviderFactoryInstance(new
TeneoHibernateMappingProviderFactory());

call to set a mapping provider.
Comment 2 Martin Taal CLA 2011-12-14 06:05:45 EST
See last comment
Comment 3 Eike Stepper CLA 2012-09-21 07:18:07 EDT
Closing.