Commit Graph

2207 Commits

Author SHA1 Message Date
sndyuk 05c078e459 HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity 2014-03-12 16:22:49 -04:00
Jorgen Rydenius a69c6c7dff HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer. 2014-03-12 13:20:46 -04:00
Brett Meyer 552301bdc4 HHH-9034 ASTParserLoadingTest fails with postgresplus92 2014-03-12 12:53:22 -04:00
Brett Meyer ca9b917622 HHH-7534 completed test case 2014-03-10 15:42:20 -04:00
Brett Meyer d576bb071f HHH-9028 corrected Session#get for caching w/ polymorphism, improved
tests
2014-03-07 12:17:30 -05:00
Guillaume Smet c94088ee6c HHH-9028 Test case: when second level cache is enabled, the session returns the objects even if the class doesn't match 2014-03-07 12:17:28 -05:00
Brett Meyer ca0c2f4548 HHH-9024 correct TypedValue transients during de-serialization 2014-03-06 12:15:24 -05:00
Brett Meyer 2f293ed46c HHH-7072 correcting test failure 2014-03-04 17:19:18 -05:00
Brett Meyer 595c78754c HHH-7072 force recreation of element collections of components with all
nullable properties
2014-03-04 16:29:37 -05:00
Brett Meyer 9b57337a85 HHH-9017 correct HSQL pooled sequences 2014-03-04 09:57:17 -05:00
Brett Meyer 9f927ba3ac HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances"
This reverts commit 539866b773.
2014-02-28 13:59:32 -05:00
Sanne Grinovero 1a79515e3c HHH-9003 Avoid allocating arrays in most methods of ComponentType 2014-02-26 19:01:39 -05:00
Sanne Grinovero 8cd013bf11 HHH-8950 Avoid repeated array allocation for sqlTypes 2014-02-26 19:01:37 -05:00
Sanne Grinovero 6ccde14d24 HHH-8878 Remove some dead code 2014-02-26 18:53:38 -05:00
Sanne Grinovero 2798e9d8e3 HHH-8878 Avoid hot allocation in PooledLoOptimizer
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:53:35 -05:00
Sanne Grinovero a34d740eba HHH-8878 Fix logged message about PooledLoOptimizer being created
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java

Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2014-02-26 18:53:31 -05:00
Sanne Grinovero 28ae6d32ea HHH-9001 Unnecessary Stack object being allocated in
org.hibernate.engine.internal.Cascade

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
2014-02-26 17:41:52 -05:00
Brett Meyer 15247a6a59 Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to reduce"
This reverts commit 284e219fd3.
2014-02-26 17:22:43 -05:00
Brett Meyer 03c086ee6f Revert "HHH-8945 increased default map size"
This reverts commit 31a4b22e44.
2014-02-26 17:22:30 -05:00
Sanne Grinovero a373505a1c CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent 2014-02-24 17:06:04 +00:00
Sanne Grinovero 86ab291257 HHH-8984 EntityEntry slimming: remove EntityMode and tenantId fields 2014-02-24 17:00:59 +00:00
Sanne Grinovero f0bf53e40e HHH-8991 Cache lookup of identifier Type and associated EntityPersister for each EntityType 2014-02-24 16:08:51 +00:00
Furkan Kamaci 586f9c2a55 HHH-8989
Logic mismatch between AbstractQueryImpl and LimitHelper for setMaxResults(0) is fixed.
2014-02-20 14:49:52 -05:00
Brett Meyer 2961f7df68 HHH-8983 log/clear Statement warnings on JdbcCoordinator#release 2014-02-18 22:08:32 -05:00
Sanne Grinovero 53f7528d71 HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query perform 2014-02-18 15:03:17 -05:00
Brett Meyer 31a4b22e44 HHH-8945 increased default map size 2014-02-18 14:54:51 -05:00
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
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