You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(32) |
Jun
(175) |
Jul
(209) |
Aug
(302) |
Sep
(287) |
Oct
(339) |
Nov
(314) |
Dec
(329) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(479) |
Feb
(389) |
Mar
(599) |
Apr
(307) |
May
(390) |
Jun
(300) |
Jul
(410) |
Aug
(458) |
Sep
(299) |
Oct
(315) |
Nov
(363) |
Dec
(529) |
2005 |
Jan
(568) |
Feb
(434) |
Mar
(1004) |
Apr
(823) |
May
(767) |
Jun
(763) |
Jul
(854) |
Aug
(862) |
Sep
(560) |
Oct
(853) |
Nov
(763) |
Dec
(731) |
2006 |
Jan
(776) |
Feb
(608) |
Mar
(657) |
Apr
(424) |
May
(559) |
Jun
(440) |
Jul
(448) |
Aug
(58) |
Sep
|
Oct
(17) |
Nov
(16) |
Dec
(8) |
2007 |
Jan
(1) |
Feb
(8) |
Mar
(2) |
Apr
(5) |
May
(3) |
Jun
(3) |
Jul
(3) |
Aug
(16) |
Sep
(10) |
Oct
(4) |
Nov
(4) |
Dec
(4) |
2008 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: <leg...@at...> - 2003-12-17 12:02:08
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-560 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-560 Summary: Caching configuration with same class mapped in many sessionFactories Type: Improvement Status: Unassigned Priority: Trivial Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: William Drai Created: Wed, 17 Dec 2003 6:01 AM Updated: Wed, 17 Dec 2003 6:01 AM Description: I'm sorry to reopen this issue but I still have a small problem. I have the same class mapped in three differents session factories to three different MySQL databases. Everything works (now with EHCache) BUT I am not able to define different cache configurations for the three cache instances because the cache region name is the same (it is the class name). This is also true for all cache providers. Moreover I have not tried yet the replicated cache but I don't see how the replication could be able to identify the correct cache instance in the remote server if all three have the same region name. For the moment I implemented a wrapper CacheProvider which just adds the session factory property 'cache.region_prefix' before the region name and added this property to the Hibernate JMX MBean. It would be a lot easier to configure if this was directly configured in hibernate. This is really trivial and I hope it could be useful for other people. Thanks. William --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-17 11:26:10
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-559 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-559 Summary: SQLServer "can not re-read row data..." exception in one-to-many Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 final Assignee: Reporter: Bodo Junglas Created: Wed, 17 Dec 2003 5:25 AM Updated: Wed, 17 Dec 2003 5:25 AM Environment: Windows 2000/XP, JBoss 3.2.3 Description: PAttributedEntity has a non-lazy one-to-many relation to PAttributeInstance mapped as java.util.Set PAttributedEntity has joined-subclasses (don't know if that is important here). If I load one of these subclasses from SQLServer using the Mircosoft JDBC driver I get: 12:14:06,706 DEBUG [SessionImpl] collection not cached 12:14:06,706 DEBUG [SessionImpl] done materializing entity [de.objectcode.canyon.persistent.instance.PProcessInstance#10] 12:14:06,706 DEBUG [SessionImpl] initializing non-lazy collections 12:14:06,706 DEBUG [SessionImpl] initializing collection [de.objectcode.canyon.persistent.instance.PAttributedEntity.attributesSet#10] 12:14:06,706 DEBUG [BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets 12:14:06,706 DEBUG [BatcherImpl] prepared statement get: select attributes0_.ATTRIBUTEINSTANCEID as ATTRIBUT1___, attributes0_.OWNERID as OWNERID__, attributes0 _.ATTRIBUTEINSTANCEID as ATTRIBUT1_0_, attributes0_.BOOLVALUE as BOOLVALUE0_, attributes0_.DATAVALUE as DATAVALUE0_, attributes0_.DBLVALUE as DBLVALUE0_, attrib utes0_.INTVALUE as INTVALUE0_, attributes0_.STRVALUE as STRVALUE0_, attributes0_.OBJVALUE as OBJVALUE0_, attributes0_.TYPE as TYPE0_, attributes0_.NAME as NAME0 _ from PATTRIBUTEINSTANCES attributes0_ where attributes0_.OWNERID=? 12:14:06,706 DEBUG [BatcherImpl] preparing statement 12:14:06,706 DEBUG [LongType] binding '10' to parameter: 1 12:14:06,736 DEBUG [Loader] result set contains (possibly empty) collection: [de.objectcode.canyon.persistent.instance.PAttributedEntity.attributesSet#10] 12:14:06,736 DEBUG [SessionImpl] uninitialized collection: initializing 12:14:06,736 DEBUG [Loader] processing result set 12:14:06,736 INFO [STDOUT] >>>>>>>> ATTRIBUT1_0_ 3 ATTRIBUT1_0_ ATTRIBUT1_0_ 12:14:06,736 DEBUG [LongType] returning '7' as column: ATTRIBUT1_0_ 12:14:06,736 DEBUG [Loader] result row: 7 12:14:06,736 DEBUG [Loader] Initializing object from ResultSet: 7 12:14:06,736 DEBUG [Loader] Hydrating entity: de.objectcode.canyon.persistent.instance.PAttributeInstance#7 12:14:06,736 DEBUG [BooleanType] returning null as column: BOOLVALUE0_ 12:14:06,736 DEBUG [TimestampType] returning null as column: DATAVALUE0_ 12:14:06,736 DEBUG [DoubleType] returning null as column: DBLVALUE0_ 12:14:06,736 DEBUG [IntegerType] returning null as column: INTVALUE0_ 12:14:06,736 DEBUG [StringType] returning 'WorkFlowSink' as column: STRVALUE0_ 12:14:06,736 DEBUG [IntegerType] returning '0' as column: TYPE0_ 12:14:06,736 DEBUG [StringType] returning 'starterUserID' as column: NAME0_ 12:14:06,736 INFO [STDOUT] >>>>>>>> OWNERID__ 2 OWNERID__ OWNERID__ 12:14:06,736 DEBUG [JDBCExceptionReporter] SQL Exception java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can not re-read row data for column 2. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.base.BaseResultSet.validateColumnIndex(Unknown Source) at com.microsoft.jdbc.base.BaseResultSet.getLong(Unknown Source) at com.microsoft.jdbc.base.BaseResultSet.getLong(Unknown Source) at de.objectcode.jdbcfix.ResultSetFix.getLong(ResultSetFix.java:444) at net.sf.hibernate.type.LongType.get(LongType.java:18) at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:62) at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:53) at net.sf.hibernate.collection.AbstractCollectionPersister.readKey(AbstractCollectionPersister.java:379) at net.sf.hibernate.loader.Loader.readCollectionElement(Loader.java:282) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:214) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:128) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:905) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:880) at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:80) at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:284) at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3131) at net.sf.hibernate.collection.PersistentCollection.forceInitialization(PersistentCollection.java:331) at net.sf.hibernate.impl.SessionImpl.initializeNonLazyCollections(SessionImpl.java:3005) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133) at net.sf.hibernate.loader.Loader.list(Loader.java:918) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:983) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1473) at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:45) at de.objectcode.canyon.persistent.instance.InstanceRepository.findProcessInstances(InstanceRepository.java:306) at de.objectcode.canyon.jmx.admin.ProcessAdmin.listProcessInstances(ProcessAdmin.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ ... much much more JBoss related stuff ... ] Obviously Hibernate accesses the columns in the ResultSet in the wrong order, i.e. first columns 3,4,5,6,7,8,9,10,11 then column 2. The MS-Driver might be a little bit prissy here, but if I remember die JDBC-Spec right a ResultSet is not obliged to allow column access in arbirary order. So I think this is indeed a bug in Hibernate. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-17 10:57:08
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-558 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-558 Summary: ODMG: Tx.abort() will fail after an unsuccessfull Tx.commit() Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.0.3 Assignee: Reporter: Oliver Gries Created: Wed, 17 Dec 2003 4:56 AM Updated: Wed, 17 Dec 2003 4:56 AM Description: As far as I saw the current CVS versions this bug will affect newer versions than 2.0.3 as well. Problem ======= With the current implementation of the commit() method in the class Transaction, no abort/rollback is possible, due to the use of finally and setting the transaction variable tx to null, even if the commit fails. Solution ======== Remove the finally statement in commit() e.g.: public void commit() { database.disassociateThread(); try { if (tx!=null) tx.commit(); // if we are here, we were successfull tx=null; try { session.close(); } catch (HibernateException he) { throw new ODMGRuntimeException( he.getMessage() ); } } catch (HibernateException he) { throw new ODMGRuntimeException( he.getMessage() ); } } Improvements ============ Could you please as well improve the implementation code of Database.getSession() Implementation.currentTransaction() Transaction.checkpoint() in a way, that NullpointerExceptions caused ba uninitialized variables will not be thrown, even if you call those methods outside an transaction context. OLD: ---- public Session getSession() { return currentTransaction().getSession(); } BETTER: ------- public Session getSession() { Transaction aTx = currentTransaction(); if (aTx != null) return aTx.getSession(); else return null; } Thanks Oliver --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-17 01:43:09
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 16 Dec 2003 7:42 PM Fixed now. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-553 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-553 Summary: Type reflection is broken with property access="field" Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.1.1 Versions: 2.1.1 Assignee: Gavin King Reporter: Steve Bate Created: Sun, 14 Dec 2003 8:17 PM Updated: Tue, 16 Dec 2003 7:42 PM Description: If a property element with access="field" is used to bind a property to a private field in a class and the field does not have a bean property getter, the mapping fails. For example... <property name="foo" access="field"/> fails but <property name="foo" type="int" access="field"/> works. The problem is that the reflectedPropertyType method is hard-wired to use the BasicPropertyAccess regardless of the the specified property access method. Stack trace follows... net.sf.hibernate.PropertyNotFoundException: Could not find a getter for foo in class Foo at net.sf.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:182) at net.sf.hibernate.util.ReflectHelper.reflectedPropertyType(ReflectHelper.java:59) at net.sf.hibernate.mapping.SimpleValue.setTypeByReflection(SimpleValue.java:170) at net.sf.hibernate.cfg.Binder.createProperty(Binder.java:994) at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:987) at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:338) at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1167) at net.sf.hibernate.cfg.Configuration.add(Configuration.java:245) at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:268) at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:291) --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-17 01:03:12
|
Message: The following issue has been re-assigned. Assignee: Gavin King (mailto:ga...@hi...) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-541 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-541 Summary: DDL Enhance for drop column and schema usage fix Type: Patch Status: Open Priority: Critical Project: Hibernate2 Components: core Versions: 2.1 beta 5 Assignee: Gavin King Reporter: Jan Blok Created: Wed, 10 Dec 2003 4:43 PM Updated: Tue, 16 Dec 2003 7:02 PM Environment: Hibernate-2.1, all dbs Description: [enh]-add Table.sqlAlterDropColumn method and enhance all dialect to support this new feature [bug]-tablemetadata.initColumns does not use local schema field but http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-534 [bug]-TableMetadata does not take the schema in the hash key for entries in tables map (is little related to previous) [enh]-add method to Table which constructs/returns schema.tablename [enh]-overload Table constructor with one to supply all required arguments at once (like schema and table name) [enh]-Table.sqlAlterStrings rename to sqlAlterAddColumnStrings --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 13:14:08
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 16 Dec 2003 7:12 AM Ummmm. You had: <set name=3D"permissions" table=3D"act_perm"> <key column=3D"permission_id"/> <many-to-many column=3D"actor_id" class=3D"Actor"/> </set> I changed to: <set name=3D"permissions" table=3D"act_perm"> <key column=3D"permission_id"/> <many-to-many column=3D"actor_id" class=3D"Permission"/> </set> And everything fine. I can't possibly believe that this is a change in beha= vior from 2.0.2! --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-557 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-557 Summary: IllegalArgumentException when using log4j.xml Type: Bug Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Components:=20 core Versions: 2.1 final Assignee:=20 Reporter: Kai Pr=C3=BCnte Created: Tue, 16 Dec 2003 6:50 AM Updated: Tue, 16 Dec 2003 7:12 AM Environment: Windows 2000, Java 1.4.2-b28 Description: After updateing from 2.0.2 to 2.2 I have got strange problems with joined s= ubclasses. After creating some classes and insert it into a Hibernate sessi= on, I get during commit an exception (see below). However if I exchange my log4j.xml by a log4j.properties everything is work= ing well! I know it sounds strange, so I will attach the example to this issue. DEBUG 13:40:26.200 Flushed: 6 (re)creations, 0 updates, 0 removals to 6 co= llections =20 DEBUG 13:40:26.210 listing entities: =20 ERROR 13:40:26.220 IllegalArgumentException in class: Actor, getter method= of property: id =20 Problems during configuring Hibernate! net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred= calling getter of Actor.id net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred= calling getter of Actor.id =09at net.sf.hibernate.property.BasicPropertyAccessor$BasicGetter.get(Basic= PropertyAccessor.java:110) =09at net.sf.hibernate.persister.AbstractEntityPersister.getIdentifier(Abst= ractEntityPersister.java:303) =09at net.sf.hibernate.proxy.HibernateProxyHelper.getIdentifier(HibernatePr= oxyHelper.java:50) =09at net.sf.hibernate.type.EntityType.toString(EntityType.java:84) =09at net.sf.hibernate.type.PersistentCollectionType.toString(PersistentCol= lectionType.java:81) =09at net.sf.hibernate.impl.Printer.toString(Printer.java:49) =09at net.sf.hibernate.impl.Printer.toString(Printer.java:82) =09at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:22= 26) =09at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2184) =09at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.j= ava:61) =09at JoinedActor.testSearchUser(JoinedActor.java:45) =09at JoinedActor.main(JoinedActor.java:84) Caused by: java.lang.IllegalArgumentException: object is not an instance of= declaring class =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) =09at java.lang.reflect.Method.invoke(Method.java:324) =09at net.sf.hibernate.property.BasicPropertyAccessor$BasicGetter.get(Basic= PropertyAccessor.java:96) =09... 11 more --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 12:53:08
|
The following issue has been updated: Updater: Kai Pr=C3=BCnte (mailto:pr...@ss...) Date: Tue, 16 Dec 2003 6:51 AM Comment: I use all jars from the Hibernate distribution. Please start with JoinedActor.java. Changes: Attachment changed to MyTests.zip --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-557&page=3Dhistory --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-557 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-557 Summary: IllegalArgumentException when using log4j.xml Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components:=20 core Versions: 2.1 final Assignee:=20 Reporter: Kai Pr=C3=BCnte Created: Tue, 16 Dec 2003 6:50 AM Updated: Tue, 16 Dec 2003 6:51 AM Environment: Windows 2000, Java 1.4.2-b28 Description: After updateing from 2.0.2 to 2.2 I have got strange problems with joined s= ubclasses. After creating some classes and insert it into a Hibernate sessi= on, I get during commit an exception (see below). However if I exchange my log4j.xml by a log4j.properties everything is work= ing well! I know it sounds strange, so I will attach the example to this issue. DEBUG 13:40:26.200 Flushed: 6 (re)creations, 0 updates, 0 removals to 6 co= llections =20 DEBUG 13:40:26.210 listing entities: =20 ERROR 13:40:26.220 IllegalArgumentException in class: Actor, getter method= of property: id =20 Problems during configuring Hibernate! net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred= calling getter of Actor.id net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred= calling getter of Actor.id =09at net.sf.hibernate.property.BasicPropertyAccessor$BasicGetter.get(Basic= PropertyAccessor.java:110) =09at net.sf.hibernate.persister.AbstractEntityPersister.getIdentifier(Abst= ractEntityPersister.java:303) =09at net.sf.hibernate.proxy.HibernateProxyHelper.getIdentifier(HibernatePr= oxyHelper.java:50) =09at net.sf.hibernate.type.EntityType.toString(EntityType.java:84) =09at net.sf.hibernate.type.PersistentCollectionType.toString(PersistentCol= lectionType.java:81) =09at net.sf.hibernate.impl.Printer.toString(Printer.java:49) =09at net.sf.hibernate.impl.Printer.toString(Printer.java:82) =09at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:22= 26) =09at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2184) =09at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.j= ava:61) =09at JoinedActor.testSearchUser(JoinedActor.java:45) =09at JoinedActor.main(JoinedActor.java:84) Caused by: java.lang.IllegalArgumentException: object is not an instance of= declaring class =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) =09at java.lang.reflect.Method.invoke(Method.java:324) =09at net.sf.hibernate.property.BasicPropertyAccessor$BasicGetter.get(Basic= PropertyAccessor.java:96) =09... 11 more --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 12:51:08
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-557 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-557 Summary: IllegalArgumentException when using log4j.xml Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components:=20 core Versions: 2.1 final Assignee:=20 Reporter: Kai Pr=C3=BCnte Created: Tue, 16 Dec 2003 6:50 AM Updated: Tue, 16 Dec 2003 6:50 AM Environment: Windows 2000, Java 1.4.2-b28 Description: After updateing from 2.0.2 to 2.2 I have got strange problems with joined s= ubclasses. After creating some classes and insert it into a Hibernate sessi= on, I get during commit an exception (see below). However if I exchange my log4j.xml by a log4j.properties everything is work= ing well! I know it sounds strange, so I will attach the example to this issue. DEBUG 13:40:26.200 Flushed: 6 (re)creations, 0 updates, 0 removals to 6 co= llections =20 DEBUG 13:40:26.210 listing entities: =20 ERROR 13:40:26.220 IllegalArgumentException in class: Actor, getter method= of property: id =20 Problems during configuring Hibernate! net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred= calling getter of Actor.id net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred= calling getter of Actor.id =09at net.sf.hibernate.property.BasicPropertyAccessor$BasicGetter.get(Basic= PropertyAccessor.java:110) =09at net.sf.hibernate.persister.AbstractEntityPersister.getIdentifier(Abst= ractEntityPersister.java:303) =09at net.sf.hibernate.proxy.HibernateProxyHelper.getIdentifier(HibernatePr= oxyHelper.java:50) =09at net.sf.hibernate.type.EntityType.toString(EntityType.java:84) =09at net.sf.hibernate.type.PersistentCollectionType.toString(PersistentCol= lectionType.java:81) =09at net.sf.hibernate.impl.Printer.toString(Printer.java:49) =09at net.sf.hibernate.impl.Printer.toString(Printer.java:82) =09at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:22= 26) =09at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2184) =09at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.j= ava:61) =09at JoinedActor.testSearchUser(JoinedActor.java:45) =09at JoinedActor.main(JoinedActor.java:84) Caused by: java.lang.IllegalArgumentException: object is not an instance of= declaring class =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) =09at java.lang.reflect.Method.invoke(Method.java:324) =09at net.sf.hibernate.property.BasicPropertyAccessor$BasicGetter.get(Basic= PropertyAccessor.java:96) =09... 11 more --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 12:39:08
|
Message: The following issue has been re-assigned. Assignee: Gavin King (mailto:ga...@hi...) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-553 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-553 Summary: Type reflection is broken with property access="field" Type: Bug Status: Open Priority: Major Project: Hibernate2 Components: core Versions: 2.1.1 Assignee: Gavin King Reporter: Steve Bate Created: Sun, 14 Dec 2003 8:17 PM Updated: Tue, 16 Dec 2003 6:38 AM Description: If a property element with access="field" is used to bind a property to a private field in a class and the field does not have a bean property getter, the mapping fails. For example... <property name="foo" access="field"/> fails but <property name="foo" type="int" access="field"/> works. The problem is that the reflectedPropertyType method is hard-wired to use the BasicPropertyAccess regardless of the the specified property access method. Stack trace follows... net.sf.hibernate.PropertyNotFoundException: Could not find a getter for foo in class Foo at net.sf.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:182) at net.sf.hibernate.util.ReflectHelper.reflectedPropertyType(ReflectHelper.java:59) at net.sf.hibernate.mapping.SimpleValue.setTypeByReflection(SimpleValue.java:170) at net.sf.hibernate.cfg.Binder.createProperty(Binder.java:994) at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:987) at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:338) at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1167) at net.sf.hibernate.cfg.Configuration.add(Configuration.java:245) at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:268) at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:291) --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 12:31:08
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 16 Dec 2003 6:30 AM Closing this since the user did not respond. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-550 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-550 Summary: FooBarTest failed Type: Bug Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Versions: 2.1 final Assignee: Reporter: Rafal Groszewski Created: Sat, 13 Dec 2003 3:28 PM Updated: Tue, 16 Dec 2003 6:30 AM Description: java 1.4.2_01 (also 1.3.1_06) mysql 4.0.16 jdbc driver mysql-connector-java-3.0.9-stable-bin.jar all tests passed except testPersistCollections Error could not deserialize net.sf.hibernate.type.SerializationException: could not deserialize at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:194) at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:220) at org.hibernate.test.FooBarTest.testPersistCollections(FooBarTest.java:2262) at org.hibernate.test.TestCase.runTest(TestCase.java:79) Caused by: java.lang.ClassNotFoundException: long at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190)... --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 12:20:08
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 16 Dec 2003 6:18 AM This is not a bug and won't be fixed. I'm sure you will be able to find a workaround. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-556 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-556 Summary: Wrong generated SQL statements for group by Type: Bug Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Versions: 2.1 Assignee: Gavin King Reporter: Joachim Schmid Created: Tue, 16 Dec 2003 4:31 AM Updated: Tue, 16 Dec 2003 6:18 AM Environment: Microsoft Windows 2000. IBM DB2 V7.2 Description: The HQL following statement ---------------------------------------------- select tl.teilProjekt, sum(tl.stunden) from de.bea.plato.domain.StundenEntry tl where tl.day >= :dayFrom and tl.day <= :dayTo and tl.mitarbeiter=:mitarbeiter group by tl.teilProjekt ----------------------------------------------- is translated to ---------------------------------------------- select teilprojek1_.OID as OID, teilprojek1_.ProjektOID as ProjektOID, teilprojek1_.bezeichnung as bezeichn3_, teilprojek1_.teilProjektArt as teilProj4_, teilprojek1_.teilProjektKategorie as teilProj5_, teilprojek1_.teilProjektInactive as teilProj6_, teilprojek1_.budget as budget, teilprojek1_.aufwand as aufwand, teilprojek1_.OID as x0_0_, sum(stundenent0_.stunden) as x1_0_ from STUNDEN stundenent0_, TEILPROJEKT teilprojek1_ where stundenent0_.TeilProjektOID=teilprojek1_.OID and ((stundenent0_.day>=? )and(stundenent0_.day<=? )and(stundenent0_.MitarbeiterOID=? )) group by stundenent0_.TeilProjektOID ---------------------------------------------- The problem is that IBM DB2 complains about the group by attribute "stundenent0_.TeilProjektOID" which is not part of the select part. MySQL seems to be intelligent enough to detect that "stundenent0_.TeilProjektOID" is the same as "teilprojek1_.OID as OID". However, it seems that the generated SQL statement is wrong. STUNDEN ist defined as: <class name="de.bea.plato.domain.StundenEntry" table="STUNDEN"> <id column="OID" name="oid" length="25" type="java.lang.String" unsaved-value="null"> <generator class="de.bea.plato.datastore.PlatoIdGenerator"/> </id> <many-to-one name="teilProjekt" column="TeilProjektOID" not-null="true"/> <many-to-one name="mitarbeiter" column="MitarbeiterOID" not-null="true"/> <property length="70" name="text" not-null="true"/> <property length="70" name="uhrzeitText" not-null="true"/> <property name="verrechnet" not-null="true"/> <property name="stunden" type="de.bea.plato.hibernate.TypeRationalNumberStunden" not-null="true"/> <property name="stundensatz" type="de.bea.plato.hibernate.TypeRationalNumberEUR" not-null="true"/> <property name="day" type="de.bea.plato.hibernate.TypeDay"> <column name="day" index="StundenEntyDayIdx"/> </property> </class> and TeilProjekt is defined as <class name="de.bea.plato.domain.TeilProjekt" table="TEILPROJEKT"> <id column="OID" name="oid" length="25" type="java.lang.String" unsaved-value="null"> <generator class="de.bea.plato.datastore.PlatoIdGenerator"/> </id> <many-to-one name="projekt" column="ProjektOID" not-null="true"/> <property length="70" name="bezeichnung" not-null="true"/> <property name="teilProjektArt" type="de.bea.plato.hibernate.TypeTeilProjektArt" not-null="true"/> <property name="teilProjektKategorie" type="de.bea.plato.hibernate.TypeTeilProjektKategorie" not-null="true"/> <property name="teilProjektInactive" not-null="false"/> <property name="budget" type="de.bea.plato.hibernate.TypeRationalNumberEUR" not-null="true"/> <property name="aufwand" type="de.bea.plato.hibernate.TypeRationalNumberStunden" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 12:16:09
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 16 Dec 2003 6:15 AM This is expected functionality, Criteria API does not support multiple joins to same association. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-555 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-555 Summary: Multiple joins using criteria Type: Bug Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Versions: 2.1 Assignee: Gavin King Reporter: Mike Mosiewicz Created: Tue, 16 Dec 2003 4:30 AM Updated: Tue, 16 Dec 2003 6:15 AM Environment: Hibernate 2.1 final, JDK 1.4.2_02 Description: Suppose you want to find a Cat that have kittens named Foo and Bar. You would want to try the following criteria: Crtieria c = sess.createCriteria(Cat.class); c.createCriteria("kittens", "first") .add( Expression.eq("name", "Foo"); c.createCriteria("kittens", "second") .add( Expression.eq("name", "Bar"); c.list(); You would expect that the following query would create multiple joins. However while it creates multiple WHERE conditions for proper aliases, it doesn't create multiple joins, i.e. it only creates join for the first createCriteria. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 10:33:08
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-556 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-556 Summary: Wrong generated SQL statements for group by Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Reporter: Joachim Schmid Created: Tue, 16 Dec 2003 4:31 AM Updated: Tue, 16 Dec 2003 4:31 AM Environment: Microsoft Windows 2000. IBM DB2 V7.2 Description: The HQL following statement ---------------------------------------------- select tl.teilProjekt, sum(tl.stunden) from de.bea.plato.domain.StundenEntry tl where tl.day >= :dayFrom and tl.day <= :dayTo and tl.mitarbeiter=:mitarbeiter group by tl.teilProjekt ----------------------------------------------- is translated to ---------------------------------------------- select teilprojek1_.OID as OID, teilprojek1_.ProjektOID as ProjektOID, teilprojek1_.bezeichnung as bezeichn3_, teilprojek1_.teilProjektArt as teilProj4_, teilprojek1_.teilProjektKategorie as teilProj5_, teilprojek1_.teilProjektInactive as teilProj6_, teilprojek1_.budget as budget, teilprojek1_.aufwand as aufwand, teilprojek1_.OID as x0_0_, sum(stundenent0_.stunden) as x1_0_ from STUNDEN stundenent0_, TEILPROJEKT teilprojek1_ where stundenent0_.TeilProjektOID=teilprojek1_.OID and ((stundenent0_.day>=? )and(stundenent0_.day<=? )and(stundenent0_.MitarbeiterOID=? )) group by stundenent0_.TeilProjektOID ---------------------------------------------- The problem is that IBM DB2 complains about the group by attribute "stundenent0_.TeilProjektOID" which is not part of the select part. MySQL seems to be intelligent enough to detect that "stundenent0_.TeilProjektOID" is the same as "teilprojek1_.OID as OID". However, it seems that the generated SQL statement is wrong. STUNDEN ist defined as: <class name="de.bea.plato.domain.StundenEntry" table="STUNDEN"> <id column="OID" name="oid" length="25" type="java.lang.String" unsaved-value="null"> <generator class="de.bea.plato.datastore.PlatoIdGenerator"/> </id> <many-to-one name="teilProjekt" column="TeilProjektOID" not-null="true"/> <many-to-one name="mitarbeiter" column="MitarbeiterOID" not-null="true"/> <property length="70" name="text" not-null="true"/> <property length="70" name="uhrzeitText" not-null="true"/> <property name="verrechnet" not-null="true"/> <property name="stunden" type="de.bea.plato.hibernate.TypeRationalNumberStunden" not-null="true"/> <property name="stundensatz" type="de.bea.plato.hibernate.TypeRationalNumberEUR" not-null="true"/> <property name="day" type="de.bea.plato.hibernate.TypeDay"> <column name="day" index="StundenEntyDayIdx"/> </property> </class> and TeilProjekt is defined as <class name="de.bea.plato.domain.TeilProjekt" table="TEILPROJEKT"> <id column="OID" name="oid" length="25" type="java.lang.String" unsaved-value="null"> <generator class="de.bea.plato.datastore.PlatoIdGenerator"/> </id> <many-to-one name="projekt" column="ProjektOID" not-null="true"/> <property length="70" name="bezeichnung" not-null="true"/> <property name="teilProjektArt" type="de.bea.plato.hibernate.TypeTeilProjektArt" not-null="true"/> <property name="teilProjektKategorie" type="de.bea.plato.hibernate.TypeTeilProjektKategorie" not-null="true"/> <property name="teilProjektInactive" not-null="false"/> <property name="budget" type="de.bea.plato.hibernate.TypeRationalNumberEUR" not-null="true"/> <property name="aufwand" type="de.bea.plato.hibernate.TypeRationalNumberStunden" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 10:31:09
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-555 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-555 Summary: Multiple joins using criteria Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Reporter: Mike Mosiewicz Created: Tue, 16 Dec 2003 4:30 AM Updated: Tue, 16 Dec 2003 4:30 AM Environment: Hibernate 2.1 final, JDK 1.4.2_02 Description: Suppose you want to find a Cat that have kittens named Foo and Bar. You would want to try the following criteria: Crtieria c = sess.createCriteria(Cat.class); c.createCriteria("kittens", "first") .add( Expression.eq("name", "Foo"); c.createCriteria("kittens", "second") .add( Expression.eq("name", "Bar"); c.list(); You would expect that the following query would create multiple joins. However while it creates multiple WHERE conditions for proper aliases, it doesn't create multiple joins, i.e. it only creates join for the first createCriteria. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-16 07:41:08
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-554 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-554 Summary: <dynamic-component> return null Type: Improvement Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 final Assignee: Reporter: J.A. Gonzalez Created: Tue, 16 Dec 2003 1:40 AM Updated: Tue, 16 Dec 2003 1:40 AM Environment: j2sdk1.4.2_01, MS SQL 2000, Windows 2000 SP4 Description: If all attributes of a dynamic component are NULL in database, the persistance class returns a NULL Map. If one of dynamic attributes is NOT NULL, the the class returns a Map containing all specified propertys. These propertys with null values returns NULL and the set attribute contains the correct value. Improvement: Return allways a MAP and never NULL. Return the map with all keys set and NULL values as Object if the attribute is NUll in database. Sorry, my english insn't really good. I hope you understand what i wrote. The mapping file: <class table="user" name="user.User" lazy="false"> <id unsaved-value="0" column="id" type="int" name="id"> <generator class="identity"/> </id> <property type="boolean" column="selectable" name="selectable"/> <.. more properties ....> <dynamic-component name="userAttributes" > <property type="string" column="location" name="location"/> <property type="string" column="company" name="company"/> <property type="string" column="emailaddress" name="emailAddress"/> <property type="string" column="address" name="address"/> <property type="string" column="faxnumber" name="faxNumber"/> <property type="string" column="phonenumber" name="phoneNumber"/> <property type="string" column="zipcode" name="zipCode"/> <property type="string" column="personalnumber" name="personalNumber"/> <property type="string" column="employeenumber" name="employeeNumber"/> <property type="string" column="mobilephonenumber" name="mobilePhoneNumber"/> <property type="string" column="department" name="department"/> </dynamic-component> </class> The java class: public class User { private Map userAttributes; public User() { userAttributes = new HashMap(); } <...... more getters and setters ......> public Map getUserAttributes() { return userAttributes; } public void setUserAttributes(Map map) { userAttributes = map; } --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-15 02:17:28
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-553 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-553 Summary: Type reflection is broken with property access="field" Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1.1 Assignee: Reporter: Steve Bate Created: Sun, 14 Dec 2003 8:17 PM Updated: Sun, 14 Dec 2003 8:17 PM Description: If a property element with access="field" is used to bind a property to a private field in a class and the field does not have a bean property getter, the mapping fails. For example... <property name="foo" access="field"/> fails but <property name="foo" type="int" access="field"/> works. The problem is that the reflectedPropertyType method is hard-wired to use the BasicPropertyAccess regardless of the the specified property access method. Stack trace follows... net.sf.hibernate.PropertyNotFoundException: Could not find a getter for foo in class Foo at net.sf.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:182) at net.sf.hibernate.util.ReflectHelper.reflectedPropertyType(ReflectHelper.java:59) at net.sf.hibernate.mapping.SimpleValue.setTypeByReflection(SimpleValue.java:170) at net.sf.hibernate.cfg.Binder.createProperty(Binder.java:994) at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:987) at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:338) at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1167) at net.sf.hibernate.cfg.Configuration.add(Configuration.java:245) at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:268) at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:291) --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-15 01:51:29
|
Message: The following issue has been closed. Resolver: Gavin King Date: Sun, 14 Dec 2003 7:51 PM Yeah, actually you are expected to enclose in (), but I fixed this anyway. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-552 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-552 Summary: StringIndexOutOfBoundException Type: Bug Status: Closed Priority: Minor Resolution: FIXED Project: Hibernate2 Components:=20 core Fix Fors: 2.1.1 Versions: 2.1 rc1 Assignee: Gavin King Reporter: Andr=C3=A9 Wolf Created: Sun, 14 Dec 2003 2:41 PM Updated: Sun, 14 Dec 2003 7:51 PM Environment: Hibernate 2.1final, MSSQL-Server using Microsoft's JDBC-Driver= , JDK 1.4.1, Tomcat 4.1.29, Eclipse 2.1.1 Description: A StringOutOfBoundException occurs, if you use Query.setParameterList() wit= h a named parameter and the named parameter is the last word in the query s= tring: Query q =3D session.createQuery("from TreeNode tn where tn not in :NODELIS= T"); q.setParameterList("NODELIST", nodeList); // nodelist is an ArrayList List result =3D q.list(); If you put the parameter within parenthesis, all works well: Query q =3D session.createQuery("from TreeNode tn where tn not in (:NODELI= ST)"); It seems to be good practice to alway use parenthesis for parameter lists, = but the exception is capable of being misunderstood. I managed to find the location, where this exception occurs. It is in net.s= f.hibernate.util.StringHelper.replace() (line 63). This method tries to ver= ify, if the character after the placeholder (of the named parameter) may be= a part of a Java identifier using Character.isJavaIdentifierPart(). But th= e method does not check if the character is outside of the template string,= it just assumes there is always a character. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-15 01:48:29
|
Message: The following issue has been closed. Resolver: Gavin King Date: Sun, 14 Dec 2003 7:48 PM I just upgraded to proxool 0.8.3. We kinda knew in advance that there might be some issues between proxool and CGLIB2. Hopefully should now be fixed. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-551 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-551 Summary: Proxool included with 2.1 throws exception on startup. Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.1.1 Versions: 2.1 Assignee: Gavin King Reporter: Krzysztof Dabrowski Created: Sun, 14 Dec 2003 12:31 PM Updated: Sun, 14 Dec 2003 7:48 PM Environment: Hibernate 2.1 , MySQL 4.0.16, Mandrake Linux 9.2 Description: I've decided to turn on Proxool connection pool and it throws the following exception on startup: [19:20:56.899] Proxool Provider using delegate JDBC Driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/boxlife [19:20:56.930] Proxool Provider Connection URL: proxool.hibernate-1:com.mysql.jdbc.Driver:jdbc:mysql://localhost/boxlife [19:20:57.128] Proxool 0.8.2-bh-1+ [19:20:57.434] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:20:57.582] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) [19:20:59.164] Prototype [19:20:59.164] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.164] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:95) [19:20:59.164] at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:42) [19:20:59.164] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.164] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.164] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.164] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.164] ... 7 more [19:20:59.164] Caused by: java.lang.ClassFormatError: Illegal Class name "java/sql/Connection$$EnhancerByCGLIB$$f39e9d85-2" [19:20:59.164] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.164] ... 13 more [19:20:59.174] Couldn't get connection [19:20:59.174] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.174] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.174] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.174] at org.logicalcobwebs.proxool.PrototyperController.buildConnection(PrototyperController.java:88) [19:20:59.174] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:222) [19:20:59.174] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.174] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.174] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.174] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.174] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.174] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.174] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.174] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.174] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.174] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.174] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.174] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.174] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.174] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.174] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.174] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.174] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.174] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.174] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.174] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.174] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.174] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.174] ... 33 more [19:20:59.174] Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" [19:20:59.174] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.174] ... 39 more [19:20:59.222] Problem [19:20:59.222] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.222] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.222] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.222] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.222] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.222] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.222] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.222] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.222] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.222] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.222] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.222] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.222] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.222] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.222] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.222] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.222] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.222] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.222] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.222] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.251] Could not obtain connection metadata [19:20:59.251] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.251] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.251] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.251] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.251] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.251] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.251] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.251] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.251] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.251] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.251] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.251] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.251] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.251] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.251] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.251] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.251] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.251] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.251] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.251] at com.caucho.server.resin.Resin.main(Resin.java:490) Upgrading to latest (0.8.3) proxool fixes it: [19:23:27.696] Proxool 0.8.3 (14-Dec-2003 16:06) [19:23:27.982] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:23:28.055] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) so please update the proxool jar in cvs. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-14 20:42:28
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-552 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-552 Summary: StringIndexOutOfBoundException Type: Bug Status: Unassigned Priority: Minor Project: Hibernate2 Components:=20 core Versions: 2.1 rc1 Assignee:=20 Reporter: Andr=C3=A9 Wolf Created: Sun, 14 Dec 2003 2:41 PM Updated: Sun, 14 Dec 2003 2:41 PM Environment: Hibernate 2.1final, MSSQL-Server using Microsoft's JDBC-Driver= , JDK 1.4.1, Tomcat 4.1.29, Eclipse 2.1.1 Description: A StringOutOfBoundException occurs, if you use Query.setParameterList() wit= h a named parameter and the named parameter is the last word in the query s= tring: Query q =3D session.createQuery("from TreeNode tn where tn not in :NODELIS= T"); q.setParameterList("NODELIST", nodeList); // nodelist is an ArrayList List result =3D q.list(); If you put the parameter within parenthesis, all works well: Query q =3D session.createQuery("from TreeNode tn where tn not in (:NODELI= ST)"); It seems to be good practice to alway use parenthesis for parameter lists, = but the exception is capable of being misunderstood. I managed to find the location, where this exception occurs. It is in net.s= f.hibernate.util.StringHelper.replace() (line 63). This method tries to ver= ify, if the character after the placeholder (of the named parameter) may be= a part of a Java identifier using Character.isJavaIdentifierPart(). But th= e method does not check if the character is outside of the template string,= it just assumes there is always a character. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-14 18:31:29
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-551 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-551 Summary: Proxool included with 2.1 throws exception on startup. Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: Krzysztof Dabrowski Created: Sun, 14 Dec 2003 12:31 PM Updated: Sun, 14 Dec 2003 12:31 PM Environment: Hibernate 2.1 , MySQL 4.0.16, Mandrake Linux 9.2 Description: I've decided to turn on Proxool connection pool and it throws the following exception on startup: [19:20:56.899] Proxool Provider using delegate JDBC Driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/boxlife [19:20:56.930] Proxool Provider Connection URL: proxool.hibernate-1:com.mysql.jdbc.Driver:jdbc:mysql://localhost/boxlife [19:20:57.128] Proxool 0.8.2-bh-1+ [19:20:57.434] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:20:57.582] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) [19:20:59.164] Prototype [19:20:59.164] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.164] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:95) [19:20:59.164] at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:42) [19:20:59.164] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.164] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.164] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.164] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.164] ... 7 more [19:20:59.164] Caused by: java.lang.ClassFormatError: Illegal Class name "java/sql/Connection$$EnhancerByCGLIB$$f39e9d85-2" [19:20:59.164] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.164] ... 13 more [19:20:59.174] Couldn't get connection [19:20:59.174] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.174] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.174] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.174] at org.logicalcobwebs.proxool.PrototyperController.buildConnection(PrototyperController.java:88) [19:20:59.174] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:222) [19:20:59.174] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.174] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.174] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.174] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.174] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.174] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.174] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.174] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.174] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.174] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.174] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.174] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.174] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.174] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.174] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.174] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.174] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.174] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.174] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.174] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.174] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.174] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.174] ... 33 more [19:20:59.174] Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" [19:20:59.174] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.174] ... 39 more [19:20:59.222] Problem [19:20:59.222] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.222] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.222] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.222] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.222] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.222] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.222] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.222] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.222] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.222] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.222] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.222] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.222] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.222] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.222] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.222] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.222] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.222] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.222] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.222] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.251] Could not obtain connection metadata [19:20:59.251] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.251] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.251] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.251] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.251] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.251] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.251] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.251] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.251] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.251] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.251] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.251] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.251] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.251] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.251] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.251] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.251] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.251] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.251] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.251] at com.caucho.server.resin.Resin.main(Resin.java:490) Upgrading to latest (0.8.3) proxool fixes it: [19:23:27.696] Proxool 0.8.3 (14-Dec-2003 16:06) [19:23:27.982] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:23:28.055] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) so please update the proxool jar in cvs. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-14 10:57:29
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Sun, 14 Dec 2003 4:56 AM Body: I've committe a NonReflectiveBinderTest.java + Wicked.hbm.xml. When that runs this issue can be closed ;) (I reckon the getter/setter resolvement should "just" be moved to be done lazily in ComponentType or something similar ?) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-549 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-549 Summary: Binder ignores class attribute and loads class when parsing Component's Type: Bug Status: Reopened Priority: Major Project: Hibernate2 Components: core Versions: 2.2 alpha Assignee: Gavin King Reporter: Max Rydahl Andersen Created: Sat, 13 Dec 2003 2:56 PM Updated: Sun, 14 Dec 2003 4:56 AM Description: see summary ;) --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-14 10:50:28
|
Message: The following issue has been reopened. Reopener: Max Rydahl Andersen Date: Sun, 14 Dec 2003 4:50 AM It's close, but now it fails when the Component tries to get the getters and setters in Binder around: Class clazz = model.getComponentClass(); Getter[] getters = new Getter[span]; Setter[] setters = new Setter[span]; iter = model.getPropertyIterator(); boolean foundCustomAccessor=false; i=0; while ( iter.hasNext() ) { Property prop = (Property) iter.next(); setters[i] = prop.getSetter(clazz); getters[i] = prop.getGetter(clazz); if ( !prop.isBasicPropertyAccessor() ) foundCustomAccessor = true; i++; } This stuff should be "moved" somewhere else ;) ... --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-549 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-549 Summary: Binder ignores class attribute and loads class when parsing Component's Type: Bug Status: Reopened Priority: Major Project: Hibernate2 Components: core Versions: 2.2 alpha Assignee: Gavin King Reporter: Max Rydahl Andersen Created: Sat, 13 Dec 2003 2:56 PM Updated: Sun, 14 Dec 2003 4:50 AM Description: see summary ;) --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-14 00:35:29
|
Message: The following issue has been closed. Resolver: Gavin King Date: Sat, 13 Dec 2003 6:35 PM I have upgraded to CGLIB2 RC2. This will fix all known problems, right, Chris? --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-548 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-548 Summary: Possible cglib2 problem in Hibernate 2.1 Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.1.1 Versions: 2.1 final Assignee: Gavin King Reporter: Benoit Menendez Created: Fri, 12 Dec 2003 7:55 PM Updated: Sat, 13 Dec 2003 6:35 PM Description: I just upgraded from the 2.1 rc1 to 2.1 final and I am having the following problem. If I restore the cglib2.jar from rc1 everything works. 2003-12-12 17:51:50,059 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/User.hbm.xml 2003-12-12 17:51:50,900 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.User -> KMS_USER 2003-12-12 17:51:51,481 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.roles -> KMS_USER_ROLE 2003-12-12 17:51:51,521 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.proficiencies -> KMS_USER_SKILL 2003-12-12 17:51:51,541 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.subscription -> KMS_SUBSCRIPTION 2003-12-12 17:51:51,541 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.readings -> KMS_USER_DOCUMENT 2003-12-12 17:51:51,551 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.settings -> KMS_USER_VIEW 2003-12-12 17:51:51,551 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Role.hbm.xml 2003-12-12 17:51:51,711 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Role -> KMS_ROLE 2003-12-12 17:51:51,721 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Skill.hbm.xml 2003-12-12 17:51:51,851 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Skill -> KMS_SKILL 2003-12-12 17:51:51,851 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Department.hbm.xml 2003-12-12 17:51:51,971 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Department -> KMS_DEPARTMENT 2003-12-12 17:51:51,982 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/View.hbm.xml 2003-12-12 17:51:52,132 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.View -> KMS_VIEW 2003-12-12 17:51:52,142 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.View.fields -> KMS_DISPLAY 2003-12-12 17:51:52,152 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.View.filters -> KMS_FILTER 2003-12-12 17:51:52,182 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/UserSession.hbm.xml 2003-12-12 17:51:52,302 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.UserSession -> KMS_SESSION 2003-12-12 17:51:52,312 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Document.hbm.xml 2003-12-12 17:51:52,432 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Document -> KMS_DOCUMENT 2003-12-12 17:51:52,482 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.Document.permissions -> KMS_PERMISSION 2003-12-12 17:51:52,642 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.FileDocument -> KMS_DOCUMENT 2003-12-12 17:51:52,662 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Link -> KMS_DOCUMENT 2003-12-12 17:51:52,672 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Message -> KMS_DOCUMENT 2003-12-12 17:51:52,733 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Topic -> KMS_DOCUMENT 2003-12-12 17:51:52,743 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Folder -> KMS_DOCUMENT 2003-12-12 17:51:52,743 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Version.hbm.xml 2003-12-12 17:51:52,883 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Version -> KMS_VERSION 2003-12-12 17:51:52,893 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/MessageDetail.hbm.xml 2003-12-12 17:51:53,013 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.MessageDetail -> KMS_MESSAGE 2003-12-12 17:51:53,013 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: cch/Employee.hbm.xml 2003-12-12 17:51:53,133 INFO [net.sf.hibernate.cfg.Binder] Mapping class: cch.Employee -> CCH_EMPLOYEE 2003-12-12 17:51:53,183 INFO [net.sf.hibernate.cfg.Configuration] processing one-to-many association mappings 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.Filter, IllegalArgumentException: Cannot find matching method/constructor 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.FileDocument.versions -> KMS_VERSION 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Configuration] processing one-to-one association property references 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Configuration] processing foreign key constraints 2003-12-12 17:51:55,316 INFO [net.sf.hibernate.dialect.Dialect] Using dialect: net.sf.hibernate.dialect.SAPDBDialect 2003-12-12 17:51:55,316 INFO [net.sf.hibernate.cfg.SettingsFactory] Use outer join fetching: true 2003-12-12 17:51:55,336 INFO [net.sf.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: com.proinsight.objects.ConnectionProvider 2003-12-12 17:51:55,376 INFO [net.sf.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: net.sf.hibernate.transaction.JBossTransactionManagerLookup 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] Use scrollable result sets: true 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] JDBC 2 max batch size: 15 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] Query language substitutions: {} 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] cache provider: net.sf.hibernate.cache.HashtableCacheProvider 2003-12-12 17:51:55,426 INFO [net.sf.hibernate.cfg.Configuration] instantiating and configuring caches 2003-12-12 17:51:55,557 INFO [net.sf.hibernate.impl.SessionFactoryImpl] building session factory 2003-12-12 17:51:55,767 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.Folder, BulkBeanException: Property is private (property setCreatedById) 2003-12-12 17:51:56,478 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.View, BulkBeanException: Property is private (property setCreatedById) 2003-12-12 17:51:56,588 ERROR [net.sf.hibernate.proxy.LazyInitializer] CGLIB Enhancement failed net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) at net.sf.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:74) at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:801) at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:741) at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:136) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726) at com.proinsight.objects.ObjectDataSource.getSessionFactory(ObjectDataSource.java:173) at com.proinsight.objects.ObjectDataSource.<clinit>(ObjectDataSource.java:42) at com.proinsight.servlets.KMSProInsightServlet.init(KMSProInsightServlet.java:43) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:530) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:395) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) ... 72 more Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.lang.ClassLoader.defineClass(ClassLoader.java:382) ... 77 more --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-14 00:25:28
|
The following comment has been added to this issue: Author: Gavin King Created: Sat, 13 Dec 2003 6:23 PM Body: I run this test 100 times a day on MySQL ... not seeing this ... --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-550 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-550 Summary: FooBarTest failed Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 final Assignee: Reporter: Rafal Groszewski Created: Sat, 13 Dec 2003 3:28 PM Updated: Sat, 13 Dec 2003 6:23 PM Description: java 1.4.2_01 (also 1.3.1_06) mysql 4.0.16 jdbc driver mysql-connector-java-3.0.9-stable-bin.jar all tests passed except testPersistCollections Error could not deserialize net.sf.hibernate.type.SerializationException: could not deserialize at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:194) at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:220) at org.hibernate.test.FooBarTest.testPersistCollections(FooBarTest.java:2262) at org.hibernate.test.TestCase.runTest(TestCase.java:79) Caused by: java.lang.ClassNotFoundException: long at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190)... --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-14 00:23:29
|
Message: The following issue has been closed. Resolver: Gavin King Date: Sat, 13 Dec 2003 6:22 PM Try it now. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-549 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-549 Summary: Binder ignores class attribute and loads class when parsing Component's Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Versions: 2.2 alpha Assignee: Gavin King Reporter: Max Rydahl Andersen Created: Sat, 13 Dec 2003 2:56 PM Updated: Sat, 13 Dec 2003 6:22 PM Description: see summary ;) --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |