Sanne Grinovero
ac16473511
HHH-9003 Avoid allocating arrays in most methods of ComponentType
2014-02-26 19:01:28 -05:00
Sanne Grinovero
64f6ea7d61
HHH-8950 Avoid repeated array allocation for sqlTypes
2014-02-26 19:01:26 -05:00
Brett Meyer
b840a9edc8
HHH-8878 corrected id conflict in CoreMessageLogger
2014-02-26 18:55:09 -05:00
Sanne Grinovero
0f4886d63a
HHH-8878 Remove some dead code
2014-02-26 18:51:32 -05:00
Sanne Grinovero
8826c30371
HHH-8878 Avoid hot allocation in PooledLoOptimizer
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:51:27 -05:00
Sanne Grinovero
5b2bd9aa48
HHH-8878 Fix logged message about PooledLoOptimizer being created
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:47:52 -05:00
Sanne Grinovero
5475d9f964
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:22 -05:00
Brett Meyer
84f6fde1b3
Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to reduce"
...
This reverts commit 949adc92c2
.
2014-02-26 17:22:05 -05:00
Brett Meyer
927c2031d1
Revert "HHH-8945 increased default map size"
...
This reverts commit d3d2c4c549
.
2014-02-26 17:21:55 -05:00
Sanne Grinovero
34a45c5722
CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent
2014-02-24 17:06:28 +00:00
Sanne Grinovero
49e28ee34e
HHH-8984 Reintroduce the previous EntityEntry constructor as a deprecated delegate (for stable branches only)
2014-02-24 16:51:14 +00:00
Sanne Grinovero
70a7c7a821
HHH-8984 EntityEntry slimming: remove EntityMode and tenantId fields
2014-02-24 16:47:29 +00:00
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
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
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
4fd5bc25b9
HHH-8747 evictQueryRegions should evict the default region
2014-02-04 12:32:16 -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
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
99e6883d1c
HHH-8903 bi-directional fetches in entity graphs
2014-01-28 16:44:05 -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
Jesse Sightler
dcad957f19
HHH-8884 : Made this only remove "and " and " and"
...
Made this only remove "and " and " and" as otherwise tables named "android" end up being queried as "roid".
(cherry picked from commit 84b032da1d
)
2014-01-21 19:04:18 -06:00
Brett Meyer
0765dcee54
HHH-2988 test case
2014-01-20 20:03:00 -05:00
davidmuzik
01a2ca7ec1
HHH-2988 Update UnionSubclassEntityPersister column quoting
2014-01-20 20:02:58 -05:00
Henrik Hoffmann
61c66f1d2c
HHH-8850 - fixed ex. when calling addScalar to NamedSQLQuery
...
changed list instanciation from java.util.Arrays.ArrayList to
java.util.ArrayList when creating SQLQueryImpl from an
NamedSQLQueryDefinition.
added testcase
2014-01-16 01:25:33 -05:00
Brett Meyer
7c69c7fb95
HHH-8855 HHH-8640 corrected EntityGraph loadplan strategy, support inheritance in SubGraphs
2014-01-16 01:05:01 -05:00
Brett Meyer
cd964a9aca
HHH-8855 corrected EntityGraph loadplan strategy, testcase cleanup
2014-01-14 19:40:22 -05:00
Steve Ebersole
151719b764
HHH-8812 - JPAOverriddenAnnotationReader and @Convert annotations
...
(cherry picked from commit 56e6db38fc
)
2014-01-14 18:30:28 -06:00
Brett Meyer
bb267297c1
HHH-8863 correct StatisticalLoggingSessionEventListener partial flush
...
timing
2014-01-14 14:36:36 -05:00
Brett Meyer
78a62acc2d
HHH-5289 remove unnecessary security checks in property accessors
2014-01-10 16:06:50 -05:00
Brett Meyer
5963b6a4be
HHH-2188 Query metadata gives NPE for polymorphic queries
2014-01-10 14:13:24 -05:00
Brett Meyer
9a9a95e104
HHH-8638 global quoting breaks UC on FK
...
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/annotations/quote/User.java
2014-01-10 13:15:37 -05:00
Steve Ebersole
458b2dc772
HHH-8842 - Hibernate can't handle JodaTime Converters result (possible bug)
...
(cherry picked from commit 6fb5a899bd
)
2014-01-10 09:37:26 -06:00
Brett Meyer
c4c33943f2
HHH-8811 collection read causes open cursors
2014-01-09 14:20:11 -05:00
Brett Meyer
bd0892a87d
HHH-8831 changed exception type, formatting
2014-01-09 13:18:30 -05:00
Christian Beikov
f8d853bdc1
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:12:46 -05:00
Brett Meyer
770a1cb32f
HHH-8827 corrected @SortNatural and @SortComparator, test case
2014-01-09 11:59:13 -05:00
Lukasz Antoniak
26f19d0b4c
HHH-8699 - Multiselect with boolean predicate
2014-01-08 17:46:56 -05:00
Brett Meyer
b3e79f3f40
HHH-3051 corrected CustomLoader returnTypes (different approach)
2014-01-06 13:56:48 -05:00
Brett Meyer
2a90123991
HHH-3051 corrected Loader returnTypes
2014-01-02 14:40:55 -05:00
Brett Meyer
fcd6f1b330
HHH-2298 WARN if using build-in conn pool
2013-12-17 14:29:02 -05:00
Brett Meyer
9def347be7
HHH-8790 improved Filter javadoc
2013-12-17 10:08:59 -05:00
Brett Meyer
b38365e023
HHH-8790 add "escape" keyword to Template
2013-12-17 10:08:55 -05:00
Gail Badner
90a08ec3a2
HHH-8774 : Add Javadoc for load plans
2013-12-16 10:50:22 -08:00
Gail Badner
eb5f605068
HHH-8774 : Add Javadoc for load plans
2013-12-13 15:09:17 -08:00
Gail Badner
c901e5f951
HHH-8774 : Add Javadoc for load plans
2013-12-13 15:09:17 -08:00
Steve Ebersole
26820e8a77
HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined with InheritanceType#JOINED
2013-12-13 10:40:36 -06:00
Steve Ebersole
b70148a85a
HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined with InheritanceType#JOINED
2013-12-13 00:57:47 -06:00
Steve Ebersole
5329bba1ea
HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined with InheritanceType#JOINED
2013-12-13 00:57:47 -06:00
Brett Meyer
e64e89b2cc
HHH-8794 cleanup and formatting
2013-12-12 16:21:31 -05:00
Matus Zamborsky
a2fcfc602b
HHH-8794 Support for @OrderBy without specifying attribute
2013-12-12 15:56:32 -05:00
Brett Meyer
4627f7f489
HHH-7630 allow joined subclass ordering to explicitly reference natural
2013-12-11 13:49:04 -05:00
Brett Meyer
8e2c9c7faf
HHH-8765 corrected hbm2ddl for turkish locale
2013-12-10 20:55:13 -05:00
Brett Meyer
637c8b4b08
HHH-8783 corrected logic
2013-12-10 20:33:45 -05:00
Brett Meyer
e1366904fa
HHH-3604 add MySQL engine to table generators
2013-12-09 18:08:19 -05:00
Brett Meyer
1811b48f72
HHH-8783 use JPA @JoinColumn(@ForeignKey(name=...)) for constraint name
2013-12-09 15:14:56 -05:00
Brett Meyer
46aeb988c8
HHH-8784 @Generated(ALWAYS) w/ DDL default not inserting
2013-12-09 14:19:10 -05:00
Brett Meyer
b3219affcd
HHH-4638 add Firebird to StandardDialectResolver
2013-12-06 12:12:30 -05:00
Gail Badner
cb8d6c4e06
HHH-8750 : Move load plan implementations from spi to internal
2013-12-03 15:52:51 -08:00
Gail Badner
850578c1e8
HHH-8744 : Add Javadoc for load plans
2013-12-03 15:52:51 -08:00
Gail Badner
c9bc9e7512
HHH-8750 : Move load plan implementations from spi to internal
2013-12-03 15:52:51 -08:00
Gail Badner
a2c543e088
HHH-8750 : Move load plan implementations from spi to internal
2013-12-03 15:52:50 -08:00
Gail Badner
ebedc75e0f
HHH-8750 : Move load plan implementations from spi to internal
2013-12-03 15:52:50 -08:00
Gail Badner
c188767510
HHH-8750 : Move load plan implementations from spi to internal
2013-12-03 15:52:50 -08:00
Gail Badner
14a9d776b1
HHH-8744 : Add Javadoc for load plans
2013-12-03 15:52:50 -08:00
Steve Ebersole
055a750a53
HHH-8733 - General build cleanup
2013-12-02 20:57:57 -06:00
Brett Meyer
e0d6cdc0f7
HHH-8760 improve EntityGraph JPQL query hint test
2013-12-02 12:43:45 -05:00
Brett Meyer
d430846076
HHH-5065 improved exception message on Configuration#getRootClassMapping
2013-11-27 21:20:39 -05:00
Brett Meyer
bb53193a75
HHH-8749 Error flushing with a many-to-many Map defined with
...
unique="true" and cascading orphan delete
2013-11-27 18:06:06 -05:00
Steve Ebersole
14d0116af2
Revert "HHH-8733 - General build cleanup - hibernate-testing"
...
This reverts commit bc2855b323
.
2013-11-26 17:48:25 -06:00
Steve Ebersole
0252895354
Revert "HHH-8733 - General build cleanup - hibernate-testing"
...
This reverts commit b692fbc307
.
2013-11-26 17:47:53 -06:00
Steve Ebersole
5f0927fed6
Revert "HHH-8733 - General build cleanup - hibernate-testing"
...
This reverts commit 2a9a17c79c
.
2013-11-26 17:47:34 -06:00
Steve Ebersole
2a9a17c79c
HHH-8733 - General build cleanup - hibernate-testing
2013-11-26 16:38:15 -06:00
Steve Ebersole
b692fbc307
HHH-8733 - General build cleanup - hibernate-testing
2013-11-26 16:37:33 -06:00
Brett Meyer
88c811bead
HHH-8748 replace Javassist's ProxyObject with Proxy
2013-11-26 14:58:46 -05:00
Steve Ebersole
bc2855b323
HHH-8733 - General build cleanup - hibernate-testing
2013-11-26 13:53:18 -06:00
Steve Ebersole
d1023821b1
HHH-8733 - General build cleanup
2013-11-26 13:04:55 -05:00
Brett Meyer
f24e470181
HHH-8341 JtaTransaction logs excessive HHH000426 warning
2013-11-25 13:35:25 -05:00
Brett Meyer
1566586fbf
HHH-8743 EntityReferenceInitializerImpl#resolveEntityKey throws
...
Exception in case of entityKey != null
2013-11-25 10:24:13 -05:00
Steve Ebersole
783831f113
HHH-8741 - More checkstyle cleanups
2013-11-25 01:07:35 -06:00
Steve Ebersole
8fe5460ec0
HHH-8741 - More checkstyle cleanups
2013-11-24 20:07:37 -06:00
Steve Ebersole
66d3902ec2
HHH-8741 - More checkstyle cleanups
2013-11-24 17:42:54 -06:00
Steve Ebersole
3a2c9f83e6
HHH-8741 - More checkstyle cleanups
2013-11-24 17:20:23 -06:00
Steve Ebersole
b103b2a0ad
HHH-8741 - More checkstyle cleanups
2013-11-24 15:39:24 -06:00
Steve Ebersole
77c85353ab
HHH-8741 - More checkstyle cleanups
2013-11-24 15:29:50 -06:00
Steve Ebersole
4c91944fd9
HHH-8741 - More checkstyle cleanups
2013-11-24 15:20:45 -06:00
Steve Ebersole
7b69aaacb3
HHH-8741 - More checkstyle cleanups
2013-11-24 15:16:12 -06:00
Steve Ebersole
cd590470c0
HHH-8741 - More checkstyle cleanups
2013-11-24 09:44:55 -06:00
Steve Ebersole
b6c9a56136
HHH-8741 - More checkstyle cleanups
2013-11-23 21:40:59 -06:00
Steve Ebersole
e59a0170af
HHH-8741 - More checkstyle cleanups
2013-11-23 21:30:05 -06:00
Steve Ebersole
241868e1dd
HHH-8741 - More checkstyle cleanups
2013-11-23 10:06:53 -06:00
Steve Ebersole
8ec17e68e7
HHH-8741 - More checkstyle cleanups
2013-11-23 00:06:06 -06:00
Gail Badner
5d09464c67
HHH-8684 : Named output parameters don't work for stored procedure call
2013-11-22 16:22:36 -08:00
Steve Ebersole
9c96e23488
HHH-8739 - Tracking of JTA Synch registration thread
2013-11-22 16:28:43 -06:00
Steve Ebersole
608bdefc9a
HHH-8739 - Tracking of JTA Synch registration thread
2013-11-22 15:12:39 -06:00
Steve Ebersole
c1612fe004
HHH-8733 - General build cleanup
2013-11-22 14:53:24 -06:00
Brett Meyer
d47e9daf88
HHH-8689 regression test
2013-11-21 11:36:41 -05:00
Gail Badner
412d5d6fca
HHH-8662 : Deprecate functionality for initialized many-to-many collections of proxies
2013-11-20 04:18:22 -08:00
Gail Badner
f679a3c783
HHH-8597 : Rename org.hibernate.loader.plan2 to org.hibernate.loader.plan
2013-11-20 02:21:31 -08:00
Gail Badner
8e2f2a9da6
HHH-8597 : Delete org.hibernate.loader.plan2 and related code
2013-11-20 01:38:46 -08:00
Gail Badner
b42b759a0d
HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support
2013-11-19 23:22:33 -08:00
Gail Badner
eeb5a3f2c2
HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support
2013-11-19 23:22:23 -08:00
Gail Badner
ed4fafeb50
HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support
2013-11-19 23:22:13 -08:00
Gail Badner
9d8fa394e3
HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support
2013-11-19 23:21:47 -08:00
Gail Badner
7693826b77
HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support
2013-11-19 23:21:27 -08:00
Gail Badner
ec348c32fd
HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support
2013-11-19 23:21:13 -08:00
Gail Badner
de7cddc879
HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support
2013-11-19 23:19:00 -08:00
Brett Meyer
834a71bc6d
HHH-8721 CoreMessageLogger conflicts
2013-11-19 18:09:28 -05:00
Steve Ebersole
8580b29161
HHH-8709 - SynchronizationCallbackCoordinator is calling Thread.currentThread way too often
2013-11-19 11:29:22 -06:00
Brett Meyer
fe6263936e
HHH-8686 FumTest hangs on mysql55
2013-11-18 18:35:04 -05:00
Steve Ebersole
465c3b1e9c
HHH-8684 - Named output parameters don't work for stored procedure call
2013-11-18 16:17:31 -06:00
Steve Ebersole
162e1659c3
HHH-8684 - Named output parameters don't work for stored procedure call
2013-11-18 15:49:55 -06:00
Sanne Grinovero
9a3b1417c6
HHH-8703 Remove need to support EntityKey de-serialization without having access to a SessionFactory
2013-11-18 09:02:57 -06:00
Steve Ebersole
d6fa2b2864
HHH-8703 - Remove NonFlushedChanges api
2013-11-18 08:29:14 -06:00
Sanne Grinovero
220a27af64
HHH-8682 org.hibernate.engine.spi.EntityKey consumes a lot of memory
2013-11-16 14:09:03 -06:00
Sanne Grinovero
15adff22ce
HHH-8679 Relax synchronized block in Loader#wrapResultSetIfEnabled
2013-11-16 14:09:03 -06:00
Sanne Grinovero
e64376eb2b
HHH-8698 ColumnNameCache wraps and unwraps int to Integer multiple times
2013-11-16 14:09:03 -06:00
Sanne Grinovero
61a75accf5
HHH-8680 Relax synchronized block in TableGenerator#generate
2013-11-16 14:09:03 -06:00
Sanne Grinovero
be44a1984e
HHH-8681 NonNullableTransientDependencies should initialize identityMap lazily
2013-11-16 14:09:03 -06:00
Sanne Grinovero
b2479bf00d
Whitespace and style fixes (only)
2013-11-16 14:09:03 -06:00
Steve Ebersole
7f82763843
HHH-8704 - ManyToOneType#scheduleBatchLoadIfNeeded creates EntityKey instances even if absolutely not necessary
2013-11-16 14:07:35 -06:00