[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4870) Cannot determine java-type from given member [null]

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Feb 17 20:07:47 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35614#action_35614 ] 

Steve Ebersole commented on HHH-4870:
-------------------------------------

Forgot to mentioned, in the meantime you can disable "static metamodel" wiring.

http://fisheye.jboss.org/browse/Hibernate/core/trunk/entitymanager/src/main/java/org/hibernate/ejb/EntityManagerFactoryImpl.java?r=18712#l82

In your config, set the property 'hibernate.ejb.metamodel.generation' (I did not name it) to 'disabled'.  That will at least get you past this.  On the down side Hibernate will not wire up your static metamodel.

> Cannot determine java-type from given member [null]
> ---------------------------------------------------
>
>                 Key: HHH-4870
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: entity-manager
>    Affects Versions: 3.5.0-Beta-4
>         Environment: jdk 6u18
> glassfishv3
>            Reporter: Marcial Atienzar
>            Assignee: Steve Ebersole
>         Attachments: eclipse.debug, Empre.java, hibernate.cfg.xml, persistence.xml, Prcontra.java
>
>
> I've tested to migrate from hibernate 3.3.2 to 3.5.0 Beta4.
> I've remove all hibernate*.jar from classpath and add only de hibernate3.jar
> I've downloaded the source off hibernate-entitymanager to debug from eclipse. I've reached the class that has the error, but I don't know what can I do to resolve it.
> I'm doing something wrong?
> I attatch the sources of the classes that takes part on eclipse debug.
> I don't know how to attach a testcase. The project has more than 200 entities.
> I've post previously in hibernate forums:
> https://forum.hibernate.org/viewtopic.php?f=1&t=1002363&p=2424419#p2424419

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list