Commit Graph

5517 Commits

Author SHA1 Message Date
Sanne Grinovero 7dc8d9cc48 HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required 2014-02-18 14:50:13 -05:00
Sanne Grinovero 539866b773 HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances
Remove tenantId field from CacheKey: use a different type when tenants are needed.
Also remove the Type as we should be able to rely on the entityOrRoleName String.
2014-02-18 14:41:46 -05:00
Sanne Grinovero 0f0a95e2b8 HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders 2014-02-18 14:29:14 -05:00
Steve Ebersole 758d635ca2 HHH-8893 - Develop Hibernate mapping XSD extending the JPA mapping (orm) XSD 2014-02-18 12:03:51 -06:00
Steve Ebersole ebcd0d9cff HHH-8956 - TLC for annotation pre-processor 2014-02-17 20:55:34 -06:00
Steve Ebersole 3bb937b83f HHH-8962 - Create a set of light reflection classes - initial work on classmate intg 2014-02-17 18:34:53 -06:00
Gail Badner 97ee747907 HHH-8962 : Fix compile failures and remove @FailureExpectedWithNewMetamodel from passing test 2014-02-17 12:54:05 -08:00
Brett Meyer e84ed199e3 HHH-8737 throw MappingException for constraint with non-existent
column
2014-02-17 15:03:37 -05:00
Steve Ebersole ea4812b046 HHH-8962 - Create a set of light reflection classes - initial annotation support 2014-02-17 12:42:50 -06:00
Steve Ebersole 351039553f HHH-8962 - Create a set of light reflection classes - hook in + suggestions from hardy and gunnar 2014-02-15 10:52:30 -06:00
Brett Meyer 993de9060d HHH-8969 corrected test failures 2014-02-14 13:52:37 -05:00
Brett Meyer 2f636e4a52 HHH-8827 corrected @SortNatural and @SortComparator, test case 2014-02-14 13:30:58 -05:00
Brett Meyer ff12d5cdf1 HHH-8969 removed deprecated annotations 2014-02-14 13:30:53 -05:00
Brett Meyer b5553a2485 HHH-8862 bind @CollectionTable @ForeignKey explicit name 2014-02-14 11:02:44 -05:00
Brett Meyer 357fd11f2f HHH-8737 log warnings if duplicate constraints/indexes would have been
created
2014-02-14 09:34:46 -05:00
Brett Meyer fcb3e40bd8 HHH-8737 handle permutations of conflicting indexes and unique keys, set
explicit FK names, corrected default annotation values, initial unit
test
2014-02-14 09:34:41 -05:00
Brett Meyer f652d87277 HHH-8737 pulled applyConstraints/dropConstraints into a new
ConstraintDelegate, created UK exporters for DB2 and Informix
2014-02-14 09:33:46 -05:00
Brett Meyer 8ca6ff21fa HHH-8737 deprecated UniqueDelegate, created StandardUniqueKeyExporter,
stripped SQL generation from metamodel.spi.relational constraints,
created applyConstraints/dropConstraints on Dialect
2014-02-14 09:33:41 -05:00
Steve Ebersole 4b945fae4c HHH-8966 - Redo the MetadataBuilder process 2014-02-14 07:10:40 -06:00
Steve Ebersole 50ff90b3b4 HHH-8962 - Create a set of light reflection classes - modifier support 2014-02-13 07:17:03 -06:00
Steve Ebersole b2ab350866 HHH-8962 - Create a set of light reflection classes 2014-02-12 21:29:57 -06:00
Steve Ebersole c5cbf662b4 HHH-8962 - Create a set of light reflection classes 2014-02-12 15:34:39 -06:00
Hardy Ferentschik 83e9ceb429 HHH-8960 Re-enabling Bean Validation tests 2014-02-12 21:22:07 +01:00
Hardy Ferentschik 77b497be98 HHH-8960 Re-introducing a Properties instance variable and apply it when the session factory is built. This allows for Configuration#getProperties to return writable properties
Re-enabling tests which were based on the change in Configuration
2014-02-12 21:22:06 +01:00
Hardy Ferentschik d9a4e094a4 HHH-8960 Removal of old svn tags in test code 2014-02-12 21:22:06 +01:00
Hardy Ferentschik bf611d4e18 HHH-8960 First cut of re-enabled BV integration 2014-02-12 21:22:06 +01:00
Hardy Ferentschik c46dbebc5b HHH-8960 Formatting and fixing order of expected and actual values in some assertEquals statements 2014-02-12 21:22:05 +01:00
Brett Meyer 284e219fd3 HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
StatefulPersistenceContext's Map#resize calls
2014-02-12 13:26:57 -05:00
Andrej Golovnin fd27956a6d HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping). 2014-02-12 13:21:26 -05:00
Brett Meyer b09ff8af0a HHH-8814 simplified the test a bit 2014-02-12 13:00:42 -05:00
Benoit GUERIN 7044fc4cca HHH-8814 : test case 2014-02-12 12:48:19 -05:00
Benoit GUERIN 7f49298169 HHH-8814 : Sequence generators on HSQLDB starts on 1 by default 2014-02-12 12:48:05 -05:00
Steve Ebersole 2807578a7c HHH-8956 - TLC for annotation pre-processor 2014-02-12 08:56:44 -06:00
Gail Badner bd17dab1b0 HHH-8959 : Change values of type ValueHolder<Class> to JavaClassReference 2014-02-12 02:15:06 -08:00
Gail Badner 79379d598e HHH-8959 : Change values of type ValueHolder<Class> to JavaClassReference 2014-02-12 01:58:15 -08:00
Brett Meyer f84cd309c1 HHH-8946 corrected bug in register(ResultSet, Statement), improved
javadoc
2014-02-11 15:16:39 -05:00
Sanne Grinovero c7bf1db440 HHH-8946 Optimize JdbcCoordinatorImpl for CPU performance
- unnecessary HashMap lookups
- size HashMap allocations appropriately
- a leak of tracked statements
- complex logging logic
2014-02-11 15:16:37 -05:00
Sanne Grinovero a026346eda HHH-8947 Refactor also the Alternative registry to use the new ConcurrentServiceBinding 2014-02-11 14:32:13 -05:00
Sanne Grinovero fd5855239c HHH-8947 Optimize performance of ServiceRegistry for intense lookup, small contents and almost no writes 2014-02-11 14:32:10 -05:00
Steve Ebersole 9bbcdb6d15 HHH-8897 - Integrate org.hibernate.metamodel from metamodel branch into master 2014-02-11 08:03:06 -06:00
Steve Ebersole 31cf1a9ab6 HHH-8897 - Integrate org.hibernate.metamodel from metamodel branch into master 2014-02-10 17:30:40 -06:00
Brett Meyer 40a1534163 HHH-3482 formatting 2014-02-10 17:10:26 -05:00
mukhanov 5b61a3b46e HHH-3482 Fixed StatelessSession inserting bug + test 2014-02-10 17:10:13 -05:00
Brett Meyer 30cfb41174 HHH-8845 formatting 2014-02-10 16:40:21 -05:00
Paul Lysak ef15ef1e9d HHH-8845 - More informative error message 2014-02-10 16:38:44 -05:00
akotlyarov c12963ae54 HHH-7205: Added catching exception for executing session.get when session cache contains proxy for non-existing object 2014-02-10 16:34:01 -05:00
Brett Meyer 4bb52196f1 HHH-7205 test assertion 2014-02-10 16:34:01 -05:00
akotlyarov 58e6e47ea4 HHH-7205: Added test to show bug exists when execute session.get after session.load for not-existing entity 2014-02-10 16:34:01 -05:00
Steve Ebersole c26a3fd732 log possible SF leaks in test suite 2014-02-10 12:33:08 -06:00
Thomas Jones-Low 757c067165 HHH-8900 annotations OneToOne test fail with some sequence supporting dialects
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/OneToOneTest.java
2014-02-10 12:10:34 -05:00