Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HHH-9265 preview - Extract EntityEntry behind a factory + interface #34

Open
wants to merge 2,448 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
2448 commits
Select commit Hold shift + click to select a range
31cf1a9
HHH-8897 - Integrate org.hibernate.metamodel from metamodel branch in…
sebersole Feb 10, 2014
9bbcdb6
HHH-8897 - Integrate org.hibernate.metamodel from metamodel branch in…
sebersole Feb 11, 2014
fd58552
HHH-8947 Optimize performance of ServiceRegistry for intense lookup, …
Sanne Feb 7, 2014
a026346
HHH-8947 Refactor also the Alternative registry to use the new Concur…
Sanne Feb 8, 2014
c7bf1db
HHH-8946 Optimize JdbcCoordinatorImpl for CPU performance
Sanne Feb 7, 2014
f84cd30
HHH-8946 corrected bug in register(ResultSet, Statement), improved
brmeyer Feb 11, 2014
79379d5
HHH-8959 : Change values of type ValueHolder<Class> to JavaClassRefer…
gbadner Feb 12, 2014
bd17dab
HHH-8959 : Change values of type ValueHolder<Class> to JavaClassRefer…
gbadner Feb 12, 2014
2807578
HHH-8956 - TLC for annotation pre-processor
sebersole Feb 12, 2014
7f49298
HHH-8814 : Sequence generators on HSQLDB starts on 1 by default
Dec 23, 2013
7044fc4
HHH-8814 : test case
Feb 11, 2014
b09ff8a
HHH-8814 simplified the test a bit
brmeyer Feb 12, 2014
fd27956
HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping).
golovnin Feb 4, 2014
284e219
HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
brmeyer Feb 10, 2014
c46dbeb
HHH-8960 Formatting and fixing order of expected and actual values in…
hferentschik Feb 11, 2014
bf611d4
HHH-8960 First cut of re-enabled BV integration
hferentschik Feb 11, 2014
d9a4e09
HHH-8960 Removal of old svn tags in test code
hferentschik Feb 12, 2014
77b497b
HHH-8960 Re-introducing a Properties instance variable and apply it w…
hferentschik Feb 12, 2014
83e9ceb
HHH-8960 Re-enabling Bean Validation tests
hferentschik Feb 12, 2014
c5cbf66
HHH-8962 - Create a set of light reflection classes
sebersole Feb 12, 2014
b2ab350
HHH-8962 - Create a set of light reflection classes
sebersole Feb 13, 2014
50ff90b
HHH-8962 - Create a set of light reflection classes - modifier support
sebersole Feb 13, 2014
4b945fa
HHH-8966 - Redo the MetadataBuilder process
sebersole Feb 14, 2014
8ca6ff2
HHH-8737 deprecated UniqueDelegate, created StandardUniqueKeyExporter,
brmeyer Feb 4, 2014
f652d87
HHH-8737 pulled applyConstraints/dropConstraints into a new
brmeyer Feb 7, 2014
fcb3e40
HHH-8737 handle permutations of conflicting indexes and unique keys, set
brmeyer Feb 13, 2014
357fd11
HHH-8737 log warnings if duplicate constraints/indexes would have been
brmeyer Feb 14, 2014
b5553a2
HHH-8862 bind @CollectionTable @ForeignKey explicit name
brmeyer Feb 14, 2014
ff12d5c
HHH-8969 removed deprecated annotations
brmeyer Feb 14, 2014
2f636e4
HHH-8827 corrected @SortNatural and @SortComparator, test case
brmeyer Jan 9, 2014
993de90
HHH-8969 corrected test failures
brmeyer Feb 14, 2014
3510395
HHH-8962 - Create a set of light reflection classes - hook in + sugge…
sebersole Feb 15, 2014
ea4812b
HHH-8962 - Create a set of light reflection classes - initial annotat…
sebersole Feb 17, 2014
e84ed19
HHH-8737 throw MappingException for constraint with non-existent
brmeyer Feb 17, 2014
97ee747
HHH-8962 : Fix compile failures and remove @FailureExpectedWithNewMet…
gbadner Feb 17, 2014
3bb937b
HHH-8962 - Create a set of light reflection classes - initial work on…
sebersole Feb 18, 2014
ebcd0d9
HHH-8956 - TLC for annotation pre-processor
sebersole Feb 18, 2014
758d635
HHH-8893 - Develop Hibernate mapping XSD extending the JPA mapping (o…
sebersole Feb 18, 2014
0f0a95e
HHH-8939 Reduce contention on initialization of ColumnNameCache insta…
Sanne Feb 18, 2014
539866b
HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey i…
Sanne Feb 12, 2014
7dc8d9c
HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly re…
Sanne Feb 11, 2014
31a4b22
HHH-8945 increased default map size
brmeyer Feb 18, 2014
53f7528
HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Quer…
Sanne Feb 18, 2014
64acebb
HHH-8961 corrected test failure
brmeyer Feb 18, 2014
2961f7d
HHH-8983 log/clear Statement warnings on JdbcCoordinator#release
brmeyer Feb 19, 2014
586f9c2
HHH-8989
Feb 20, 2014
f0bf53e
HHH-8991 Cache lookup of identifier Type and associated EntityPersist…
Sanne Feb 22, 2014
86ab291
HHH-8984 EntityEntry slimming: remove EntityMode and tenantId fields
Sanne Feb 24, 2014
a373505
CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent
Sanne Feb 24, 2014
d28447e
HHH-8968 - Fix and test by FiatLox
lukasz-antoniak Feb 24, 2014
03c086e
Revert "HHH-8945 increased default map size"
brmeyer Feb 26, 2014
15247a6
Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to r…
brmeyer Feb 26, 2014
28ae6d3
HHH-9001 Unnecessary Stack object being allocated in
Sanne Feb 26, 2014
a34d740
HHH-8878 Fix logged message about PooledLoOptimizer being created
Sanne Feb 26, 2014
2798e9d
HHH-8878 Avoid hot allocation in PooledLoOptimizer
Sanne Feb 26, 2014
6ccde14
HHH-8878 Remove some dead code
Sanne Feb 26, 2014
8cd013b
HHH-8950 Avoid repeated array allocation for sqlTypes
Sanne Feb 9, 2014
1a79515
HHH-9003 Avoid allocating arrays in most methods of ComponentType
Sanne Feb 26, 2014
d25044a
HHH-9010: Revert "HHH-8961 corrected test failure"
brmeyer Feb 28, 2014
9f927ba
HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.ca…
brmeyer Feb 28, 2014
9b57337
HHH-9017 correct HSQL pooled sequences
brmeyer Mar 4, 2014
595c787
HHH-7072 force recreation of element collections of components with all
brmeyer Mar 4, 2014
2f293ed
HHH-7072 correcting test failure
brmeyer Mar 4, 2014
ca0c2f4
HHH-9024 correct TypedValue transients during de-serialization
brmeyer Mar 6, 2014
c94088e
HHH-9028 Test case: when second level cache is enabled, the session r…
gsmet Mar 7, 2014
d576bb0
HHH-9028 corrected Session#get for caching w/ polymorphism, improved
brmeyer Mar 7, 2014
ca9b917
HHH-7534 completed test case
brmeyer Mar 10, 2014
552301b
HHH-9034 ASTParserLoadingTest fails with postgresplus92
brmeyer Mar 12, 2014
a69c6c7
HHH-9037 Simplified debugging by improving the ClassCastException mes…
Aug 20, 2013
f21a84d
HHH-8815 Updated example code for session scoped interceptor
eseverson Aug 21, 2013
fc4a0cd
HHH-9039 Update collection_mapping.xml typos
bleporini Feb 5, 2014
7f2eb1c
HHH-9039 Typo
Feb 10, 2014
05c078e
HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity
sndyuk Feb 28, 2014
a71eb47
HHH-8374 test case
brmeyer Mar 12, 2014
26fadde
HHH-9040 Added halt on error support for scripts importing
Mar 12, 2014
0329f37
HHH-9002 : Fetch many-to-many order by
gbadner Mar 14, 2014
c06a45a
HHH-8966 - Redo the MetadataBuilder process;
sebersole Mar 17, 2014
128efca
HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
brmeyer Mar 17, 2014
fed02ff
HHH-9054 QuoteTest violates unique key constraint on some DBs
brmeyer Mar 17, 2014
a972348
HHH-9056
brmeyer Mar 17, 2014
ea112b7
HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting
brmeyer Mar 17, 2014
96d60ba
HHH-9051 removing unnecessary System.out.println
brmeyer Mar 17, 2014
4f963a6
HHH-1582 - Added explicit PostCommit(Insert|Delete|Update)EvenLister …
Feb 27, 2014
ef0bcbd
HHH-1582 : post-commit listeners and failed transactions
sebersole Mar 17, 2014
8309071
HHH-1582 : post-commit listeners and failed transactions
sebersole Mar 17, 2014
8945e9e
HHH-9060 - JPA 2.1 ContructorResult binding in metamodel
sebersole Mar 17, 2014
4651a06
HHH-8805 HHH-7916 Support @Index(NO_CONSTRAINT) and @NotFound(IGNORE)
brmeyer Mar 17, 2014
a9f867f
HHH-7033 removed deprecated dialects, deprecated dialect methods,
brmeyer Mar 13, 2014
1e5444f
HHH-9044 created Oracle12cDialect, SQL2008StandardLimitHandler, minor…
quaff Mar 13, 2014
ac648ce
HHH-9044 formatting, minor fixes
brmeyer Mar 13, 2014
83d2e46
HHH-7033 replaced all Dialect limit/offset methods with LimitHandler use
brmeyer Mar 13, 2014
4933a26
HHH-9059 - JPA 2.1 @NamedStoredProcedureQuery binding in metamodel
sebersole Mar 18, 2014
6e8cffc
HHH-9048 - Derived ids where the derived id is basic cannot be looked…
sebersole Mar 18, 2014
839f680
HHH-9064 Simplify/improve the hibernate-osgi tests
brmeyer Mar 18, 2014
8c8304a
HHH-8021 support overriding nested embeddables with secondary tables
brmeyer Mar 19, 2014
27a53af
HHH-8732 Upgraded Ehcache to 2.7.5
alexsnaps Dec 3, 2013
18561b8
HHH-8732 minor test fix
brmeyer Mar 19, 2014
e836915
HHH-9038 Fix HSQLDB dialect for non-existing constraints.
Dec 10, 2013
9d0af62
HHH-8956 - JandexHelper love
sebersole Mar 19, 2014
414a0fb
HHH-8816 - Unable to instantiate AttributeConverter: root cause of ex…
sebersole Mar 20, 2014
bdb27be
HHH-8923 - Reconsider closing of ServiceRegistry instances
sebersole Mar 20, 2014
4f0cd27
HHH-9067 Make HibernatePersistenceProvider easier to extend
gsmet Mar 19, 2014
a9d927a
HHH-9071 When an already initialized proxy is narrowed, initialize th…
gsmet Mar 20, 2014
af557ce
HHH-9071 - Proxy narrowing loses the initialized state of the origina…
sebersole Mar 21, 2014
cee8d5d
HHH-9072 Fix name property of LoadEventListener.RELOAD
gsmet Mar 20, 2014
3020560
HHH-7971 create regression test case for lazy loading with property E…
Mar 21, 2014
6f34235
HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to re…
sebersole Mar 21, 2014
24ff8d6
HHH-7490 - Integrate Envers with Metamodel
gbadner Mar 20, 2014
1c222d1
HHH-6438 made Constraint#name an Identifier
brmeyer Mar 21, 2014
62704e4
HHH-7490 - Integrate Envers with Metamodel
gbadner Mar 21, 2014
9504c10
HHH-8796 corrected MySQL index create/drop, corrected qualifyIndexName()
brmeyer Mar 21, 2014
ea2a7d5
HHH-9076 - Dynamic model (map mode) support in reflite
sebersole Mar 22, 2014
87d04ef
HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections
brmeyer Mar 24, 2014
e756bd0
HHH-6109 corrected @CollectionId#type handling
brmeyer Mar 24, 2014
b679529
HHH-8962 allow PrimitiveTypeDescriptor to provide the actual Class
brmeyer Mar 24, 2014
519acb2
HHH-6132 @FetchProfiles should throw MappingException when invalid
brmeyer Mar 25, 2014
c1a5622
HHH-9083 throw AnnotationException for out of place @Immutable
brmeyer Mar 25, 2014
c7a07a1
HHH-7904 corrected CollectionTableNamingStrategyHelper
brmeyer Mar 25, 2014
bab7fc6
HHH-9077 - org.hibernate.metamodel.source.spi TLC
sebersole Mar 26, 2014
2b17b95
FailureExpectedWithNewMetamodel cleanup
sebersole Mar 26, 2014
674eeec
FailureExpectedWithNewMetamodel cleanup
sebersole Mar 26, 2014
b906631
HHH-7490 - Integrate Envers with Metamodel
gbadner Mar 24, 2014
17a4568
HHH-9055 : Tests that fail due to association with an entity with @Id…
gbadner Mar 26, 2014
f803738
HHH-7490 - Integrate Envers with Metamodel
gbadner Mar 26, 2014
8002cf4
HHH-8923 - Reconsider closing of ServiceRegistry instances
sebersole Mar 26, 2014
0612dc7
HHH-8966 do not process attributes for non
brmeyer Mar 26, 2014
7be9fb7
HHH-9073 - TREAT downcasting and result restrictions
scottmarlow Mar 19, 2014
b9c0edb
HHH-9073 - TREAT downcasting and result restrictions
sebersole Mar 26, 2014
11f4aab
HHH-8966 removed mistakenly committed code
brmeyer Mar 26, 2014
cabc23e
HHH-8966 corrected failing test in hibernate-entitymanager
brmeyer Mar 26, 2014
f7b779e
document AccessType as topical guide
sebersole Mar 26, 2014
4f66fee
document AccessType as topical guide
sebersole Mar 26, 2014
c3e8f4a
FailureExpectedWithNewMetamodel cleanup
sebersole Mar 27, 2014
c171d79
FailureExpectedWithNewMetamodel cleanup
sebersole Mar 27, 2014
1fbb10d
document AccessType as topical guide
sebersole Mar 27, 2014
3cd4ae6
HHH-9094 update hibernate-infinispan for metamodel
brmeyer Mar 28, 2014
5455163
HHH-9055 - Binding support for IdClass and MapsId needs a complete re…
sebersole Mar 28, 2014
2e09b19
Fixed bad merge of metamodel to master
sebersole Mar 29, 2014
72e3b9c
document AccessType as topical guide
sebersole Mar 29, 2014
9f36607
document AccessType as topical guide
sebersole Mar 30, 2014
887fdf5
document AccessType as topical guide
sebersole Mar 30, 2014
91dd2d6
document AccessType as topical guide
sebersole Mar 30, 2014
b0eee30
document AccessType as topical guide
sebersole Mar 30, 2014
c1cb059
HHH-9092 QueryBuilderTest.testMultiselectWithPredicates failing on
brmeyer Mar 31, 2014
ec169e4
set 5.0.0-SNAPSHOT version in build.gradle
brmeyer Mar 31, 2014
608e508
HHH-8956 - TLC for annotation pre-processor + document AccessType as …
sebersole Apr 2, 2014
920e3cf
HHH-6747 - ClassCastException when rendering SimpleCaseExpression
sebersole Apr 2, 2014
efa5dc2
HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThen…
sebersole Apr 3, 2014
6ffbf8f
HHH-9100 - Improve CAST function support
sebersole Apr 3, 2014
d8e4f9e
HHH-8956 - TLC for annotation pre-processor + document AccessType as …
sebersole Apr 3, 2014
2a0b982
FailureExpectedWithNewMetamodel cleanup
sebersole Apr 4, 2014
8ed0bbc
FailureExpectedWithNewMetamodel cleanup
sebersole Apr 4, 2014
1dd12ec
FailureExpectedWithNewMetamodel cleanup
sebersole Apr 4, 2014
137c2da
HHH-9100 - Improve CAST function support
sebersole Apr 4, 2014
c98c486
Applying advice from Peter in regards to http://forums.gradle.org/gra…
sebersole Apr 4, 2014
3ed2d7a
HHH-9104 corrected BasicHibernateAnnotationsTest.testFilterOnCollection
brmeyer Apr 7, 2014
4a5bbc8
HHH-8869 created hibernate-hikaricp connection provider
brmeyer Mar 17, 2014
5a7fd57
HHH-8869 fixes/simplifications for HikariCP 1.3.4
brmeyer Mar 28, 2014
a65ca80
HHH-8869 upgraded to HikariCP 1.3.5, replaced deprecated property
brmeyer Apr 7, 2014
0118376
HHH-9106 : Multiple detached representations of the same entity canno…
gbadner Apr 7, 2014
8c94c30
HHH-9107 throw WrongClassException if attempting to load incorrect
brmeyer Apr 8, 2014
42217d7
HHH-9107 @FailureExpectedWithNewMetamodel
brmeyer Apr 8, 2014
651b23b
HHH-8980 - Instance of super-class not found because of joined subcla…
sebersole Apr 8, 2014
9bd6917
HHH-7490 : Misc bugfixes and added @FailureExpectedWithNewMetamodel t…
gbadner Apr 12, 2014
3b18c27
HHH-9136 - DatabaseMetadata: NPE hides exception in finally block
msulima Apr 20, 2014
d3a3a68
HHH-3730 Compare both ids in isModified instead of an object and an id
gsmet Apr 9, 2014
d591a3f
HHH-9093 - Fixed typo in error message when no implicit selection could
jfourment Mar 28, 2014
b6a8352
HHH-9080 - Can't add attribute node declared in superclass (inheritan…
JockiHendry Mar 25, 2014
7e7a7b2
Revert "HHH-3730 Compare both ids in isModified instead of an object …
brmeyer Apr 21, 2014
700a233
HHH-8908 : Column of Embedded missing in Audit Table
gbadner Apr 21, 2014
104eea1
HHH-9055 - Binding support for IdClass and MapsId needs a complete re…
sebersole Apr 8, 2014
bd7605d
HHH-9055 - Binding support for IdClass and MapsId needs a complete re…
sebersole Apr 24, 2014
7e5b0c4
HHH-9055 - Binding support for IdClass and MapsId needs a complete re…
sebersole Apr 24, 2014
3cec19a
HHH-9143 - Build baseline Jandex as part of scanning
sebersole Apr 24, 2014
f88b53c
HHH-9055 - Binding support for IdClass and MapsId needs a complete re…
sebersole Apr 24, 2014
9514c56
HHH-9055 - Binding support for IdClass and MapsId needs a complete re…
sebersole Apr 25, 2014
9db6596
HHH-9146 - hibernate-infinispan should be using JndiService to access…
sebersole Apr 25, 2014
4b44306
HHH-9143 - Build baseline Jandex as part of scanning
sebersole Apr 28, 2014
5bb9d2e
HHH-9150 : Envers test table is too long causing Oracle failure
gbadner May 1, 2014
f237a9d
HHH-9161 - Improve build handling of generated sources
sebersole May 5, 2014
568a16e
HHH-9113 - Support for building with Java 8 JDK
sebersole May 7, 2014
bb91e1d
HHH-9161 - Improve build handling of generated sources
sebersole May 8, 2014
9a822a9
HHH-9173 - Temporarily disable the hibernate-osgi tests on master
sebersole May 8, 2014
20d3b62
HHH-9171 : Orphan removal broken for new element added by merge that …
gbadner May 7, 2014
f410417
HHH-9143 - Build baseline Jandex as part of scanning
sebersole May 5, 2014
4579378
HHH-9143 - Build baseline Jandex as part of scanning
sebersole May 8, 2014
26c7400
HHH-9174 Increase performance
brmeyer May 9, 2014
4720459
HHH-9170 StatelessSession is accidentally 2LC enabled in some cases
brmeyer May 9, 2014
c5e09dd
HHH-9174 cache SqlExceptionHelper reference
brmeyer May 9, 2014
b945cc2
HHH-9154 : HQL Parsing: unexpected token ':' (test case)
gbadner May 13, 2014
642012a
HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.…
gbadner May 14, 2014
2a27b7d
HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.…
gbadner May 14, 2014
e4426c9
HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.…
gbadner May 14, 2014
483bfdb
HHH-9189 HHH-9189 : Initial value for sequence in HBM mapping
gbadner May 14, 2014
cb87d8f
HHH-9154 - keywords as parameter names
sebersole May 15, 2014
b9dc1e3
HHH-9200 - Natural id cache statistics are not cleared
lukasz-antoniak May 18, 2014
924fce2
HHH-9126 Support new functions in PostgreSQL 9.4
mkurz Apr 16, 2014
bd82308
HHH-9126 formatting
brmeyer May 19, 2014
4a8bc1f
HHH-9167 Add support for PostgreSQL's new JSON data type
Mar 19, 2014
66da9ca
HHH-9167 formatting, postgres 94 extends 92
brmeyer May 19, 2014
8634da8
HHH-8893 wired UnifiedMappingBinder into MetadataSources
brmeyer May 21, 2014
77f0c9a
HHH-8893 removed o.h.metadata.source.internal.hbm,
brmeyer May 21, 2014
01ece11
HHH-8893 HBM transform/mock
brmeyer Apr 3, 2014
87a4b56
HHH-8893 deprecated Configuration#addDocument(Document), removed Enti…
brmeyer Apr 3, 2014
95d66ed
HHH-8893 HBM transform/mock
brmeyer Apr 4, 2014
047d308
HHH-8893 delay binding of xml resources until building Metadata,
brmeyer May 21, 2014
754af46
HHH-8893 HBM transform/mock
brmeyer May 21, 2014
3e1d73c
HHH-8893 @FailureExpectedWithNewUnifiedXsd & a @FailureExpectedMarker
brmeyer May 21, 2014
51d09c5
HHH-8893 HBM transform/mock
brmeyer May 5, 2014
40f1ce6
HHH-7490 temporarily disabled envers tests
brmeyer May 21, 2014
2faa0b2
HHH-8893 corrected expected failures
brmeyer May 21, 2014
523b515
HHH-9190 Introducing ParameterMetadataRecognizer contract in order to…
gunnarmorling May 19, 2014
954a841
HHH-9190 Introducing QueryPlanFactory service contract in order to ma…
gunnarmorling May 19, 2014
d1959cd
HHH-9190 : port to master
sebersole May 21, 2014
fbe72e7
HHH-9190 : consolidate contracts
sebersole May 22, 2014
c012c4d
HHH-9138 - CastFunctionTest failing on most databases
sebersole May 22, 2014
54cc907
[HHH-8941] add SQLFunctionTemplate for replace() to FirebirdDialect
dodgex Apr 28, 2014
df7c35d
HHH-8941 simplified the dialect function
brmeyer May 23, 2014
e226cb9
HHH-9201 - Evict cache instead of remove after transaction completion
lukasz-antoniak May 19, 2014
73f7b18
HHH-9203 - ConcurrentNaturalIdCacheStatisticsImpl#getEntries() fails
lukasz-antoniak May 23, 2014
75588c8
HHH-9145 Use JDBC Wrapper API for type checks
joelbbagley Apr 25, 2014
48d2c79
HHH-9145 simplified JDBC check
brmeyer May 23, 2014
9d46f51
HHH-8818 TcclSafeAggregatedClassLoader
brmeyer Apr 25, 2014
ed9b1af
HHH-8885 MapJoin.key() produces unusable Path object
Apr 29, 2014
a252d32
HHH-8885 @FailureExpectedWithNewMetamodel
brmeyer May 27, 2014
cbf1ce0
HHH-9171 : Orphan removal does not happen for new entity element
gbadner May 27, 2014
367bdbc
HHH-9204 HHH-9205 : Restore AbstractCollectionPersister.doProcessQueu…
gbadner May 19, 2014
85a6015
HHH-9222 - Bulk delete and element collections
sebersole May 27, 2014
9afc3d0
HHH-9194 : Revert HHH-8908 fix
gbadner May 28, 2014
1f7d90d
HHH-9193 : Default audit behavior of mapped-superclass (test cases)
gbadner May 16, 2014
f50da66
HHH-9202 NPE in OneToOneLinkTest on oracle12c
brmeyer May 28, 2014
cba2c0f
HHH-8904 documentation for build time bytecode enhancements
Jan 28, 2014
8ae122f
HHH-8904 minor edits
brmeyer May 28, 2014
bcda51d
HHH-8893 HBM transform/mock
brmeyer May 30, 2014
58aa7a9
HHH-8893 cleanup
brmeyer May 27, 2014
84871ef
HHH-9215 HHH-9214 HHH-9213 correcting Sybase test failures
brmeyer May 30, 2014
6f947f2
HHH-5690 : Entity cache after persist, flush, rollback (test case)
gbadner Jun 4, 2014
219dfbf
HHH-9231 HHH-5690 : Test cases for transactional cache strategy
gbadner Jun 4, 2014
e010e45
HHH-9106 : Merging multiple representations of the same entity merged
gbadner Jun 12, 2014
5d7266b
HHH-9239 HHH-9240 : FailureExpected test cases when merging entity co…
gbadner Jun 12, 2014
caaee7b
HHH-9106 : Merging multiple representations of the same entity
gbadner Jun 13, 2014
db3fea1
HHH-9106 : Merging multiple representations of the same entity (entit…
gbadner Jun 13, 2014
e361def
HHH-9245 : <list> mapped in hbm.xml ends up as a bag (test case)
gbadner Jun 14, 2014
b6da553
HHH-9106 : Merging multiple representations of the same entity (impro…
gbadner Jun 17, 2014
b845465
HHH-9234 : Test failure (testNaturalIdChangedWhileAttached) on SAP/S…
gbadner Jun 19, 2014
c16b820
HHH-9106 : (corrected test case to work on MySQL)
gbadner Jun 19, 2014
75aac4f
HHH-9090 - HQL: parser is trying to reuse parent implied join for sub…
sebersole Jun 23, 2014
2cb3731
HHH-9265 Split EntityEntry into interface and default implementation
emmanuelbernard Jun 29, 2014
6358ab9
HHH-9265 Introduce EntityEntryFactory contract and use it instead of …
emmanuelbernard Jun 29, 2014
1c7c0ac
HHH-9265 Make EntityEntryFactory a SessionFactoryServiceRegistry service
emmanuelbernard Jun 30, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
HHH-8947 Refactor also the Alternative registry to use the new Concur…
…rentServiceBinding
Sanne authored and brmeyer committed Feb 11, 2014

Verified

This commit was signed with the committer’s verified signature.
limbonaut Serhii Snitsaruk
commit a026346edadd3f25238a5fb150bacc99225c067d
Original file line number Diff line number Diff line change
@@ -26,7 +26,6 @@
import java.lang.reflect.Method;
import java.util.List;
import java.util.ListIterator;
import java.util.concurrent.ConcurrentHashMap;

import org.hibernate.boot.registry.BootstrapServiceRegistry;
import org.hibernate.cfg.Environment;
@@ -64,7 +63,7 @@ public abstract class AbstractServiceRegistryImpl
private final boolean allowCrawling;

private final ConcurrentServiceBinding<Class,ServiceBinding> serviceBindingMap = new ConcurrentServiceBinding<Class,ServiceBinding>();
private ConcurrentHashMap<Class,Class> roleXref;
private ConcurrentServiceBinding<Class,Class> roleXref;

// IMPL NOTE : the list used for ordered destruction. Cannot used map above because we need to
// iterate it in reverse order which is only available through ListIterator
@@ -134,8 +133,9 @@ protected <R extends Service> ServiceBinding<R> locateServiceBinding(Class<R> se

// look for a previously resolved alternate registration
if ( roleXref != null ) {
if ( roleXref.containsKey( serviceRole ) ) {
return serviceBindingMap.get( roleXref.get( serviceRole ) );
final Class alternative = roleXref.get( serviceRole );
if ( alternative != null ) {
return serviceBindingMap.get( alternative );
}
}

@@ -161,7 +161,7 @@ protected <R extends Service> ServiceBinding<R> locateServiceBinding(Class<R> se

private void registerAlternate(Class alternate, Class target) {
if ( roleXref == null ) {
roleXref = CollectionHelper.concurrentMap( 20 );
roleXref = new ConcurrentServiceBinding<Class,Class>();
}
roleXref.put( alternate, target );
}