Brett Meyer
4fd94c1fd3
HHH-8983 log/clear Statement warnings on JdbcCoordinator#release
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java
2014-02-18 22:10:20 -05:00
Sanne Grinovero
ec5987278d
HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query
...
perform
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/query/spi/HQLQueryPlan.java
2014-02-18 15:03:10 -05:00
Brett Meyer
8e5e8d1b14
HHH-8945 increased default map size
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
2014-02-18 14:54:42 -05:00
Sanne Grinovero
2df606036a
HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required
2014-02-18 14:50:02 -05:00
Sanne Grinovero
a7910b19a4
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.
Conflicts:
hibernate-core/src/main/java/org/hibernate/cache/spi/CacheKey.java
2014-02-18 14:42:45 -05:00
Sanne Grinovero
0c5c980790
HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders
2014-02-18 14:29:04 -05:00
Brett Meyer
09ea1b33f9
HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
...
StatefulPersistenceContext's Map#resize calls
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
2014-02-12 13:31:09 -05:00
Andrej Golovnin
8ec3c4a89f
HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping).
2014-02-12 13:22:19 -05:00
Brett Meyer
7d828b1d25
HHH-8814 simplified the test a bit
2014-02-12 13:01:30 -05:00
Benoit GUERIN
949df8bd00
HHH-8814 : test case
2014-02-12 13:01:28 -05:00
Benoit GUERIN
2d8e5b4c25
HHH-8814 : Sequence generators on HSQLDB starts on 1 by default
2014-02-12 13:01:26 -05:00
Brett Meyer
e812a6ca3c
HHH-8946 corrected bug in register(ResultSet, Statement), improved
...
javadoc
2014-02-11 15:18:45 -05:00
Sanne Grinovero
265963c33b
HHH-8946 Optimize JdbcCoordinatorImpl for CPU performance
...
- unnecessary HashMap lookups
- size HashMap allocations appropriately
- a leak of tracked statements
- complex logging logic
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java
2014-02-11 15:18:41 -05:00
Sanne Grinovero
d402c06170
HHH-8947 Optimize performance of ServiceRegistry for intense lookup,
...
small contents and almost no writes
Conflicts:
hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java
2014-02-11 14:34:21 -05:00
Brett Meyer
5f3a02f5d7
HHH-3482 corrected imports
2014-02-10 17:24:09 -05:00
Brett Meyer
d60fc99dd4
HHH-3482 formatting
2014-02-10 17:10:47 -05:00
mukhanov
600369413d
HHH-3482 Fixed StatelessSession inserting bug + test
2014-02-10 17:10:46 -05:00
Brett Meyer
f19d43d92c
HHH-8845 formatting
2014-02-10 16:40:52 -05:00
Paul Lysak
460015469c
HHH-8845 - More informative error message
2014-02-10 16:40:50 -05:00
akotlyarov
74e926c9d5
HHH-7205: Added catching exception for executing session.get when session cache contains proxy for non-existing object
2014-02-10 16:33:45 -05:00
Brett Meyer
9069b4776d
HHH-7205 test assertion
2014-02-10 16:33:43 -05:00
akotlyarov
a1ea2deb7d
HHH-7205: Added test to show bug exists when execute session.get after session.load for not-existing entity
2014-02-10 16:33:41 -05:00
Thomas Jones-Low
af428a1273
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:12:09 -05:00
Brett Meyer
ae7d59529e
HHH-8942 log level checks should not be static
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionCoordinatorImpl.java
2014-02-07 11:14:51 -05:00
Sanne Grinovero
361929d269
HHH-8942 Micro polishing in hot method of TransactionCoordinatorImpl
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionCoordinatorImpl.java
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionCoordinatorImpl.java
2014-02-07 11:13:44 -05:00
Brett Meyer
e712a44ec3
HHH-8922 ClassLoaderServiceImpl#getResources should use LinkedHashSet to
...
preserve ordering
Conflicts:
hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
2014-02-07 10:07:31 -05:00
Brett Meyer
aad23dc804
HHH-8942 reorganized TransactionCoordinatorImpl#attemptToRegisterJtaSync
...
to further reduce log level checks
2014-02-07 09:57:21 -05:00
Brett Meyer
f7c7842cc4
HHH-8942 reduced logging hits in TransactionCoordinatorImpl
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionCoordinatorImpl.java
2014-02-06 14:07:08 -05:00
Brett Meyer
bd54dbbfc2
HHH-8747 evictQueryRegions should evict the default region
2014-02-04 12:32:27 -05:00
Brett Meyer
1dcdc445b4
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
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/spi/TypedValue.java
2014-01-30 11:54:31 -05:00
Brett Meyer
c404d84149
HHH-8864 count distinct tuples for postgres and h2
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
hibernate-core/src/main/java/org/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions.java
2014-01-22 15:51:55 -05:00
Brett Meyer
3d7494d8de
HHH-2988 test case
...
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/quote/QuoteTest.java
2014-01-20 20:04:58 -05:00
davidmuzik
10bf926de8
HHH-2988 Update UnionSubclassEntityPersister column quoting
2014-01-20 20:03:06 -05:00
Brett Meyer
c574fe0b17
HHH-8863 correct StatisticalLoggingSessionEventListener partial flush
...
timing
2014-01-14 14:36:54 -05:00
Brett Meyer
de91d9b2ca
HHH-5289 remove unnecessary security checks in property accessors
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/internal/jpa/CallbackProcessorImpl.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/internal/jpa/LegacyCallbackProcessor.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/metamodel/MetadataContext.java
2014-01-10 16:05:22 -05:00
Brett Meyer
4a57b45958
HHH-2188 Query metadata gives NPE for polymorphic queries
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
2014-01-10 14:14:17 -05:00
Brett Meyer
24c951a3d1
HHH-8638 global quoting breaks UC on FK
2014-01-10 13:11:15 -05:00
Brett Meyer
d437f0d9b4
HHH-8831 changed exception type, formatting
2014-01-09 13:18:46 -05:00
Christian Beikov
3159f04681
HHH-8831 improved exception message
...
When having @JoinColumn in a @CollectionTable that do not point to valid columns, the message can be really confusing. These new lines will actually enrich the exception which is thrown that the problem appeared on a specific property of a specific class.
Please include this, since it is not always clear what the actual problem is with a mapping when an exception occurs.
2014-01-09 13:18:44 -05:00
Lukasz Antoniak
1f2e4f2d0a
HHH-8699 - Multiselect with boolean predicate
...
Conflicts:
hibernate-core/src/main/antlr/hql-sql.g
hibernate-core/src/main/antlr/sql-gen.g
hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/QueryBuilderTest.java
hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/metamodel/Customer.java
2014-01-08 18:00:51 -05:00
Brett Meyer
3c673e573c
HHH-3051 corrected CustomLoader returnTypes (different approach)
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/loader/Loader.java
hibernate-core/src/main/java/org/hibernate/loader/custom/CustomLoader.java
2014-01-06 14:12:45 -05:00
Brett Meyer
7200540651
HHH-3051 corrected Loader returnTypes
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/loader/Loader.java
2014-01-02 15:14:59 -05:00
Brett Meyer
7b19ea2c88
HHH-2298 WARN if using build-in conn pool
2013-12-17 14:29:08 -05:00
Brett Meyer
04c08cb9fd
HHH-8790 add "escape" keyword to Template
2013-12-17 10:09:36 -05:00
Steve Ebersole
e99f889bfd
HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined
...
with InheritanceType#JOINED
Conflicts:
hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2013-12-16 12:36:38 -05:00
Steve Ebersole
d847a171eb
HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined
...
with InheritanceType#JOINED
Conflicts:
hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
2013-12-16 12:34:55 -05:00
Steve Ebersole
b01abeadef
HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined
...
with InheritanceType#JOINED
Conflicts:
hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
2013-12-16 12:33:51 -05:00
Brett Meyer
cac31981f0
HHH-7630 allow joined subclass ordering to explicitly reference natural
2013-12-11 14:01:49 -05:00
Brett Meyer
a317dfd526
HHH-8765 corrected hbm2ddl for turkish locale
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/TableMetadata.java
2013-12-10 21:17:37 -05:00
Brett Meyer
4207017198
HHH-3604 whoops
2013-12-09 18:45:52 -05:00