[hibernate/hibernate-orm] dbff4c: HHH-2394 Got filters working on sub-classes.
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: dbff4c1839b71499b40be877e02a86687c2704f8
https://github.com/hibernate/hibernate-orm/commit/dbff4c1839b71499b40be87...
Author: Rob Worsnop <robert.worsnop(a)altisource.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
A hibernate-core/src/main/java/org/hibernate/internal/FilterAliasGenerator.java
A hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
A hibernate-core/src/main/java/org/hibernate/internal/PersistentClassFilterConfiguration.java
A hibernate-core/src/main/java/org/hibernate/internal/QualifiedTableNameFilterConfiguration.java
A hibernate-core/src/main/java/org/hibernate/internal/StaticFilterAliasGenerator.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/Filterable.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/mapping/Subclass.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/BasicCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/OneToManyPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/resources/org/hibernate/hibernate-mapping-4.0.xsd
M hibernate-core/src/test/java/org/hibernate/test/cfg/persister/GoofyPersisterClassProvider.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/CustomPersister.java
M hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/PersisterClassProviderTest.java
Log Message:
-----------
HHH-2394 Got filters working on sub-classes.
Commit: ee01d806772690633694baea5909d69d83f7d6bd
https://github.com/hibernate/hibernate-orm/commit/ee01d806772690633694bae...
Author: Rob Worsnop <robert.worsnop(a)altisource.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/Filter.java
M hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/Filterable.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/resources/org/hibernate/hibernate-mapping-4.0.xsd
Log Message:
-----------
HHH-2394 Prefixes won't work; need table set explicitly
Commit: 63f2639101a113da800385be4e4c8498f7ee222b
https://github.com/hibernate/hibernate-orm/commit/63f2639101a113da800385b...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
Log Message:
-----------
HHH-2394 Derive table name from correct filter (fixed typo)
Commit: 09547a9051dd0ed851d8d6c5bd90841a93db2604
https://github.com/hibernate/hibernate-orm/commit/09547a9051dd0ed851d8d6c...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
Log Message:
-----------
HHH-2394 Remove conditions that blocked filters on sub-classes (for annotations)
Commit: 2aa89290f78ab0dc77dfaedc4455259eb8bd1b3d
https://github.com/hibernate/hibernate-orm/commit/2aa89290f78ab0dc77dfaed...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Animal.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Club.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Human.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/JoinedSubClassTest.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Mammal.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/Animal.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/Human.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/Mammal.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/SingleTableTest.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Animal.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Human.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Mammal.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/TablePerClassTest.java
Log Message:
-----------
HHH-2394 Added test cases
Commit: dc4e87340d941fad28efcf4ea86079902cf106e5
https://github.com/hibernate/hibernate-orm/commit/dc4e87340d941fad28efcf4...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/SubClassTest.java
M hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/JoinedSubClassTest.java
M hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/SingleTableTest.java
M hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/TablePerClassTest.java
Log Message:
-----------
HHH-2394 refactored unit tests
Commit: cfe7db063a31ac0f33f6483f75f38b5aa3fd81da
https://github.com/hibernate/hibernate-orm/commit/cfe7db063a31ac0f33f6483...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/SubClassTest.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Animal.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Club.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Human.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/JoinedSubClassTest.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/joined/Mammal.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/Animal.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/Human.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/Mammal.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/singletable/SingleTableTest.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Animal.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Human.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Mammal.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/filter/subclass/tableperclass/TablePerClassTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/SubClassTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Animal.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Club.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Human.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/JoinedSubClassTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Mammal.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/singletable/Animal.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/singletable/Human.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/singletable/Mammal.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/singletable/SingleTableTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Animal.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Human.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Mammal.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/tableperclass/TablePerClassTest.java
Log Message:
-----------
consolidate src/test and src/matrix
Commit: 05dcc209ae44dfa1fc39da67463a603d44199ba9
https://github.com/hibernate/hibernate-orm/commit/05dcc209ae44dfa1fc39da6...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/Filter.java
M hibernate-core/src/main/java/org/hibernate/annotations/FilterJoinTable.java
A hibernate-core/src/main/java/org/hibernate/annotations/SqlFragmentAlias.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
R hibernate-core/src/main/java/org/hibernate/internal/PersistentClassFilterConfiguration.java
R hibernate-core/src/main/java/org/hibernate/internal/QualifiedTableNameFilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/Filterable.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/resources/org/hibernate/hibernate-mapping-4.0.xsd
M hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Club.java
Log Message:
-----------
HHH-2394 Implemented @SqlFragmentAlias
Commit: 1cd8db2ac3f86c64010dd312076c8d3038267209
https://github.com/hibernate/hibernate-orm/commit/1cd8db2ac3f86c64010dd31...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/internal/DynamicFilterAliasGenerator.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/secondarytable/SecondaryTableTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/filter/secondarytable/User.java
Log Message:
-----------
HHH-2394 Got filters working with secondary tables
Commit: 542bc5c83c8729e93193d457f51254e1edc1ac71
https://github.com/hibernate/hibernate-orm/commit/542bc5c83c8729e93193d45...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/singletable/Animal.java
Log Message:
-----------
HHH-2394 Allowed usage of {alias} marker.
Commit: 82c99ccf6fb148e46fd0736f1f9531f6904db226
https://github.com/hibernate/hibernate-orm/commit/82c99ccf6fb148e46fd0736...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
HHH-2394 Removed unused imports
Commit: 5cb8d3a8b39f35cab1f32910c242690f9eebd578
https://github.com/hibernate/hibernate-orm/commit/5cb8d3a8b39f35cab1f3291...
Author: Rob Worsnop <rworsnop(a)gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/SqlFragmentAlias.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/Filterable.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Club.java
Log Message:
-----------
HHH-2394 Add support for SqlFragmentAlias.entity element
Commit: cef5f9a7cd397421003c8da81f2ad01db28dcebb
https://github.com/hibernate/hibernate-orm/commit/cef5f9a7cd397421003c8da...
Author: Strong Liu <stliu(a)hibernate.org>
Date: 2012-07-12 (Thu, 12 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
Log Message:
-----------
HHH-2394 Add support for SqlFragmentAlias.entity element
Compare: https://github.com/hibernate/hibernate-orm/compare/1d2877838bb7...cef5f9a...
12 years, 6 months
[hibernate/hibernate-orm] c46daa: HHH-7440, HHH-7368, HHH-7369, HHH-7370 - Redesign ...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: c46daa4cf057c0e7bf9d78c6d0ee2824ca3f0ff9
https://github.com/hibernate/hibernate-orm/commit/c46daa4cf057c0e7bf9d78c...
Author: Lukasz Antoniak <lukasz.antoniak(a)gmail.com>
Date: 2012-07-10 (Tue, 10 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java
A hibernate-core/src/main/java/org/hibernate/dialect/pagination/AbstractLimitHandler.java
A hibernate-core/src/main/java/org/hibernate/dialect/pagination/LegacyLimitHandler.java
A hibernate-core/src/main/java/org/hibernate/dialect/pagination/LimitHandler.java
A hibernate-core/src/main/java/org/hibernate/dialect/pagination/LimitHelper.java
A hibernate-core/src/main/java/org/hibernate/dialect/pagination/NoopLimitHandler.java
A hibernate-core/src/main/java/org/hibernate/dialect/pagination/SQLServer2005LimitHandler.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/classic/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/Loader.java
M hibernate-core/src/main/java/org/hibernate/loader/hql/QueryLoader.java
M hibernate-core/src/test/java/org/hibernate/dialect/SQLServer2005DialectTestCase.java
M hibernate-core/src/test/java/org/hibernate/test/dialect/functional/Product2.java
M hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
Log Message:
-----------
HHH-7440, HHH-7368, HHH-7369, HHH-7370 - Redesign dialect-specific LIMIT clause appliance
12 years, 6 months