[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870?page=c...
]
Steve Ebersole edited comment on HHH-4870 at 2/18/10 8:13 AM:
--------------------------------------------------------------
I also occurs with 3.5.0-CR1
+Log of server+:
Hibernate Validator bean-validator-3.0-JBoss-4.0.2
Hibernate Annotations 3.5.0-CR-1
Hibernate 3.5.0-CR-1
Hibernate Commons Annotations 3.2.0-SNAPSHOT
Hibernate EntityManager 3.5.0-CR-1
+Other lines+:
hibernate.properties not found
Bytecode provider name : javassist
using JDK 1.4 java.sql.Timestamp handling
Registering IdentifierGenerator strategy [uuid] -> [class
org.hibernate.id.UUIDHexGenerator]
Registering IdentifierGenerator strategy [hilo] -> [class
org.hibernate.id.TableHiLoGenerator]
Registering IdentifierGenerator strategy [assigned] -> [class
org.hibernate.id.Assigned]
Registering IdentifierGenerator strategy [identity] -> [class
org.hibernate.id.IdentityGenerator]
Detect class: true; detect hbm: true
+persistence.xml+:
{code}
org.hibernate.ejb.Ejb3Configuration - Processing PersistenceUnitInfo [
name: kyrianEntityPU
persistence provider classname: org.hibernate.ejb.HibernatePersistence
classloader: WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
Temporary classloader:
com.sun.enterprise.loader.ASURLClassLoader$DelegatingClassLoader@1f7ced8
excludeUnlistedClasses: false
JTA datasource: com.sun.gjc.spi.jdbc40.DataSource40@2ccf18
Non JTA datasource: com.sun.gjc.spi.jdbc40.DataSource40@1d05cdb
Transaction type: JTA
PU root URL:
file:/opt/glassfish/glassfish/domains/kyrian/applications/kyrian/kyrian-war_war/WEB-INF/lib/kyrianEntity.jar
Shared Cache Mode: null
Validation Mode: null
Jar files URLs []
Managed classes names []
Mapping files names []
Properties [
hibernate.ejb.cfgfile: /hibernate.cfg.xml]
{code}
was (Author: matienzar):
I also occurs with 3.5.0-CR1
+Log of server+:
Hibernate Validator bean-validator-3.0-JBoss-4.0.2
Hibernate Annotations 3.5.0-CR-1
Hibernate 3.5.0-CR-1
Hibernate Commons Annotations 3.2.0-SNAPSHOT
Hibernate EntityManager 3.5.0-CR-1
+Other lines+:
hibernate.properties not found
Bytecode provider name : javassist
using JDK 1.4 java.sql.Timestamp handling
Registering IdentifierGenerator strategy [uuid] -> [class
org.hibernate.id.UUIDHexGenerator]
Registering IdentifierGenerator strategy [hilo] -> [class
org.hibernate.id.TableHiLoGenerator]
Registering IdentifierGenerator strategy [assigned] -> [class
org.hibernate.id.Assigned]
Registering IdentifierGenerator strategy [identity] -> [class
org.hibernate.id.IdentityGenerator]
Detect class: true; detect hbm: true
+persistence.xml+:
{code}
org.hibernate.ejb.Ejb3Configuration - Processing PersistenceUnitInfo [
name: kyrianEntityPU
persistence provider classname: org.hibernate.ejb.HibernatePersistence
classloader: WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
Temporary classloader:
com.sun.enterprise.loader.ASURLClassLoader$DelegatingClassLoader@1f7ced8
excludeUnlistedClasses: false
JTA datasource: com.sun.gjc.spi.jdbc40.DataSource40@2ccf18
Non JTA datasource: com.sun.gjc.spi.jdbc40.DataSource40@1d05cdb
Transaction type: JTA
PU root URL:
file:/opt/glassfish/glassfish/domains/kyrian/applications/kyrian/kyrian-war_war/WEB-INF/lib/kyrianEntity.jar
Shared Cache Mode: null
Validation Mode: null
Jar files URLs []
Managed classes names []
Mapping files names []
Properties [
hibernate.ejb.cfgfile: /hibernate.cfg.xml]
{code}
+configuration.properties+:
{code}
org.hibernate.cfg.Configuration - properties: {java.vendor=Sun Microsystems Inc.,
com.sun.aas.imqBin=/opt/glassfish/mq/bin, sun.java.launcher=SUN_STANDARD,
catalina.base=/opt/glassfish/glassfish/domains/kyrian,
javax.net.ssl.trustStorePassword=changeit, sun.management.compiler=HotSpot Tiered
Compilers, eclipselink.security.usedoprivileged=true,
com.sun.enterprise.jaccprovider.property.repository=/opt/glassfish/glassfish/domains/kyrian/generated/policy,
hibernate.jdbc.use_get_generated_keys=true, catalina.useNaming=false, os.name=Linux,
sun.boot.class.path=/opt/jdk1.6.0_18/jre/lib/alt-rt.jar:/opt/glassfish/glassfish/modules/endorsed/jaxb-api-osgi.jar:/opt/glassfish/glassfish/modules/endorsed/webservices-api-osgi.jar:/opt/glassfish/glassfish/modules/endorsed/javax.annotation.jar:/opt/jdk1.6.0_18/jre/lib/resources.jar:/opt/jdk1.6.0_18/jre/lib/rt.jar:/opt/jdk1.6.0_18/jre/lib/sunrsasign.jar:/opt/jdk1.6.0_18/jre/lib/jsse.jar:/opt/jdk1.6.0_18/jre/lib/jce.jar:/opt/jdk1.6.0_18/jre/lib/charsets.jar:/opt/jdk1.6.0_18/jre/classes,
java.util.logging.config.file=/opt/glassfish/glassfish/domains/kyrian/config/logging.properties,
javax.security.jacc.PolicyConfigurationFactory.provider=com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl,
felix.fileinstall.poll=5000, sun.desktop=gnome, java.vm.specification.vendor=Sun
Microsystems Inc., osgi.shell.telnet.maxconn=1, java.runtime.version=1.6.0_18-b07,
hibernate.connection.autocommit=false,
javax.net.ssl.keyStore=/opt/glassfish/glassfish/domains/kyrian/config/keystore.jks,
user.name=matienzar, web.home=/opt/glassfish/glassfish/modules/web,
shared.loader=${catalina.home}/shared/classes,${catalina.home}/shared/lib/*.jar,
osgi.shell.telnet.ip=127.0.0.1, hibernate.session_factory_name=kyrianSF,
com.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory,
user.language=es, sun.boot.library.path=/opt/jdk1.6.0_18/jre/lib/i386,
com.sun.aas.javaRoot=/opt/jdk1.6.0_18/jre, hibernate.jdbc.use_scrollable_resultset=false,
AS_IMQ_LIB=/opt/glassfish/glassfish/config/../../mq/lib,
felix.config.properties=file:/opt/glassfish/glassfish/osgi/felix/conf/config.properties,
java.version=1.6.0_18,
com.sun.aas.instanceRootURI=file:/opt/glassfish/glassfish/domains/kyrian/,
user.timezone=Europe/Madrid, java.net.preferIPv4Stack=true, sun.arch.data.model=32,
javax.rmi.CORBA.UtilClass=com.sun.corba.ee.impl.javax.rmi.CORBA.Util,
java.endorsed.dirs=/opt/glassfish/glassfish/modules/endorsed:/opt/glassfish/glassfish/lib/endorsed,
com.sun.aas.installRoot=/opt/glassfish/glassfish, java.rmi.server.randomIDs=true,
sun.cpu.isalist=, sun.jnu.encoding=UTF-8, file.encoding.pkg=sun.io, package.access=,
file.separator=/, java.specification.name=Java Platform API Specification,
hibernate.format_sql=false, java.class.version=50.0, user.country=ES,
java.home=/opt/jdk1.6.0_18/jre,
felix.fileinstall.dir=/opt/glassfish/glassfish/modules/autostart/, java.vm.info=mixed
mode, hibernate.jdbc.fetch_size=20, os.version=2.6.31-19-generic,
org.jvnet.hk2.osgimain.autostartBundles=osgi-adapter.jar, org.apache.felix.shell.jar,
org.apache.felix.shell.remote.jar, org.apache.felix.configadmin.jar,
org.apache.felix.fileinstall.jar, org.glassfish.web.rfc2109_cookie_names_enforced=false,
org.omg.CORBA.ORBSingletonClass=com.sun.corba.ee.impl.orb.ORBSingleton,
com.sun.aas.installRootURI=file:/opt/glassfish/glassfish/, path.separator=:,
java.vm.version=16.0-b13, hibernate.max_fetch_depth=2,
AS_CONFIG=/opt/glassfish/glassfish/config/../config,
jdbc.drivers=org.apache.derby.jdbc.ClientDriver, hibernate.jdbc.batch_size=20,
AS_IMQ_BIN=/opt/glassfish/glassfish/config/../../mq/bin,
java.awt.printerjob=sun.print.PSPrinterJob,
java.security.policy=/opt/glassfish/glassfish/domains/kyrian/config/server.policy,
org.jvnet.hk2.osgimain.excludedSubDirs=autostart/, sun.io.unicode.encoding=UnicodeLittle,
com.sun.enterprise.server.ss.ASQuickStartup=false, com.sun.aas.hostName=matienzar-desktop,
org.osgi.framework.storage=/opt/glassfish/glassfish/domains/kyrian/osgi-cache/felix,
package.definition=, AS_INSTALL=/opt/glassfish/glassfish/config/..,
java.security.egd=file:///dev/urandom, user.home=/home/matienzar,
com.sun.aas.instanceName=server, com.sun.aas.configRoot=/opt/glassfish/glassfish/config,
com.sun.aas.derbyRoot=/opt/glassfish/javadb, java.specification.vendor=Sun Microsystems
Inc., AS_DERBY_INSTALL=/opt/glassfish/glassfish/config/../../javadb,
java.library.path=/opt/glassfish/glassfish/lib:/opt/jdk1.6.0_18/jre/lib/i386/server:/opt/jdk1.6.0_18/jre/lib/i386:/opt/jdk1.6.0_18/lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib,
java.vendor.url=http://java.sun.com/,
javax.rmi.CORBA.StubClass=com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl,
java.vm.vendor=Sun Microsystems Inc.,
hibernate.dialect=org.kyrian.oracle.OracleDialectCustom,
common.loader=${catalina.home}/common/classes,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar,
java.runtime.name=Java(TM) SE Runtime Environment, hibernate.archive.autodetection=class,
security.home=/opt/glassfish/glassfish/modules/security,
java.class.path=/opt/glassfish/glassfish/modules/glassfish.jar,
hibernate.bytecode.use_reflection_optimizer=true, GlassFish_Platform=Felix,
felix.fileinstall.debug=1, java.vm.specification.name=Java Virtual Machine Specification,
catalina.home=/opt/glassfish/glassfish/domains/kyrian,
javax.rmi.CORBA.PortableRemoteObjectClass=com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject,
java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=unknown,
hibernate.connection.provider_class=org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider,
java.io.tmpdir=/tmp, com.sun.aas.imqLib=/opt/glassfish/mq/lib,
hk2.startup.context.args=#Thu Feb 11 10:49:34 CET 2010
-domainname=kyrian
-verbose=false
-domaindir=/opt/glassfish/glassfish/domains/kyrian
-asadmin-classpath=/opt/glassfish/glassfish/modules/admin-cli.jar
-asadmin-classname=com.sun.enterprise.admin.cli.AsadminMain
-instancename=server
-read-stdin=true
-asadmin-args=start-domain,,,kyrian
-debug=false
hk2.startup.context.mainModule=org.glassfish.core.kernel
__time_zero=1265881774284
-upgrade=false
, AS_DEF_DOMAINS_PATH=/opt/glassfish/glassfish/config/../domains,
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi,
server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar,
com.sun.aas.domainsRoot=/opt/glassfish/glassfish/domains, os.arch=i386,
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment,
com.sun.enterprise.hk2.cacheDir=/opt/glassfish/glassfish/domains/kyrian/osgi-cache/felix,
java.ext.dirs=/opt/jdk1.6.0_18/jre/lib/ext:/opt/jdk1.6.0_18/jre/jre/lib/ext:/opt/glassfish/glassfish/domains/kyrian/lib/ext,
ejb.home=/opt/glassfish/glassfish/modules/ejb,
org.jvnet.hk2.osgimain.bundlesDir=/opt/glassfish/glassfish/modules,
hibernate.use_sql_comments=false, user.dir=/opt/glassfish/glassfish/domains/kyrian/config,
com.sun.aas.instanceRoot=/opt/glassfish/glassfish/domains/kyrian, line.separator=
, java.vm.name=Java HotSpot(TM) Server VM, java.net.useSystemProxies=true,
glassfish.version=GlassFish v3 (build 74.2),
java.security.auth.login.config=/opt/glassfish/glassfish/domains/kyrian/config/login.conf,
hibernate.default_batch_fetch_size=20,
org.omg.CORBA.ORBClass=com.sun.corba.ee.impl.orb.ORBImpl, file.encoding=UTF-8,
com.sun.enterprise.security.httpsOutboundKeyAlias=s1as,
ANTLR_USE_DIRECT_CLASS_LOADING=true,
felix.system.properties=file:/opt/glassfish/glassfish/osgi/felix/conf/system.properties,
felix.fileinstall.bundles.new.start=true, ear.home=/opt/glassfish/glassfish/modules/ear,
java.specification.version=1.6,
javax.net.ssl.trustStore=/opt/glassfish/glassfish/domains/kyrian/config/cacerts.jks,
jpa.home=/opt/glassfish/glassfish/modules/jpa,
hk2.startup.context.root=/opt/glassfish/glassfish/modules,
javax.net.ssl.keyStorePassword=changeit, AS_JAVA=/opt/j2sdk, hibernate.show_sql=true,
osgi.shell.telnet.port=6666
{code}
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...
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira