[hibernate-issues] [Hibernate-JIRA] Created: (OGM-120) Unable to find a GridType for org.hibernate.type.SerializableType
Guillaume Scheibel (JIRA)
noreply at atlassian.com
Tue Feb 21 11:50:09 EST 2012
Unable to find a GridType for org.hibernate.type.SerializableType
------------------------------------------------------------------
Key: OGM-120
URL: https://hibernate.onjira.com/browse/OGM-120
Project: Hibernate OGM
Issue Type: Bug
Components: core
Affects Versions: 3.0.0.Alpha2
Reporter: Guillaume Scheibel
Attachments: org.hibernate.ogm.test.utils.StartTest-output.txt, org.hibernate.ogm.test.utils.StartTest.txt, persistence.xml, StartTest.java
When I try to retrieve an EntityManager via:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("mongoPU");
The mongoPU persistence unit is described in persistence.xml
I got an expection which tells me "Unable to build EntityManagerFactory" and in the stack trace there is:
Caused by: org.hibernate.HibernateException: Unable to find a GridType for org.hibernate.type.SerializableType
at org.hibernate.ogm.type.impl.TypeTranslatorImpl.getType(TypeTranslatorImpl.java:110)
So I looked into the TypeTranslatorImpl class and indeed there is no:
typeConverter.put( SerializableTypeDescriptor.INSTANCE, SerializableType.INSTANCE );
All files are in attachement.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list