Commit Graph

5667 Commits

Author SHA1 Message Date
Sanne Grinovero 5bdef580bd HHH-8991 Cache lookup of identifier Type and associated EntityPersister for each EntityType 2014-02-24 15:24:07 +00:00
Furkan Kamaci de927ce547 HHH-8989
Logic mismatch between AbstractQueryImpl and LimitHelper for setMaxResults(0) is fixed.
2014-02-20 14:50:23 -05:00
Brett Meyer a7b4d6dcb2 HHH-8983 log/clear Statement warnings on JdbcCoordinator#release 2014-02-18 22:08:47 -05:00
Brett Meyer 0dc24f1081 HHH-8961 corrected test failure
Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java
2014-02-18 16:00:56 -05:00
Sanne Grinovero 85e158d161 HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query perform 2014-02-18 15:01:28 -05:00
Brett Meyer d3d2c4c549 HHH-8945 increased default map size 2014-02-18 14:53:34 -05:00
Sanne Grinovero 11ab464d9b HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required 2014-02-18 14:49:52 -05:00
Sanne Grinovero f69e1a6b9f 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:38 -05:00
Sanne Grinovero af5804a49c HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders 2014-02-18 14:28:51 -05:00
Brett Meyer 949adc92c2 HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
StatefulPersistenceContext's Map#resize calls
2014-02-12 13:27:11 -05:00
Andrej Golovnin bc8533366a HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping). 2014-02-12 13:22:12 -05:00
Brett Meyer 61fb660907 HHH-8814 simplified the test a bit 2014-02-12 13:01:16 -05:00
Benoit GUERIN 6660bd8d37 HHH-8814 : test case 2014-02-12 13:01:14 -05:00
Benoit GUERIN 37c4e172af HHH-8814 : Sequence generators on HSQLDB starts on 1 by default 2014-02-12 13:00:57 -05:00
Brett Meyer fa707a7de7 HHH-8946 corrected bug in register(ResultSet, Statement), improved
javadoc
2014-02-11 15:16:23 -05:00
Sanne Grinovero f3da202b4c 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 14:54:17 -05:00
Sanne Grinovero 7f9dc27de9 HHH-8947 Refactor also the Alternative registry to use the new ConcurrentServiceBinding 2014-02-11 14:20:06 -05:00
Sanne Grinovero 324d5536e4 HHH-8947 Optimize performance of ServiceRegistry for intense lookup, small contents and almost no writes 2014-02-11 14:20:00 -05:00
Brett Meyer cb58f0bd68 HHH-3482 corrected imports 2014-02-10 17:25:09 -05:00
Brett Meyer b97a1b3749 HHH-3482 formatting 2014-02-10 17:10:37 -05:00
mukhanov b47dd338d2 HHH-3482 Fixed StatelessSession inserting bug + test 2014-02-10 17:10:35 -05:00
Brett Meyer 76aede601f HHH-8845 formatting 2014-02-10 16:40:46 -05:00
Paul Lysak 6329be56ff HHH-8845 - More informative error message 2014-02-10 16:40:44 -05:00
akotlyarov 9f215c8475 HHH-7205: Added catching exception for executing session.get when session cache contains proxy for non-existing object 2014-02-10 16:33:34 -05:00
Brett Meyer acd7c3046f HHH-7205 test assertion 2014-02-10 16:33:32 -05:00
akotlyarov 2ecd96158e HHH-7205: Added test to show bug exists when execute session.get after session.load for not-existing entity 2014-02-10 16:33:29 -05:00
Thomas Jones-Low 50d1be9e2d HHH-8930 Make the rebuildSessionFactory() method be more aggressive about closing 2014-02-10 12:15:52 -05:00
Thomas Jones-Low 4656176ea9 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:11:49 -05:00
Brett Meyer 0fa057c150 HHH-8921 in-memory value generation (INSERT) only works if
hibernate.id.new_generator_mappings is enabled
2014-02-07 11:50:46 -05:00
Brett Meyer 29cf10b3e2 HHH-8942 log level checks should not be static 2014-02-07 11:16:24 -05:00
Sanne Grinovero 3e40bfab12 HHH-8942 Micro polishing in hot method of TransactionCoordinatorImpl
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionCoordinatorImpl.java
2014-02-07 11:10:56 -05:00
Brett Meyer 629b653cc7 HHH-8922 ClassLoaderServiceImpl#getResources should use LinkedHashSet to
preserve ordering
2014-02-07 10:03:39 -05:00
Brett Meyer bbe4714196 HHH-8942 reorganized TransactionCoordinatorImpl#attemptToRegisterJtaSync
to further reduce log level checks
2014-02-07 09:57:16 -05:00
Brett Meyer 687682a620 HHH-8942 reduced logging hits in TransactionCoordinatorImpl 2014-02-06 14:05:13 -05:00
Brett Meyer 4ef7cd9696 HHH-8777 corrected configurations used in pom plugin 2014-02-04 12:32:21 -05:00
Brett Meyer 4fd5bc25b9 HHH-8747 evictQueryRegions should evict the default region 2014-02-04 12:32:16 -05:00
Brett Meyer 518bda7a43 HHH-8777 dynamically generate descriptor dependencies
Conflicts:
	.gitignore
	hibernate-enhance-maven-plugin/src/main/resources/META-INF/maven/plugin.xml
	hibernate-enhance-maven-plugin/src/main/resources/META-INF/maven/plugin.xml.original
	tooling/hibernate-enhance-maven-plugin/src/main/resources/META-INF/maven/plugin.xml
