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: Emmanuel B. (JIRA) <no...@at...> - 2006-06-02 15:42:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-318?page=comments#action_23250 ] Emmanuel Bernard commented on ANN-318: -------------------------------------- Contribution welcome > consider making validator framework truely independant of hibernate core > ------------------------------------------------------------------------ > > Key: ANN-318 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-318 > Project: Hibernate Annotations > Type: Improvement > Components: validator > Versions: 3.1beta9 > Reporter: Andreas Schildbach > > > I'd like to use the validator framework, but without pulling hibernate in as a dependency. > Currently, if I try to instantiate a ClassValidator, a org.hibernate.MappingException cannot be found. > Consequently, the validator framework could also be independent of the rest of the annotations, and be distributed in its own jar. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Geoffrey De S. (JIRA) <no...@at...> - 2006-06-02 14:33:20
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-318?page=comments#action_23249 ] Geoffrey De Smet commented on ANN-318: -------------------------------------- Hibernate-annotations should have an optional dependency on the new hibernate-validator.jar indeed, so hibernate-annotations can keep the code for the update and insert listeners (which will rely on hibernate code). > consider making validator framework truely independant of hibernate core > ------------------------------------------------------------------------ > > Key: ANN-318 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-318 > Project: Hibernate Annotations > Type: Improvement > Components: validator > Versions: 3.1beta9 > Reporter: Andreas Schildbach > > > I'd like to use the validator framework, but without pulling hibernate in as a dependency. > Currently, if I try to instantiate a ClassValidator, a org.hibernate.MappingException cannot be found. > Consequently, the validator framework could also be independent of the rest of the annotations, and be distributed in its own jar. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Ricardo I. (JIRA) <no...@at...> - 2006-06-02 14:05:20
|
Parameters of type Long should be casted as SIGNED in MySQL when using cast() ----------------------------------------------------------------------------- Key: HHH-1811 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1811 Project: Hibernate3 Type: Bug Components: query-hql Environment: MySQL4.1, Hibernate 3.1.3 Reporter: Ricardo Illgen Priority: Minor When using the function cast() in mysql, hibernate doesnt handle properly the properties of type Long. I made a workaround in my application extending the MySQLDialect class, and overwriting the getCastTypeName(int code) method, so it returns "signed" for BIGINT sql types too. Currently its falling back to the ancestor class method and returning "long" which causes an syntax error in MySQL. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: George G. (JIRA) <no...@at...> - 2006-06-02 13:20:21
|
Annotations for using 'Property-ref' ------------------------------------ Key: ANN-358 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-358 Project: Hibernate Annotations Type: Improvement Reporter: George Gastaldi There is no corresponding annotation to the "Property-ref" feature. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Eugene (JIRA) <no...@at...> - 2006-06-02 11:59:19
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-679?page=all ] Eugene updated HBX-679: ----------------------- Attachment: new db issue.jpg the same screeshot as in the issues.zip > codecompletion > -------------- > > Key: HBX-679 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-679 > Project: Hibernate Tools > Type: Bug > Components: eclipse > Versions: 3.1.beta5 > Environment: Eclipse 3.1.2 > Reporter: Eugene > Attachments: composite_class issue.jpg, issues.zip, new db issue.jpg > > > There are two issues. > 1) I have the > <composite-element class="Ch06Filenames"> > <property name="|"/> > </composite-element> > When i press Ctrl-Space, codecompletion listbox shows the properties of the Ch06ItemImage entity class, but i really expected to see the properties of the Ch06Filenames component Class. > See the composite_class issue.JPG screenshot in the issues.zip > 2) I have inserted the new table in the DataBase (HSQLDB). Then i try to view the list of tables in the codecompletion listbox: > <idbag name="filenamesIdbag" table="|"> > but i dont see the new table at all! Then i tried to refresh Hibernate configuration (clicked right button on it and pressed Refresh) and repeated the codecompletion operation but nevertheless the table is not present in the list! > See the db issue.JPG screenshot in the issues.zip > ______________________ > I have the following mapping: > <hibernate-mapping schema="Ch06ItemImage" package="org.hibernate.ce.auction.model.ch06"> > <class name="Ch06ItemImage" table="CH06ITEM" optimistic-lock="none"> > <id name="id" access="field" type="long" unsaved-value="null" column="id"> > <generator class="native"/> > </id> > <version name="version" column="VERSION" access="field" generated="always" unsaved-value="null"/> > <property name="created" column="CREATED" type="calendar" update="false" not-null="true" access="field"/> > <property name="name" type="string" column="name"/> > <set name="filenames" table="CH06ITEM_SET_IMAGE" inverse="true" cascade="save-update"> > <key column="ITEM_ID"/> > <one-to-many class="Ch06ItemImageSet"/> > </set> > <idbag name="filenamesIdbag" table="CH06ITEM_BAG_IMAGE"> > <collection-id column="ITEM_IMAGE_ID" type="long"> > <generator class="native"/> > </collection-id> > <key column="ITEM_ID"/> > <composite-element class="Ch06Filenames"> > <property name="name" column=""/> > </composite-element> > </idbag> > </class> > </hibernate-mapping> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Eugene (JIRA) <no...@at...> - 2006-06-02 11:57:34
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-679?page=all ] Eugene updated HBX-679: ----------------------- Attachment: composite_class issue.jpg the same screeshot as in the issues.zip > codecompletion > -------------- > > Key: HBX-679 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-679 > Project: Hibernate Tools > Type: Bug > Components: eclipse > Versions: 3.1.beta5 > Environment: Eclipse 3.1.2 > Reporter: Eugene > Attachments: composite_class issue.jpg, issues.zip > > > There are two issues. > 1) I have the > <composite-element class="Ch06Filenames"> > <property name="|"/> > </composite-element> > When i press Ctrl-Space, codecompletion listbox shows the properties of the Ch06ItemImage entity class, but i really expected to see the properties of the Ch06Filenames component Class. > See the composite_class issue.JPG screenshot in the issues.zip > 2) I have inserted the new table in the DataBase (HSQLDB). Then i try to view the list of tables in the codecompletion listbox: > <idbag name="filenamesIdbag" table="|"> > but i dont see the new table at all! Then i tried to refresh Hibernate configuration (clicked right button on it and pressed Refresh) and repeated the codecompletion operation but nevertheless the table is not present in the list! > See the db issue.JPG screenshot in the issues.zip > ______________________ > I have the following mapping: > <hibernate-mapping schema="Ch06ItemImage" package="org.hibernate.ce.auction.model.ch06"> > <class name="Ch06ItemImage" table="CH06ITEM" optimistic-lock="none"> > <id name="id" access="field" type="long" unsaved-value="null" column="id"> > <generator class="native"/> > </id> > <version name="version" column="VERSION" access="field" generated="always" unsaved-value="null"/> > <property name="created" column="CREATED" type="calendar" update="false" not-null="true" access="field"/> > <property name="name" type="string" column="name"/> > <set name="filenames" table="CH06ITEM_SET_IMAGE" inverse="true" cascade="save-update"> > <key column="ITEM_ID"/> > <one-to-many class="Ch06ItemImageSet"/> > </set> > <idbag name="filenamesIdbag" table="CH06ITEM_BAG_IMAGE"> > <collection-id column="ITEM_IMAGE_ID" type="long"> > <generator class="native"/> > </collection-id> > <key column="ITEM_ID"/> > <composite-element class="Ch06Filenames"> > <property name="name" column=""/> > </composite-element> > </idbag> > </class> > </hibernate-mapping> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Eugene (JIRA) <no...@at...> - 2006-06-02 11:41:27
|
codecompletion -------------- Key: HBX-679 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-679 Project: Hibernate Tools Type: Bug Components: eclipse Versions: 3.1.beta5 Environment: Eclipse 3.1.2 Reporter: Eugene Attachments: issues.zip There are two issues. 1) I have the <composite-element class="Ch06Filenames"> <property name="|"/> </composite-element> When i press Ctrl-Space, codecompletion listbox shows the properties of the Ch06ItemImage entity class, but i really expected to see the properties of the Ch06Filenames component Class. See the composite_class issue.JPG screenshot in the issues.zip 2) I have inserted the new table in the DataBase (HSQLDB). Then i try to view the list of tables in the codecompletion listbox: <idbag name="filenamesIdbag" table="|"> but i dont see the new table at all! Then i tried to refresh Hibernate configuration (clicked right button on it and pressed Refresh) and repeated the codecompletion operation but nevertheless the table is not present in the list! See the db issue.JPG screenshot in the issues.zip ______________________ I have the following mapping: <hibernate-mapping schema="Ch06ItemImage" package="org.hibernate.ce.auction.model.ch06"> <class name="Ch06ItemImage" table="CH06ITEM" optimistic-lock="none"> <id name="id" access="field" type="long" unsaved-value="null" column="id"> <generator class="native"/> </id> <version name="version" column="VERSION" access="field" generated="always" unsaved-value="null"/> <property name="created" column="CREATED" type="calendar" update="false" not-null="true" access="field"/> <property name="name" type="string" column="name"/> <set name="filenames" table="CH06ITEM_SET_IMAGE" inverse="true" cascade="save-update"> <key column="ITEM_ID"/> <one-to-many class="Ch06ItemImageSet"/> </set> <idbag name="filenamesIdbag" table="CH06ITEM_BAG_IMAGE"> <collection-id column="ITEM_IMAGE_ID" type="long"> <generator class="native"/> </collection-id> <key column="ITEM_ID"/> <composite-element class="Ch06Filenames"> <property name="name" column=""/> </composite-element> </idbag> </class> </hibernate-mapping> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Erik H. (JIRA) <no...@at...> - 2006-06-02 10:03:50
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1293?page=comments#action_23246 ] Erik Heckert commented on HHH-1293: ----------------------------------- Currently I'm working with Sun Java 1.6.0 Beta. The client VM does not seem to crash. The problem with the server VM is it's coming up quiet slowly, so sometimes coding and testing is a pain in the unmentionable. Maybe using 1.6.0 Beta will help some of you. In a productive environment the server VM cannot be a problem, so maybe this is some kind of workaround. > java.lang.NoSuchMethodError: <persistent class>.getHibernateLazyInitializer() > ----------------------------------------------------------------------------- > > Key: HHH-1293 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1293 > Project: Hibernate3 > Type: Bug > Versions: 3.1.1 > Reporter: Andreas Schildbach > Priority: Blocker > Attachments: manysessions.tgz > > > As documented in > http://forum.hibernate.org/viewtopic.php?t=940119 > some people (including me) are getting this exception with the final release of Hibernate 3.1: > java.lang.NoSuchMethodError: de.schildbach.game.integration.HibernateGamePlayer.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer; > at de.schildbach.game.integration.HibernateGamePlayer$$EnhancerByCGLIB$$afecb986.getHibernateLazyInitializer(<generated>) > at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:274) > at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:177) > at org.hibernate.type.TypeFactory.assemble(TypeFactory.java:398) > at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:96) > at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:82) > at org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:520) > at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:474) > at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328) > at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123) > at org.hibernate.event.def.DefaultLoadEventListener.returnNarrowedProxy(DefaultLoadEventListener.java:202) > at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:169) > at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) > at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:869) > at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:838) > at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266) > at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:177) > at org.hibernate.collection.PersistentList.initializeFromCache(PersistentList.java:378) > at org.hibernate.cache.entry.CollectionCacheEntry.assemble(CollectionCacheEntry.java:35) > at org.hibernate.event.def.DefaultInitializeCollectionEventListener.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:130) > at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:48) > at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1627) > at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344) > at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) > at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:109) > at org.hibernate.collection.PersistentList.size(PersistentList.java:91) > The exception varies with the actual persistent class in use. Most people seem to be using JDK 1.5 and Linux. Some reports say that the exception does not happen from the very start of the application, but it takes "several invocations"/"some time" until it appear, but then it appears very often. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Juozas B. (JIRA) <no...@at...> - 2006-06-02 08:47:39
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1293?page=comments#action_23245 ] Juozas Baliuka commented on HHH-1293: ------------------------------------- Client JVM on linux will fail anyway, probably it will fail later, but there are same problems in many places. Probably it is possible to find random workarounts on client JVM, but I am afraid we can break more things this way. I think "-server" is not so bad workaround. > java.lang.NoSuchMethodError: <persistent class>.getHibernateLazyInitializer() > ----------------------------------------------------------------------------- > > Key: HHH-1293 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1293 > Project: Hibernate3 > Type: Bug > Versions: 3.1.1 > Reporter: Andreas Schildbach > Priority: Blocker > Attachments: manysessions.tgz > > > As documented in > http://forum.hibernate.org/viewtopic.php?t=940119 > some people (including me) are getting this exception with the final release of Hibernate 3.1: > java.lang.NoSuchMethodError: de.schildbach.game.integration.HibernateGamePlayer.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer; > at de.schildbach.game.integration.HibernateGamePlayer$$EnhancerByCGLIB$$afecb986.getHibernateLazyInitializer(<generated>) > at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:274) > at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:177) > at org.hibernate.type.TypeFactory.assemble(TypeFactory.java:398) > at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:96) > at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:82) > at org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:520) > at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:474) > at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328) > at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123) > at org.hibernate.event.def.DefaultLoadEventListener.returnNarrowedProxy(DefaultLoadEventListener.java:202) > at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:169) > at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) > at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:869) > at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:838) > at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266) > at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:177) > at org.hibernate.collection.PersistentList.initializeFromCache(PersistentList.java:378) > at org.hibernate.cache.entry.CollectionCacheEntry.assemble(CollectionCacheEntry.java:35) > at org.hibernate.event.def.DefaultInitializeCollectionEventListener.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:130) > at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:48) > at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1627) > at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344) > at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) > at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:109) > at org.hibernate.collection.PersistentList.size(PersistentList.java:91) > The exception varies with the actual persistent class in use. Most people seem to be using JDK 1.5 and Linux. Some reports say that the exception does not happen from the very start of the application, but it takes "several invocations"/"some time" until it appear, but then it appears very often. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Christian B. (JIRA) <no...@at...> - 2006-06-02 07:14:09
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1809?page=all ] Christian Bauer updated HHH-1809: --------------------------------- Priority: Minor (was: Blocker) > Hibernate does not respect batch setting (annotation) on collection for loading > ------------------------------------------------------------------------------- > > Key: HHH-1809 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1809 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.3 > Environment: hibernate 3.1.3 (2006.03.20) Hibernate annotation 3.1 beta 8, 20.01.2006 > Reporter: neelabh > Priority: Minor > > > I have a list of portfolios and several collections (entries, quries, permissions) mapping. The collection are set for lazy initialization. I am using hibernate annotations > Bu#1 > When I load portfolio first time(a list of portfolio) then entries , queries and permission are not batched for query. Infact they are queried one by one like > portfolio1 > entry1 > permission1 > query1 > portfolio2 > entry2 > permission2 > query2 > Hibernate: select portfolio0_.portfolioId as portfoli1_0_0_, portfolio0_.name as name0_0_, portfolio0_.owner as owner0_0_, portfolio0_.currentDateTime as currentD4_0_0_, portfolio0_.TSportfolioId as TSportfo5_0_0_ from psPortfolio portfolio0_ where portfolio0_.portfolioId in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) > Hibernate: select instrument0_.portfolioId as portfoli5_1_, instrument0_.entryId as entryId1_, instrument0_.entryId as entryId2_0_, instrument0_.portfolioId as portfoli5_2_0_, instrument0_.productType as productT2_2_0_, instrument0_.quantity as quantity2_0_, instrument0_.TSproductId as TSproduc4_2_0_ from psInstrumentEntry instrument0_ where instrument0_.portfolioId=? > Hibernate: select queryentri0_.portfolioId as portfoli4_1_, queryentri0_.entryId as entryId1_, queryentri0_.entryId as entryId1_0_, queryentri0_.portfolioId as portfoli4_1_0_, queryentri0_.name as name1_0_, queryentri0_.comment as comment1_0_ from psQueryEntry queryentri0_ where queryentri0_.portfolioId=? > Hibernate: select portfoliop0_.portfolioId as portfoli6_1_, portfoliop0_.portfolioPermissionId as portfoli1_1_, portfoliop0_.portfolioPermissionId as portfoli1_4_0_, portfoliop0_.portfolioId as portfoli6_4_0_, portfoliop0_.partyRefType as partyRef2_4_0_, portfoliop0_.partyId as partyId4_0_, portfoliop0_.partySubType as partySub4_4_0_, portfoliop0_.accessLevel as accessLe5_4_0_ from psPortfolioPermission portfoliop0_ where portfoliop0_.portfolioId=? > I am not sure what is wrong with setting however, when I delete or amend or insert are batched properly. > Can you please check > This is affecting performance of huge portfolio. > Bug#2 > Even if I wnat to initialize only entry, it loads queries and permissions both, Is there any way to prohibit using annotations. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Christian B. (JIRA) <no...@at...> - 2006-06-02 07:14:02
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1809?page=comments#action_23244 ] Christian Bauer commented on HHH-1809: -------------------------------------- Either you attach an _ISOLATED_ and _SIMPLE_ test case, or we will have to close this issue. > Hibernate does not respect batch setting (annotation) on collection for loading > ------------------------------------------------------------------------------- > > Key: HHH-1809 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1809 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.3 > Environment: hibernate 3.1.3 (2006.03.20) Hibernate annotation 3.1 beta 8, 20.01.2006 > Reporter: neelabh > Priority: Blocker > > > I have a list of portfolios and several collections (entries, quries, permissions) mapping. The collection are set for lazy initialization. I am using hibernate annotations > Bu#1 > When I load portfolio first time(a list of portfolio) then entries , queries and permission are not batched for query. Infact they are queried one by one like > portfolio1 > entry1 > permission1 > query1 > portfolio2 > entry2 > permission2 > query2 > Hibernate: select portfolio0_.portfolioId as portfoli1_0_0_, portfolio0_.name as name0_0_, portfolio0_.owner as owner0_0_, portfolio0_.currentDateTime as currentD4_0_0_, portfolio0_.TSportfolioId as TSportfo5_0_0_ from psPortfolio portfolio0_ where portfolio0_.portfolioId in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) > Hibernate: select instrument0_.portfolioId as portfoli5_1_, instrument0_.entryId as entryId1_, instrument0_.entryId as entryId2_0_, instrument0_.portfolioId as portfoli5_2_0_, instrument0_.productType as productT2_2_0_, instrument0_.quantity as quantity2_0_, instrument0_.TSproductId as TSproduc4_2_0_ from psInstrumentEntry instrument0_ where instrument0_.portfolioId=? > Hibernate: select queryentri0_.portfolioId as portfoli4_1_, queryentri0_.entryId as entryId1_, queryentri0_.entryId as entryId1_0_, queryentri0_.portfolioId as portfoli4_1_0_, queryentri0_.name as name1_0_, queryentri0_.comment as comment1_0_ from psQueryEntry queryentri0_ where queryentri0_.portfolioId=? > Hibernate: select portfoliop0_.portfolioId as portfoli6_1_, portfoliop0_.portfolioPermissionId as portfoli1_1_, portfoliop0_.portfolioPermissionId as portfoli1_4_0_, portfoliop0_.portfolioId as portfoli6_4_0_, portfoliop0_.partyRefType as partyRef2_4_0_, portfoliop0_.partyId as partyId4_0_, portfoliop0_.partySubType as partySub4_4_0_, portfoliop0_.accessLevel as accessLe5_4_0_ from psPortfolioPermission portfoliop0_ where portfoliop0_.portfolioId=? > I am not sure what is wrong with setting however, when I delete or amend or insert are batched properly. > Can you please check > This is affecting performance of huge portfolio. > Bug#2 > Even if I wnat to initialize only entry, it loads queries and permissions both, Is there any way to prohibit using annotations. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Hemanta G. (JIRA) <no...@at...> - 2006-06-02 03:49:16
|
Classic query parser inefficiency on WebLogic --------------------------------------------- Key: HHH-1810 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1810 Project: Hibernate3 Type: Improvement Components: query-hql Environment: Hibernate 3.0.5 with HHH-525 patch WebLogic 8.1 SP4 SQL Server 2000 SP3 Reporter: Hemanta Gupta Priority: Minor Attachments: QueryTranslatorImpl.java With around 1600 named queries in the system, SessionFactory.checkNamedQueries() takes around 5 1/2 min on WebLogic 8.1, as compared to < 1/2 min on JBoss 4.0.3. The classic query translator is being used, mainly because the new AST based translator has issues on WebLogic (http://hibernate.org/250.html#A24). The issue boils down to the classic query parser trying to load bad class names on a system with relatively inefficient classloading. The parser breaks down queries into tokens and then tries to resolve many of the tokens (even the obviously 'bad' ones like '=', '(', ')', 'AND', 'OR', etc) as Java classes by calling ReflectHelper.classForName() on the tokens. Because of the way the method is written, ClassLoader.loadClass() and then Class.forName() will both be called before it can be determined that a token doesn't resolve to a Java class. This overhead is really killing performance on WebLogic. I patched QueryTranslatorImpl.getEntityPersisterUsingImports(String) to skip tokens which can't resolve to Java classes (i.e are not Java identifiers or are HQL keywords). The file is attached. After applying this patch, the time taken by SessionFactory.checkNamedQueries() went down to around 20 sec on WebLogic. The patch isn't too beautiful or exhaustive, but it did the trick on our environment. Please also see the forum thread at http://forum.hibernate.org/viewtopic.php?t=943427 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: neelabh (JIRA) <no...@at...> - 2006-06-02 03:43:18
|
Hibernate does not respect batch setting (annotation) on collection for loading ------------------------------------------------------------------------------- Key: HHH-1809 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1809 Project: Hibernate3 Type: Bug Components: core Versions: 3.1.3 Environment: hibernate 3.1.3 (2006.03.20) Hibernate annotation 3.1 beta 8, 20.01.2006 Reporter: neelabh Priority: Blocker I have a list of portfolios and several collections (entries, quries, permissions) mapping. The collection are set for lazy initialization. I am using hibernate annotations Bu#1 When I load portfolio first time(a list of portfolio) then entries , queries and permission are not batched for query. Infact they are queried one by one like portfolio1 entry1 permission1 query1 portfolio2 entry2 permission2 query2 Hibernate: select portfolio0_.portfolioId as portfoli1_0_0_, portfolio0_.name as name0_0_, portfolio0_.owner as owner0_0_, portfolio0_.currentDateTime as currentD4_0_0_, portfolio0_.TSportfolioId as TSportfo5_0_0_ from psPortfolio portfolio0_ where portfolio0_.portfolioId in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) Hibernate: select instrument0_.portfolioId as portfoli5_1_, instrument0_.entryId as entryId1_, instrument0_.entryId as entryId2_0_, instrument0_.portfolioId as portfoli5_2_0_, instrument0_.productType as productT2_2_0_, instrument0_.quantity as quantity2_0_, instrument0_.TSproductId as TSproduc4_2_0_ from psInstrumentEntry instrument0_ where instrument0_.portfolioId=? Hibernate: select queryentri0_.portfolioId as portfoli4_1_, queryentri0_.entryId as entryId1_, queryentri0_.entryId as entryId1_0_, queryentri0_.portfolioId as portfoli4_1_0_, queryentri0_.name as name1_0_, queryentri0_.comment as comment1_0_ from psQueryEntry queryentri0_ where queryentri0_.portfolioId=? Hibernate: select portfoliop0_.portfolioId as portfoli6_1_, portfoliop0_.portfolioPermissionId as portfoli1_1_, portfoliop0_.portfolioPermissionId as portfoli1_4_0_, portfoliop0_.portfolioId as portfoli6_4_0_, portfoliop0_.partyRefType as partyRef2_4_0_, portfoliop0_.partyId as partyId4_0_, portfoliop0_.partySubType as partySub4_4_0_, portfoliop0_.accessLevel as accessLe5_4_0_ from psPortfolioPermission portfoliop0_ where portfoliop0_.portfolioId=? I am not sure what is wrong with setting however, when I delete or amend or insert are batched properly. Can you please check This is affecting performance of huge portfolio. Bug#2 Even if I wnat to initialize only entry, it loads queries and permissions both, Is there any way to prohibit using annotations. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 22:42:29
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-675?page=all ] Max Rydahl Andersen closed HBX-675: ----------------------------------- Fix Version: 3.2beta6 Resolution: Fixed Done. Now files we handle will have a small hibernate logo overlay in the lower left corner. > Mark hibernate content-types with hibernate icon > ------------------------------------------------ > > Key: HBX-675 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-675 > Project: Hibernate Tools > Type: New Feature > Components: eclipse > Reporter: Max Rydahl Andersen > Fix For: 3.2beta6 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 22:42:29
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-674?page=all ] Max Rydahl Andersen closed HBX-674: ----------------------------------- Resolution: Fixed done. similar to hibernate.cfg.xml completion. > persistence.xml property code completion > ---------------------------------------- > > Key: HBX-674 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-674 > Project: Hibernate Tools > Type: New Feature > Components: eclipse > Reporter: Max Rydahl Andersen > Fix For: 3.2beta6 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 22:40:17
|
Expose Hibernate WTP Facet -------------------------- Key: HBX-677 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-677 Project: Hibernate Tools Type: New Feature Components: eclipse Reporter: Max Rydahl Andersen Fix For: 3.2beta6 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 22:40:17
|
Eclipse 3.2 Common Navigator known configurations ------------------------------------------------- Key: HBX-678 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-678 Project: Hibernate Tools Type: New Feature Reporter: Max Rydahl Andersen Fix For: 3.2beta6 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 22:38:16
|
Mark hibernate content-types with hibernate icon ------------------------------------------------ Key: HBX-675 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-675 Project: Hibernate Tools Type: New Feature Components: eclipse Reporter: Max Rydahl Andersen -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 22:38:16
|
Use HQL Lexer in color coding ----------------------------- Key: HBX-676 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-676 Project: Hibernate Tools Type: Improvement Components: eclipse Reporter: Max Rydahl Andersen Fix For: 3.2beta6 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 22:36:17
|
persistence.xml property code completion ---------------------------------------- Key: HBX-674 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-674 Project: Hibernate Tools Type: New Feature Components: eclipse Reporter: Max Rydahl Andersen Fix For: 3.2beta6 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 21:19:48
|
hbm.xml HQL validation ---------------------- Key: HBX-672 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-672 Project: Hibernate Tools Type: New Feature Components: eclipse Reporter: Max Rydahl Andersen Fix For: 3.1beta5a -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 21:10:46
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-671?page=all ] Max Rydahl Andersen closed HBX-671: ----------------------------------- Resolution: Fixed Done. Requires to run Eclipse with JDK 5 and enable annotation processing. > @NamedQuery/@NamedQueries HQL validation > ---------------------------------------- > > Key: HBX-671 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-671 > Project: Hibernate Tools > Type: New Feature > Components: eclipse > Versions: 3.1.beta5 > Reporter: Max Rydahl Andersen > Fix For: 3.2beta6 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 21:10:19
|
@NamedQuery/@NamedQueries HQL validation ---------------------------------------- Key: HBX-671 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-671 Project: Hibernate Tools Type: New Feature Components: eclipse Versions: 3.1.beta5 Reporter: Max Rydahl Andersen Fix For: 3.2beta6 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 21:10:15
|
Java code HQL inline validation ------------------------------- Key: HBX-673 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-673 Project: Hibernate Tools Type: New Feature Reporter: Max Rydahl Andersen Fix For: 3.2beta6 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-01 20:23:20
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-653?page=comments#action_23239 ] Max Rydahl Andersen commented on HBX-653: ----------------------------------------- this is fixed in beta5a. Download it from jbosside 1.6. ( the direct link from tools.hibernate.org seems to point to beta5) > codegen only runs on jdk 1.5 > ---------------------------- > > Key: HBX-653 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-653 > Project: Hibernate Tools > Type: Bug > Components: eclipse > Reporter: Max Rydahl Andersen > Fix For: 3.1beta5a > > > usage of parseBoolean prohibts <1.5 usage. > Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface". > java.lang.NoSuchMethodError: java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z > at org.hibernate.eclipse.console.model.impl.ExporterDefinition.createProperties(ExporterDefinition.java:70) > at org.hibernate.eclipse.console.model.impl.ExporterDefinition.<init>(ExporterDefinition.java:50) > at org.hibernate.eclipse.console.ExtensionManager.findExporterDefinitions(ExtensionManager.java:54) > at org.hibernate.eclipse.launch.ExporterSettings.createControl(ExporterSettings.java:80) > at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.showTabsFor(LaunchConfigurationTabGroupViewer.java:720) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |