[hibernate/hibernate-core] df9d89: HHH-2860 - Consolidate Session creation options/pa...
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-core
Commit: df9d8939bbb4d9c84d710c0ac0ee0310359382c6
https://github.com/hibernate/hibernate-core/commit/df9d8939bbb4d9c84d710c...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Session.java
A hibernate-core/src/main/java/org/hibernate/SessionBuilder.java
M hibernate-core/src/main/java/org/hibernate/SessionFactory.java
A hibernate-core/src/main/java/org/hibernate/SharedSessionBuilder.java
M hibernate-core/src/main/java/org/hibernate/context/JTASessionContext.java
M hibernate-core/src/main/java/org/hibernate/context/ThreadLocalSessionContext.java
M hibernate-core/src/main/java/org/hibernate/engine/SessionFactoryImplementor.java
M hibernate-core/src/main/java/org/hibernate/impl/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/impl/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/jmx/SessionFactoryStub.java
M hibernate-core/src/test/java/org/hibernate/test/connections/AggressiveReleaseTest.java
M hibernate-core/src/test/java/org/hibernate/test/connections/ConnectionManagementTestCase.java
M hibernate-core/src/test/java/org/hibernate/test/connections/SuppliedConnectionTest.java
M hibernate-core/src/test/java/org/hibernate/test/join/JoinTest.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/txn/TransactionJoiningTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/CustomSQLTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/FooBarTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/FumTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/MapTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/MasterDetailTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/MultiTableTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/ParentChildTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/SQLLoaderTest.java
M hibernate-core/src/test/java/org/hibernate/test/tm/CMTTest.java
M hibernate-entitymanager/src/main/java/org/hibernate/ejb/EntityManagerImpl.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
Log Message:
-----------
HHH-2860 - Consolidate Session creation options/parameters
13 years, 9 months
[hibernate/hibernate-core] 7a5c85: HHH-5989 - Add tests of JPA-style transaction join...
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-core
Commit: 7a5c85823ba1edbbf9cc1074892e3f5c53b69c66
https://github.com/hibernate/hibernate-core/commit/7a5c85823ba1edbbf9cc10...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Transaction.java
M hibernate-core/src/main/java/org/hibernate/engine/SessionFactoryImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/CMTTransaction.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/spi/AbstractTransactionImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/synchronization/internal/SynchronizationCallbackCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/impl/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/impl/SessionImpl.java
A hibernate-core/src/test/java/org/hibernate/test/jpa/txn/TransactionJoiningTest.java
M hibernate-entitymanager/src/main/java/org/hibernate/ejb/EntityManagerImpl.java
M hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/BaseEntityManagerFunctionalTestCase.java
A hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/transaction/TransactionJoiningTest.java
Log Message:
-----------
HHH-5989 - Add tests of JPA-style transaction joining
13 years, 9 months
[hibernate/hibernate-core] 61bd52: HHH-6036: Moving the "mapping exceptions" chapter ...
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-core
Commit: 61bd52fb34afac44d669b2508386f3b59cd7164f
https://github.com/hibernate/hibernate-core/commit/61bd52fb34afac44d669b2...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Moving the "mapping exceptions" chapter of Envers docs
Commit: 6c7ec667a06d0c54af77a5d225f8f83a81390b0a
https://github.com/hibernate/hibernate-core/commit/6c7ec667a06d0c54af77a5...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Moving the "partitioning" chapter of Envers docs
Commit: 9758c63354299a0b618a219bba01cb70bdc827a0
https://github.com/hibernate/hibernate-core/commit/9758c63354299a0b618a21...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Moving the "schema" and "tables" chapters of Envers docs
Commit: a16177035a181588c558eff4e54f1a7ae163e210
https://github.com/hibernate/hibernate-core/commit/a16177035a181588c558ef...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Moving the "query" chapter of Envers docs
Commit: e72fa13bd49598b791184eb56f301a281600a438
https://github.com/hibernate/hibernate-core/commit/e72fa13bd49598b791184e...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Some corrections to the "revision log" chapter of Envers docs
Commit: 02e06265e8f132f1fba435f3871bcf212192e9ba
https://github.com/hibernate/hibernate-core/commit/02e06265e8f132f1fba435...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Moving the "configuration" chapter of Envers docs - creating a new section on Envers mapping annotations
Commit: ce4faca5284d1a47f8fc075268f11bcae7daafd0
https://github.com/hibernate/hibernate-core/commit/ce4faca5284d1a47f8fc07...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Moving the "links" chapter of Envers docs
Commit: e9c555b2144d8da7eaf519de38a3ef2babde92c1
https://github.com/hibernate/hibernate-core/commit/e9c555b2144d8da7eaf519...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Author_Group.xml
M documentation/src/main/docbook/quickstart/en-US/Author_Group.xml
Log Message:
-----------
HHH-6036: As the Envers docs are merged into the dev guide adding me as one of the authors :)
Commit: e71762a313a71bba7c06e51c4c8694a2c79ed12b
https://github.com/hibernate/hibernate-core/commit/e71762a313a71bba7c06e5...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
M documentation/src/main/docbook/devguide/en-US/Envers.xml
Log Message:
-----------
HHH-6036: Adding a basics chapter to introduce Envers concepts
Commit: 33cc3f3f62eab7868d1d053a3f258492f88f043a
https://github.com/hibernate/hibernate-core/commit/33cc3f3f62eab7868d1d05...
Author: adamw <adam(a)warski.org>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Changed paths:
R documentation/src/main/docbook/envers/README
R documentation/src/main/docbook/envers/en-US/Book_Info.xml
R documentation/src/main/docbook/envers/en-US/Envers_Reference.xml
R documentation/src/main/docbook/envers/en-US/Hibernate_Envers_-_Easy_Entity_Auditing.ent
R documentation/src/main/docbook/envers/en-US/Hibernate_Envers_-_Easy_Entity_Auditing.xml
R documentation/src/main/docbook/envers/en-US/content/configuration.xml
R documentation/src/main/docbook/envers/en-US/content/example.xml
R documentation/src/main/docbook/envers/en-US/content/exceptions.xml
R documentation/src/main/docbook/envers/en-US/content/links.xml
R documentation/src/main/docbook/envers/en-US/content/migration.xml
R documentation/src/main/docbook/envers/en-US/content/partitioning.xml
R documentation/src/main/docbook/envers/en-US/content/preface.xml
R documentation/src/main/docbook/envers/en-US/content/queries.xml
R documentation/src/main/docbook/envers/en-US/content/quickstart.xml
R documentation/src/main/docbook/envers/en-US/content/revisionlog.xml
R documentation/src/main/docbook/envers/en-US/content/schema.xml
R documentation/src/main/docbook/envers/en-US/content/source.xml
R documentation/src/main/docbook/envers/en-US/content/tables.xml
R documentation/src/main/docbook/envers/en-US/legal_notice.xml
R documentation/src/main/docbook/envers/publican.cfg
Log Message:
-----------
HHH-6036: Removing old Envers docs
Compare: https://github.com/hibernate/hibernate-core/compare/f36ebfe...33cc3f3
13 years, 9 months
[hibernate/hibernate-core] ee2dd0: HHH-5996 - Wire in JdbcServices into SchemaUpdateT...
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-core
Commit: ee2dd0ddf5d42ff5343a97bfb7e4a7938ab36eec
https://github.com/hibernate/hibernate-core/commit/ee2dd0ddf5d42ff5343a97...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/impl/SessionFactoryImpl.java
A hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseExporter.java
A hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/Exporter.java
A hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/FileExporter.java
A hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/ImportScriptException.java
M hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
M hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaUpdate.java
M hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaValidator.java
A hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/ScriptExporter.java
A hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/Target.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/EntityTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/MigrationTest.java
Log Message:
-----------
HHH-5996 - Wire in JdbcServices into SchemaUpdateTask, SchemaExportTask, SchemaValidatorTask, HibernateService.dropSchema(), HibernateService.createSchema()
Commit: f36ebfee26c26df950c578def9310d9b58ac90ac
https://github.com/hibernate/hibernate-core/commit/f36ebfee26c26df950c578...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M hibernate-envers/src/main/java/org/hibernate/envers/entities/EntitiesConfigurations.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/EnversIntegrator.java
Log Message:
-----------
Merge branch 'master' of github.com:hibernate/hibernate-core
Compare: https://github.com/hibernate/hibernate-core/compare/1a14321...f36ebfe
13 years, 9 months
[hibernate/hibernate-core] 64b73d: HHH-3646 - implement a test case for query collect...
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-core
Commit: 64b73d630159793346d6d7994f556cba1617a044
https://github.com/hibernate/hibernate-core/commit/64b73d630159793346d6d7...
Author: David Mansfield <david(a)gandalf.cobite.com>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/criteria/Course.java
M hibernate-core/src/test/java/org/hibernate/test/criteria/CriteriaQueryTest.java
M hibernate-core/src/test/java/org/hibernate/test/criteria/Enrolment.hbm.xml
Log Message:
-----------
HHH-3646 - implement a test case for query collection-of-value
Commit: b8230bd07dfdf6e9042e3628b81e8e507f1bcfbe
https://github.com/hibernate/hibernate-core/commit/b8230bd07dfdf6e9042e36...
Author: David Mansfield <david(a)gandalf.cobite.com>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/criteria/CriteriaQueryTest.java
M hibernate-core/src/test/java/org/hibernate/test/criteria/Enrolment.hbm.xml
M hibernate-core/src/test/java/org/hibernate/test/criteria/Student.java
A hibernate-core/src/test/java/org/hibernate/test/criteria/StudentAddress.java
Log Message:
-----------
HHH-3646 - implement a test case for query collection-of-component
Commit: 4ddaaa1deb9d724d5dedd6fb4637d1c3e4b85670
https://github.com/hibernate/hibernate-core/commit/4ddaaa1deb9d724d5dedd6...
Author: David Mansfield <david(a)gandalf.cobite.com>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/ast/util/SessionFactoryHelper.java
Log Message:
-----------
HHH-3646 - make SessionFactoryHelper::getCollectionPropertyMapping public - it will be used later
Commit: 9f311a469863c79f544efb9fbfa6cd3d1f94f989
https://github.com/hibernate/hibernate-core/commit/9f311a469863c79f544efb...
Author: David Mansfield <david(a)gandalf.cobite.com>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/loader/criteria/ComponentCollectionCriteriaInfoProvider.java
A hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaInfoProvider.java
M hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaJoinWalker.java
M hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaQueryTranslator.java
A hibernate-core/src/main/java/org/hibernate/loader/criteria/EntityCriteriaInfoProvider.java
A hibernate-core/src/main/java/org/hibernate/loader/criteria/ScalarCollectionCriteriaInfoProvider.java
Log Message:
-----------
HHH-3646 - implement Criteria API querying of collection-of-component and collection-of-scalar
The general approach is:
* create an interface called the CriteriaInfoProvider which abstracts
the operations that are different for the different types of Criteria
targets.
* change the getPathEntityName method to be a factory method for
creating the proper implementation of the interface
* change the rest of CriteriaQueryTranslator to use the interface
instead of using the previous entity-only implementation
* implementations of the interface exist for
Entity: this implements the same code as currently exists
ComponentCollection: for collection-of-component
ScalarCollection: for collection-of-value
Component: for components
* update the logic in CriteriaJoinWalker which has to be very careful
about how it works since the walker walks certain property paths twice.
Commit: 69b09dfcd235ff2374fb7a02070f7edaf246f2a3
https://github.com/hibernate/hibernate-core/commit/69b09dfcd235ff2374fb7a...
Author: David Mansfield <david(a)gandalf.cobite.com>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/JoinWalker.java
Log Message:
-----------
HHH-3646 - don't append spurious comma in SQL select fragment
In the JoinWalker, we assemble an SQL select list fragment
from a list of Joinables. In the existing code, we see it's
possible for the selectFragment generated by a joinable to be empty.
However if the LAST joinable generates an empty fragment, we put
a spurious comma into the fragment. Fix this by only prepending a
comma when necessary.
Commit: 90fdca9053d1d0f7d14e2c7b20c243ca62d07305
https://github.com/hibernate/hibernate-core/commit/90fdca9053d1d0f7d14e2c...
Author: David Mansfield <david(a)gandalf.cobite.com>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M documentation/src/main/docbook/manual/en-US/content/query_criteria.xml
M hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaQueryTranslator.java
Log Message:
-----------
HHH-3646 - throw a better exception when criteria is placed directly on component
In the CriteriaQueryTranslator, we process the path given by
a SubCriteria object looking for the entity name for the property. If
the SubCriteria was mistakenly created on a component type, we will exit
the loop using the owning entity, and will eventually end up failing
(throwing an exception) trying to lookup up the restricted property
against the entity, instead of against the component. Fix this by
throwing a more informative exception, and modify the documentation to
be explicit about how to do this properly.
Commit: 5b5ec673b4ca35ea271a62890a18974242ca8aa5
https://github.com/hibernate/hibernate-core/commit/5b5ec673b4ca35ea271a62...
Author: David Mansfield <david(a)gandalf.cobite.com>
Date: 2011-03-30 (Wed, 30 Mar 2011)
Changed paths:
M documentation/src/main/docbook/manual/en-US/content/query_criteria.xml
Log Message:
-----------
HHH-3646 - documentation for Criteria query of collection-of-component and collection-of-scalar functionality
Compare: https://github.com/hibernate/hibernate-core/compare/e0431ad...5b5ec67
13 years, 9 months