Gunnar Morling
ac06799a55
HHH-9190 Introducing QueryPlanFactory service contract in order to make creation of native query plans customizable
2014-05-21 09:24:02 -05:00
Gunnar Morling
ccdf6df3d6
HHH-9190 Introducing ParameterMetadataRecognizer contract in order to make retrieval fo parameter meta-data for native queries customizable
2014-05-21 09:24:02 -05:00
Lukasz Antoniak
07bc5ce877
HHH-9200 - Natural id cache statistics are not cleared
2014-05-19 13:57:18 -04:00
Steve Ebersole
fdf2ae3df5
HHH-9154 - keywords as parameter names
...
gah... missed in initial commit for cherry-pick
2014-05-15 09:24:37 -05:00
Steve Ebersole
1ed895a373
HHH-9154 - keywords as parameter names
...
(cherry picked from commit 5aff092e2bd06bcfc18eb6eec9983b2f97237d64)
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
2014-05-15 09:23:26 -05:00
Gail Badner
eeeb4a884f
HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE
2014-05-14 15:05:59 -07:00
Gail Badner
32054d8603
HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE
2014-05-13 23:59:53 -07:00
Gail Badner
fcaa6e8780
HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE
2014-05-13 22:42:28 -07:00
Gail Badner
56bcf3ae7f
HHH-9154 : HQL Parsing: unexpected token ':' (test case)
2014-05-13 15:49:20 -07:00
Brett Meyer
656997a82c
HHH-9174 cache SqlExceptionHelper reference
2014-05-09 12:35:06 -04:00
Brett Meyer
8a2a78ff33
HHH-9170 StatelessSession is accidentally 2LC enabled in some cases
2014-05-09 12:28:47 -04:00
Brett Meyer
5979046d05
HHH-9174 Increase performance
...
of SqlExceptionHelper#handleAndClearWarnings
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java
2014-05-09 12:28:42 -04:00
Gail Badner
61d2c0c049
HHH-9171 : Orphan removal broken for new element added by merge that is removed by later merge (test case)
2014-05-07 16:16:10 -07:00
Brett Meyer
24b041986d
Revert "HHH-3730 Compare both ids in isModified instead of an object and an id"
...
This reverts commit c7903392cd
.
2014-04-21 09:45:01 -04:00
Guillaume Smet
c7903392cd
HHH-3730 Compare both ids in isModified instead of an object and an id
2014-04-21 08:49:37 -04:00
msulima
ee8f26a4be
HHH-9136 - DatabaseMetadata: NPE hides exception in finally block
...
- Protection against NPE in finally block
- Little formatting fixes
2014-04-21 08:43:32 -04:00
Steve Ebersole
025d2e2f44
HHH-8980 - Instance of super-class not found because of joined subclass reference is an inner join
...
(cherry picked from commit 651b23b173
)
2014-04-08 16:41:09 -05:00
Brett Meyer
f6399cd159
HHH-9107 throw WrongClassException if attempting to load incorrect
...
subclass from 2lc
2014-04-08 11:19:24 -04:00
Gail Badner
d997265b26
HHH-9106 : Multiple detached representations of the same entity cannot be merged
2014-04-07 16:02:33 -07:00
Steve Ebersole
cbc79c2d61
HHH-9100 - Improve CAST function support
...
(cherry picked from commit 137c2daf81
)
2014-04-07 14:09:47 -05:00
Brett Meyer
b861b4d29f
HHH-9104 corrected BasicHibernateAnnotationsTest.testFilterOnCollection
...
test data cleanup
2014-04-07 14:18:22 -04:00
Brett Meyer
03586f3b7b
HHH-9103 Dialect resolver should use a newer Oracle dialect for
...
Oracle12c
2014-04-07 11:09:40 -04:00
Steve Ebersole
92ae4ac417
HHH-9100 - Improve CAST function support
...
(cherry picked from commit 6ffbf8f3f3
)
2014-04-03 13:07:30 -05:00
Steve Ebersole
bbd2f1ae5b
HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThenNode()
...
(cherry picked from commit efa5dc2f6c
)
2014-04-03 13:07:15 -05:00
Gail Badner
decb673bdd
HHH-9089 : Test case that shows annotations on fields in nested embeddable collection elements are ignored
2014-03-27 20:01:39 -07:00
Steve Ebersole
33aeb4f7c2
HHH-8923 - Reconsider closing of ServiceRegistry instances
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
2014-03-26 12:28:06 -04:00
Brett Meyer
2c88c3998b
HHH-8923 corrected test case
2014-03-26 09:33:10 -04:00
Steve Ebersole
daf120b063
HHH-8923 - Reconsider closing of ServiceRegistry instances
2014-03-26 09:33:07 -04:00
Brett Meyer
1ec115c0d6
HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections
2014-03-24 13:24:35 -04:00
Steve Ebersole
0e6ed807fb
HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to remove elements in collections
...
(cherry picked from commit 6f342358db
)
2014-03-21 13:32:00 -05:00
Alexander-Dukhno
50c12d98b2
HHH-7971 create regression test case for lazy loading with property ENABLE_LAZY_LOAD_NO_TRANS = true
...
(cherry picked from commit 30205607ef
)
2014-03-21 13:31:42 -05:00
Guillaume Smet
a86acaf010
HHH-9072 Fix name property of LoadEventListener.RELOAD
2014-03-21 10:46:31 -05:00
Steve Ebersole
c5bdec20b9
HHH-9071 - Proxy narrowing loses the initialized state of the original proxy
2014-03-21 09:59:43 -05:00
Guillaume Smet
2cf52cc7f1
HHH-9071 When an already initialized proxy is narrowed, initialize the new proxy
2014-03-21 09:59:43 -05:00
Steve Ebersole
156bebd8a1
HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden
2014-03-20 09:47:54 -05:00
Steve Ebersole
d023c7c95c
HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden
2014-03-20 09:33:00 -05:00
Steve Ebersole
1178e70034
HHH-1582 : post-commit listeners and failed transactions
2014-03-17 15:00:31 -05:00
Shawn Clowater
c6ca3a4ef2
HHH-1582 - Added explicit PostCommit(Insert|Delete|Update)EvenLister interfaces to allow for separation of success/fail handling in post commit events.
...
Maintained current behavior by having the Entity actions call the existing API unless using one of the new interfaces. Added 2 test cases, 1 using the new interfaces and 1 using the existing interfaces.
2014-03-17 15:00:31 -05:00
Brett Meyer
ccdddf4682
HHH-9051 removing unnecessary System.out.println
2014-03-17 15:43:54 -04:00
Brett Meyer
a9c0fd3243
HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting
2014-03-17 15:12:43 -04:00
Brett Meyer
514f096061
HHH-9056
...
OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin fails
on oracle and postresql
2014-03-17 15:12:43 -04:00
Brett Meyer
7b349a2be8
HHH-9054 QuoteTest violates unique key constraint on some DBs
2014-03-17 15:12:43 -04:00
Brett Meyer
1f3ff4ba95
HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
...
databases
2014-03-17 15:12:42 -04:00
Gail Badner
63881f137e
HHH-9002 : Fetch many-to-many order by
2014-03-14 15:57:05 -07:00
Libor Ondrusek
7ca36585a9
HHH-9040 Added halt on error support for scripts importing
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
2014-03-12 17:04:17 -04:00
Brett Meyer
68918d29a3
HHH-8374 test case
2014-03-12 16:04:41 -04:00
sndyuk
a689354db6
HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity
2014-03-12 16:01:58 -04:00
Jorgen Rydenius
5a78f26d3b
HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer.
2014-03-12 13:19:54 -04:00
Brett Meyer
8a4d736031
HHH-9034 ASTParserLoadingTest fails with postgresplus92
2014-03-12 12:52:54 -04:00
Brett Meyer
60f4e6cf28
HHH-9028 corrected Session#get for caching w/ polymorphism, improved
...
tests
2014-03-07 12:15:06 -05:00
Guillaume Smet
5d3ed89462
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 10:56:16 -05:00
Brett Meyer
11e918f39b
HHH-9024 correct TypedValue transients during de-serialization
2014-03-06 12:15:11 -05:00
Brett Meyer
69e25f5280
HHH-7072 correcting test failure
2014-03-04 17:19:03 -05:00
Brett Meyer
171e214458
HHH-7072 force recreation of element collections of components with all
...
nullable properties
2014-03-04 16:29:17 -05:00
Brett Meyer
fab8b3a04a
HHH-9017 correct HSQL pooled sequences
2014-03-04 09:55:40 -05:00
Brett Meyer
f51fead739
HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances"
...
This reverts commit f69e1a6b9f
.
2014-02-28 14:00:26 -05:00
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