2014-02-04 10:37:48 -05:00
Jeremy Whiting be4f2e186d HHH-8777 Completed implementation of Maven Enhance Plugin fixing issue
with
missing descriptor files. Mojo will automatically hook into build
lifecycle compile phase.

Conflicts:
	hibernate-enhance-maven-plugin/src/main/java/org/hibernate/bytecode/enhance/plugins/MavenEnhancePlugin.java
	settings.gradle
	tooling/hibernate-maven-plugin/hibernate-maven-plugin.gradle
2014-02-04 10:29:50 -05:00
Brett Meyer 24a8b63b40 HHH-8914 double negation broken on JPA criteria 2014-01-30 13:31:56 -05:00
Brett Meyer 2a55763e40 HHH-8822 ValueHolder fields need to be transient if owned by a
Serializable class

Conflicts:
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataImpl.java
2014-01-30 11:52:27 -05:00
Lukasz Antoniak 612e795ad2 HHH-8912 - Test case
(cherry picked from commit e025725f66)
2014-01-29 23:30:09 +01:00
Labi0 7c7c65f42e HHH-8912 - @NotFound applied to *-to-one relation in superclass
(cherry picked from commit 1e7b03a2ae)
2014-01-29 23:29:56 +01:00
Steve Ebersole 556e31fb2d HHH-8853 - Tomcat jdbc-pool interceptor exception
(cherry picked from commit 86d5ab0d818b8029cc5e0310ae5c64338d0f47ef)
2014-01-29 07:50:43 -06:00
Brett Meyer cfcf5089be HHH-8674 - fixed usage of deprecated method
Configuration#buildSessionFactory() in documentation
2014-01-28 17:19:34 -05:00
akotlyarov ef8efc7ae6 HHH-8674 - fixed usage of deprecated method Configuration#buildSessionFactory() in documentation 2014-01-28 17:19:28 -05:00
Brett Meyer 99e6883d1c HHH-8903 bi-directional fetches in entity graphs 2014-01-28 16:44:05 -05:00
Christian Bauer d28b3fe9db HHH-8903 Inverse @OneToMany ignored in entity graph 2014-01-28 16:44:03 -05:00
Lukasz Antoniak 522ce1d974 HHH-8243 HHH-8329 - Avoid flushing in validity audit strategy
(cherry picked from commit f0bd12f823)
2014-01-28 13:36:48 -06:00
Brett Meyer d59387cd01 HHH-8864 count distinct tuples for postgres and h2 2014-01-22 15:18:20 -05:00
Steve Ebersole 95566f772f 4.3.1 release 2014-01-22 12:32:15 -06:00