Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366594 - [Hibernate] CDO with hibernate cannot be used standalone due to NPE in HibernateUtil.createMappingProviderFactory
Summary: [Hibernate] CDO with hibernate cannot be used standalone due to NPE in Hibern...
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 13:33 EST by Martin Taal CLA
Modified: 2019-11-08 03:13 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.