[hibernate-dev] RE: new SPI for EJB3/Seam
No it is slightly different. The distinction (it sounds like) being that replication was being built around transaction lifecycle (or that was the discussion at the time anyway). So what we discussed was the ability to get a changeset made up of added/removed entities as well as a "delta" of managed entities. Essentially this is what you are proposing as well, it sounds like to me; the distinction being what the delta is based on. In what Ben and I talked about, we discussed the delta in relation to the entities "loaded state". So assuming at least read-committed isolation we should be talking about approximately the same thing (depending on how reattached entities are handled) because replication was only happening on transaction boundaries. So I assume what you are talking about happens in line with the JSF lifecycle events? -Original Message- From: Gavin King Sent: Monday, October 02, 2006 10:57 AM To: Steve Ebersole Cc: 'hibernate-dev@lists.jboss.org' Subject: RE: new SPI for EJB3/Seam Note that my changeset is the diff b/w the session and the database, not the diff b/w the session at various points in time. Is that what you meant? -Original Message- From: Steve Ebersole Sent: Monday, October 02, 2006 7:26 AM To: Gavin King Cc: hibernate-dev@lists.jboss.org Subject: RE: new SPI for EJB3/Seam LOL, this is essentially exactly what I proposed with the JBossCache folks for efficient clustering. One additional thing though that I proposed was the ability to explicitly specify when to clear the collected changeset and re-collecting. -Original Message- From: Gavin King Sent: Saturday, September 23, 2006 8:27 AM To: Steve Ebersole Cc: hibernate-devel@lists.sourceforge.net Subject: new SPI for EJB3/Seam For truly efficient clustering of extended persistence contexts in the context of Seam or EJB3, we need a way to propagate unflushed changesets. What we need is an SPI like this: Serializable changeset = session1.getChangeSet(); session2.applyChangeSet(changeset); where session2 is an empty session, or perhaps even a session with some of the same entities as session1. The only state that needs to be sent in the changeset is new entities, unflushed updates to entities and deletions of entities. Steve, WDYT? ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
[hibernate-dev] RE: new SPI for EJB3/Seam
I assume you mean "what entity state is loaded", not "what entities are loaded"? So when you say "unflushed updates to entities" what *exactly* is it that you have in mind? When you say it is the diff b/w session and db, I envision pulling db snapshots and comparing against those. Or are you literally talking EntityUpdateAction ActionQueue entries? -Original Message- From: Gavin King Sent: Wednesday, October 04, 2006 10:05 AM To: Steve Ebersole Cc: hibernate-dev@lists.jboss.org Subject: Re: new SPI for EJB3/Seam Right, that's what I thought. My proposal is quite different. It says we don't care about remembering what entities are loaded. - - Original Message - From: Steve Ebersole To: Gavin King Cc: 'hibernate-dev@lists.jboss.org' Sent: Wed Oct 04 07:40:42 2006 Subject: RE: new SPI for EJB3/Seam No it is slightly different. The distinction (it sounds like) being that replication was being built around transaction lifecycle (or that was the discussion at the time anyway). So what we discussed was the ability to get a changeset made up of added/removed entities as well as a "delta" of managed entities. Essentially this is what you are proposing as well, it sounds like to me; the distinction being what the delta is based on. In what Ben and I talked about, we discussed the delta in relation to the entities "loaded state". So assuming at least read-committed isolation we should be talking about approximately the same thing (depending on how reattached entities are handled) because replication was only happening on transaction boundaries. So I assume what you are talking about happens in line with the JSF lifecycle events? -Original Message- From: Gavin King Sent: Monday, October 02, 2006 10:57 AM To: Steve Ebersole Cc: 'hibernate-dev@lists.jboss.org' Subject: RE: new SPI for EJB3/Seam Note that my changeset is the diff b/w the session and the database, not the diff b/w the session at various points in time. Is that what you meant? -Original Message- From: Steve Ebersole Sent: Monday, October 02, 2006 7:26 AM To: Gavin King Cc: hibernate-dev@lists.jboss.org Subject: RE: new SPI for EJB3/Seam LOL, this is essentially exactly what I proposed with the JBossCache folks for efficient clustering. One additional thing though that I proposed was the ability to explicitly specify when to clear the collected changeset and re-collecting. -Original Message- From: Gavin King Sent: Saturday, September 23, 2006 8:27 AM To: Steve Ebersole Cc: hibernate-devel@lists.sourceforge.net Subject: new SPI for EJB3/Seam For truly efficient clustering of extended persistence contexts in the context of Seam or EJB3, we need a way to propagate unflushed changesets. What we need is an SPI like this: Serializable changeset = session1.getChangeSet(); session2.applyChangeSet(changeset); where session2 is an empty session, or perhaps even a session with some of the same entities as session1. The only state that needs to be sent in the changeset is new entities, unflushed updates to entities and deletions of entities. Steve, WDYT? <>___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
[hibernate-dev] Exception doing simple joins in 3.2cr4
I'm getting an ugly exception when performing a simple join. It's an StringIndexOutOfBoundsException in org.hibernate.hql.CollectionSubqueryFactory.createCollectionSubquery(), but the problem seems to be in org.hibernate.engine.JoinSequence.toJoinFragment(Map, boolean, String, String). There's more info in the bug report (which was already created for me) in http://opensource.atlassian.com/projects/hibernate/browse/HHH-1830 . Hope it helps, thanks! ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
[hibernate-dev] hibernate-hsqldb-testsuite Build Completed With Testsuite Errors
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-hsqldb-testsuite?log=log20061004221409 TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:92: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:83: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-common-targets.xml:11: Build Successful - Tests completed with errors or failures.Date of build: 10/04/2006 22:14:09Time to build: 9 minutes 35 secondsLast changed: 12/31/2005 20:44:14Last log entry: less noisy Unit Tests: (911) Total Errors and Failures: (51)testDirtyCheckorg.hibernate.test.instrument.buildtime.InstrumentTesttestFetchAllorg.hibernate.test.instrument.buildtime.InstrumentTesttestLazyorg.hibernate.test.instrument.buildtime.InstrumentTesttestLazyManyToOneorg.hibernate.test.instrument.buildtime.InstrumentTesttestSetFieldInterceptororg.hibernate.test.instrument.buildtime.InstrumentTesttestPropertyInitializedorg.hibernate.test.instrument.buildtime.InstrumentTesttestManyToOneProxyorg.hibernate.test.instrument.buildtime.InstrumentTesttestDirtyCheckorg.hibernate.test.instrument.buildtime.InstrumentTesttestFetchAllorg.hibernate.test.instrument.buildtime.InstrumentTesttestLazyorg.hibernate.test.instrument.buildtime.InstrumentTesttestLazyManyToOneorg.hibernate.test.instrument.buildtime.InstrumentTesttestSetFieldInterceptororg.hibernate.test.instrument.buildtime.InstrumentTesttestPropertyInitializedorg.hibernate.test.instrument.buildtime.InstrumentTesttestManyToOneProxyorg.hibernate.test.instrument.buildtime.InstrumentTesttestJoinedSubclassorg.hibernate.test.joinedsubclass.JoinedSubclassTesttestReturnPropertyComponentRenameorg.hibernate.test.legacy.SQLLoaderTesttestManyToManyPropertyReforg.hibernate.test.propertyref.PropertyRefTesttestFiltersWithSubclassorg.hibernate.test.subclassfilter.DiscrimSubclassFilterTesttestFiltersWithJoinedSubclassorg.hibernate.test.subclassfilter.JoinedSubclassFilterTesttestUnionSubclassorg.hibernate.test.unionsubclass2.UnionSubclassTesttestLazyorg.hibernate.test.bidi.AuctionTesttestNoSelectClauseorg.hibernate.test.jpa.ql.JPAQLComplianceTesttestSubclassingorg.hibernate.test.legacy.ABCProxyTesttestFormulaAssociationorg.hibernate.test.legacy.ABCTesttestComponentNotNullorg.hibernate.test.legacy.ComponentNotNullTesttestCompositeElementorg.hibernate.test.legacy.ComponentNotNullTesttestUnflushedSessionSerializationorg.hibernate.test.legacy.FumTesttestOneToOneCacheorg.hibernate.test.legacy.OneToOneCacheTesttestLoadAfterNonExistsorg.hibernate.test.legacy.ParentChildTesttestSimpleQBEorg.hibernate.test.legacy.QueryByExampleTesttestJunctionNotExpressionQBEorg.hibernate.test.legacy.QueryByExampleTesttestExcludingQBEorg.hibernate.test.legacy.QueryByExampleTesttestBlobCloborg.hibernate.test.legacy.SQLFunctionsTesttestFindBySQLStarorg.hibernate.test.legacy.SQLLoaderTesttestFindBySQLPropertiesorg.hibernate.test.legacy.SQLLoaderTesttestFindBySQLAssociatedObjectsorg.hibernate.test.legacy.SQLLoaderTesttestPropertyResultSQLorg.hibernate.test.legacy.SQLLoaderTesttestFindBySQLMultipleObjectorg.hibernate.test.legacy.SQLLoaderTesttestFindBySQLParametersorg.hibernate.test.legacy.SQLLoaderTesttestDoubleAliasingorg.hibernate.test.legacy.SQLLoaderTesttestEmbeddedCompositePropertiesorg.hibernate.test.legacy.SQLLoaderTesttestFindSimpleBySQLorg.hibernate.test.legacy.SQLLoaderTesttestFindBySQLSimpleByDiffSessionsorg.hibernate.test.legacy.SQLLoaderTesttestFindBySQLDiscriminatedSameSessionorg.hibernate.test.legacy.SQLLoaderTesttestFindBySQLDiscriminatedDiffSessionorg.hibernate.test.legacy.SQLLoaderTesttestCompositeIdIdorg.hibernate.test.legacy.SQLLoaderTesttestSessionStatsorg.hibernate.test.legacy.StatisticsTesttestPaginationorg.hibernate.test.pagination.PaginationTesttestJoinFetchPropertyReforg.hibernate.test.propertyref.PropertyRefTesttestSessionStatisticsorg.hibernate.test.stats.SessionStatsTesttestWhereorg.hibernate.test.where.WhereTest Modifications since last build: (first 50 of 2007)10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/query_hql.xmlupdate for 3.2 doc compliance10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/persistent_classes.xmlupdate for 3.2 doc compliance10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/batch.xmlupdate for 3.2 doc compliance10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/tutorial.xmlupdate for 3.2 doc compliance10539addedscottmarlownovell//trunk/Hibernate3/src/org/hibernate/dialect/MySQL5InnoDBDialect.javaAdded dialect for MySQL 5 InnoDB engine, this addresses HHH-1891.10531modified[EMAIL PROTECTED]//trunk/Hibernate3/doc/reference/en/modules/batch.xmlDocumented insert batch and identity10531modified[EMAIL PROTECTED]//branches/Branch_3_2/Hibernate3/doc/referen
[hibernate-dev] Hibernate 3.2.0.cr5 released
Hibernate 3.2.0.cr5 has just been released and is available from the SourceForge download site at http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=1 27784&release_id=452973 We decided another CR was needed mainly for two fixes: 1) A fix for the JPA "persist on flush" event; 2) performance improvement in regards to flush processing. The full change log can be viewed on JIRA (http://opensource.atlassian.com/projects/hibernate/secure/ReleaseNote.j spa?version=10630&styleName=Text&projectId=10031&Create=Create) or in the download bundle. <>___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
[hibernate-dev] Hibernate Annotations and Hibernate EntityManager 3.2.0.CR3
Hibernate Annotations and Hibernate entity manager 3.2.0.CR3 have been released and are compatible with Hibernate Core 3.2.0.CR5. We decided another CR was needed mainly for two fixes: 1) A fix for the JPA "persist on flush" event; 2) performance improvement in regards to flush processing. This release is expected to be the last one before the GA one See http://annotations.hibernate.org and http://entitymanager.hibernate.org for more informations ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
[hibernate-dev] hibernate-sqlserver-jtds-testsuite Build Timed Out
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-sqlserver-jtds-testsuite?log=log20061004231357 BUILD TIMED OUTAnt Error Message: build timeoutDate of build: 10/04/2006 23:13:57Time to build: Last changed: 12/31/2005 20:44:14Last log entry: less noisy Unit Tests: (0) Total Errors and Failures: (0) Modifications since last build: (first 50 of 2007)10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/query_hql.xmlupdate for 3.2 doc compliance10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/persistent_classes.xmlupdate for 3.2 doc compliance10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/batch.xmlupdate for 3.2 doc compliance10540modifiedAnthonyHib//trunk/Hibernate3/doc/reference/fr/modules/tutorial.xmlupdate for 3.2 doc compliance10539addedscottmarlownovell//trunk/Hibernate3/src/org/hibernate/dialect/MySQL5InnoDBDialect.javaAdded dialect for MySQL 5 InnoDB engine, this addresses HHH-1891.10531modified[EMAIL PROTECTED]//trunk/Hibernate3/doc/reference/en/modules/batch.xmlDocumented insert batch and identity10531modified[EMAIL PROTECTED]//branches/Branch_3_2/Hibernate3/doc/reference/en/modules/batch.xmlDocumented insert batch and identity10527modifiedepbernard//trunk/Hibernate3/src/org/hibernate/hql/ast/tree/SelectClause.javaHHH-2103 rollback mandatory select in JPA10520modified[EMAIL PROTECTED]//trunk/Hibernate3/src/org/hibernate/event/def/AbstractFlushingEventListener.javaHHH-2093 PERSIST_ON_FLUSH ineffective for recursive object graphs10518modified[EMAIL PROTECTED]//trunk/Hibernate3/src/org/hibernate/cfg/Settings.javastrictJPAQLCompliance was a public field10495modified[EMAIL PROTECTED]//trunk/Hibernate3/doc/reference/en/modules/tutorial.xmlAdded warnings about session-per-operation anti-pattern10495modified[EMAIL PROTECTED]//branches/Branch_3_2/Hibernate3/doc/reference/en/modules/tutorial.xmlAdded warnings about session-per-operation anti-pattern10491modified[EMAIL PROTECTED]//trunk/Hibernate3/doc/reference/en/modules/query_hql.xmlDocumented HHH-161510491modified[EMAIL PROTECTED]//branches/Branch_3_2/Hibernate3/doc/reference/en/modules/query_hql.xmlDocumented HHH-161510476modifiedepbernard//trunk/Hibernate3/src/org/hibernate/jdbc/JDBCContext.javalower trace, ignoring a tx join happens a lot in EJB 310473modified[EMAIL PROTECTED]//trunk/Hibernate3/test/org/hibernate/test/AllTests.javaHHH-1986 : InvocationTargetException on JavassistLazyInitializer10472modified[EMAIL PROTECTED]//trunk/Hibernate3/test/org/hibernate/test/bytecode/Bean.javaHHH-1986 : InvocationTargetException on JavassistLazyInitializer10472added[EMAIL PROTECTED]//trunk/Hibernate3/test/org/hibernate/test/bytecode/javassist/InvocationTargetExceptionTest.javaHHH-1986 : InvocationTargetException on JavassistLazyInitializer10472added[EMAIL PROTECTED]//trunk/Hibernate3/test/org/hibernate/test/bytecode/BytecodeSuite.javaHHH-1986 : InvocationTargetException on JavassistLazyInitializer10472modified[EMAIL PROTECTED]//trunk/Hibernate3/test/org/hibernate/test/bytecode/Bean.hbm.xmlHHH-1986 : InvocationTargetException on JavassistLazyInitializer10472added[EMAIL PROTECTED]//trunk/Hibernate3/test/org/hibernate/test/bytecode/cglib/InvocationTargetExceptionTest.javaHHH-1986 : InvocationTargetException on JavassistLazyInitializer10471modified[EMAIL PROTECTED]//trunk/Hibernate3/src/org/hibernate/proxy/pojo/javassist/JavassistLazyInitializer.javaHHH-1986 : InvocationTargetException on JavassistLazyInitializer10470modified[EMAIL PROTECTED]//trunk/Hibernate3/src/org/hibernate/collection/PersistentSet.javaformatting10470modified[EMAIL PROTECTED]//trunk/Hibernate3/src/org/hibernate/collection/PersistentMap.javaformatting10469modified[EMAIL PROTECTED]//trunk/Hibernate3/src/org/hibernate/FlushMode.javaHHH-2042 : FlushMode javadoc10461modifiedepbernard//trunk/Hibernate3/src/org/hibernate/proxy/EntityNotFoundDelegate.javarollback10455modifiedepbernard//trunk/Hibernate3/src/org/hibernate/proxy/EntityNotFoundDelegate.javaEJB-160 make Ejb3Configuration and AnnotationConfiguration serializable and allow JNDI referenceEntityNotFoundDelegate must be serializable10451addedepbernard//trunk/HibernateExt/ejb/src/test/org/hibernate/ejb/test/cascade/FetchTest2.javaEJB-221 TransientObjectException raised on proxies during persist_on_fllush.noCascade()10451modifiedepbernard//trunk/Hibernate3/src/org/hibernate/engine/CascadingAction.javaEJB-221 TransientObjectException raised on proxies during persist_on_fllush.noCascade()10451addedepbernard//trunk/HibernateExt/ejb/src/test/org/hibernate/ejb/test/cascade/Soldier2.javaEJB-221 TransientObjectException raised on proxies during persist_on_fllush.noCascade()10451addedepbernard//trunk/HibernateExt/ejb/src/test/org/hibernate/ejb/test/cascade/Troop2.javaEJB-221 TransientObjectException raised on proxies during persist_on_fllush.noCascade()10450modifie