Martin Simka
d118e6f92d
[HHH-10473] skip NationalizedLobFieldTest on databases that don't support nclob
...
(cherry picked from commit 9b80aa1d6e
)
2016-02-08 22:57:11 -08:00
Oliver Breidenbach
cf7f020a1b
HHH-9375 - bugfix suggestion
2016-02-08 11:42:54 +00:00
Andrea Boriero
b66eb91068
HHH-9635 - Fix SQLServer2005Dialect (and above) does not support read past locking
2016-02-05 15:18:34 +00:00
Andrea Boriero
4cb84a110c
HHH-9635 - Add test for issue
2016-02-05 15:18:28 +00:00
cranforc
4cd66c7353
HHH-8657 - Case insensitivity on Nationalized column yields incorrect SQL
...
HHH-8657 - Case insensitivity on Nationalized column yields incorrect
SQL
2016-02-04 15:38:39 +00:00
Andrea Boriero
c7d8d48e62
HHH-7705 - Fix Query.setProperties(Map) silently ignores null values provided in the Map
2016-02-04 14:23:24 +00:00
Andrea Boriero
6c3985e63a
HHH-7705 - Add test for issue
2016-02-04 14:23:17 +00:00
Andrea Boriero
6faafc5cdc
HHH-10495 - Fix Oracle10gDialect generate nvarchar when using @Nationalized
2016-02-04 14:19:58 +00:00
Andrea Boriero
b5586bc941
HHH-10495 - Add test for issue
2016-02-04 14:19:52 +00:00
Andrea Boriero
a7a727b5d2
HHH-10303 Fix checkstyle error
2016-01-27 18:03:55 +00:00
Andrea Boriero
2d7d665256
HHH-9286 - Add CustomType implements ProcedureParameterExtractionAware
2016-01-27 17:51:06 +00:00
Andrea Boriero
50089b21dc
HHH-9286 - Add CustomType implements ProcedureParameterNamedBinder
2016-01-27 17:51:06 +00:00
Andrea Boriero
743ad3ef92
HHH-9286 - Modify AbstractParameterRegistrationImpl#prepare(CallableStatement statement, int startIndex) to use ProcedureParameterNamedBinder#nullSafeSet(...)
2016-01-27 17:51:06 +00:00
Andrea Boriero
774974a905
HHH-9286 - Add BasicBinder#bind(CallableStatement st, J value, String name, WrapperOptions options) method
2016-01-27 17:51:06 +00:00
Andrea Boriero
49cd637107
HHH-9286 - AbstractStandardBasicType implements ProcedureParameterNamedBinder
2016-01-27 17:51:06 +00:00
Andrea Boriero
cbe00ce253
HHH-9286 - Add ProcedureParameterNamedBinder interface
2016-01-27 17:32:37 +00:00
Andrea Boriero
407bf3d4db
HHH-9286 - Oracle10gDialect override registerResultSetOutParameter(CallableStatement statement, String name) and getResultSet(CallableStatement statement, String name)
2016-01-27 17:32:25 +00:00
Andrea Boriero
8a6df47eb9
HHH-9286 - Oracle10gDialect override Dialect#Oracle10gDialect#getResultSet(CallableStatement statement, int position)
2016-01-27 17:32:14 +00:00
Steve Ebersole
2b598dbb60
HHH-10446 - Comment delimiters not "escaped" within (VAR)CHAR literals within native queries
...
(cherry picked from commit bb109139e8
)
2016-01-25 20:55:33 -06:00
Andrea Boriero
7f9fd50e26
HHH-10451 - Fix Add table comment to 'create table...' statement
2016-01-25 18:50:13 +00:00
Andrea Boriero
6bf463a1be
HHH-10451 - Fix generation of 'comment on table ... ' and 'comment on column' statements
2016-01-25 18:50:04 +00:00
Andrea Boriero
d022105f0a
HHH-10451 - Add test for issue
2016-01-25 18:49:54 +00:00
Steve Ebersole
5ca47a6b62
HHH-10303 - Reinstate legacy bytecode-enhancement Ant task
2016-01-25 10:50:32 -06:00
Andrea Boriero
6187805632
HHH-10401 - Fix Missing table names on foreign key circularity error message
2016-01-14 09:57:28 +00:00
Andrea Boriero
8dd86a2183
HHH-10433 - Fix hbm2ddl utils has a problem - release jdbc connection
2016-01-13 17:39:28 +00:00
Andrea Boriero
a982b5674e
HHH-10433 - Add test for issue
2016-01-13 17:39:20 +00:00
Andrea Boriero
659157a45c
HHH-10422 - Add test for issue (from HHH-9983)
...
(cherry picked from commit 1f3048e572
)
HHH-10422 - Fix Error saving entity with identity id on Oracle 12c (from HHH-9983)
(cherry picked from commit 33458ab6f8
)
Conflicts:
hibernate-core/src/main/java/org/hibernate/dialect/Oracle12cDialect.java
hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cIdentityColumnSupport.java
HHH-10422 : Backport HHH-9983 to fix identity IDs using Oracle12cDialect in 5.0
HHH-10422 : Custom identity support test
HHH-10422 : Custom identity support test
2016-01-13 11:12:21 -06:00
Sergey Astakhov
de3ce125bc
HHH-9474 Fixing perfomance issue with ElementCollection
2016-01-13 15:14:19 +00:00
Jaikiran
cfc4fc6d1f
HHH-10439 Log a message while executing the import script(s)
2016-01-13 14:31:40 +00:00
Steve Ebersole
63db87e8f6
HHH-4161 - persistence.xml <jar-file> not following JSR220 spec
...
(cherry picked from commit 5c77f279af
)
2016-01-12 15:22:52 -06:00
Andrea Boriero
eae981c9b5
HHH-10385 HHH-10386 - Fix the @JoinColumn foreignKey is not taken into consideration when generating the association database schema
2016-01-12 19:19:59 +00:00
Andrea Boriero
90c1de55cf
HHH-10385 HHH-10386 - Add tests for issues
2016-01-12 19:19:46 +00:00
Andrea Boriero
a84eb2f47c
HHH-10437 - Fix NPE in PrimaryKey#addColumn(Column column) when getTable().getNameIdentifier() is null
2016-01-12 16:47:16 +00:00
Andrea Boriero
64430890a4
HHH-10437 - Add test for issue
2016-01-12 16:47:05 +00:00
Steve Ebersole
c53a308a58
HHH-5932 Fix filtering request with string literal starting with ':' (checkstyle fix)
...
(cherry picked from commit fd1ff34f03
)
2016-01-11 17:33:47 -06:00
Steve Ebersole
f9aab2ba88
HHH-9342 - HQL "x member of treat(y as Type).collections" fails to parse
...
(cherry picked from commit a35abf43e9
)
2016-01-11 16:33:35 -06:00
Steve Ebersole
c8a25d2838
HHH-9371 - Exception ''Invalid filter-parameter name format" from LoadQueryInfluencers when hql contains colon and filter is enabled.
2016-01-11 12:14:30 -06:00
Etienne Miret
5d259b7eaf
HHH-9371 - Exception ''Invalid filter-parameter name format" from LoadQueryInfluencers when hql contains colon and filter is enabled.
2016-01-11 12:14:17 -06:00
Etienne Miret
17a43fce49
HHH-9357 Fix type() with joined inheritance and discriminator column.
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
2016-01-09 22:35:44 -05:00
Etienne Miret
4c804089bb
HHH-9357 Add test case for this issue.
2016-01-09 22:35:42 -05:00
Etienne Miret
df103a2f02
HHH-9356 Add a bunch of tests.
...
Conflicts:
hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/convert/QueryTest.java
2016-01-09 22:15:18 -05:00
Etienne Miret
48210916c2
HHH-9356 All arguments of a between are now given the same expected type.
2016-01-09 22:15:13 -05:00
Steve Ebersole
e79d5d4b39
HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA
...
(cherry picked from commit b1d1a3c143
)
2016-01-08 11:13:40 -06:00
Andrea Boriero
1f63272d29
HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Refactoring
2016-01-08 12:04:39 +00:00
Koen Aers
eed0fe8b28
HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Solution
2016-01-08 12:04:30 +00:00
Koen Aers
bacb67fe73
HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Unit test demonstrating the issue
2016-01-08 12:04:19 +00:00
Andrea Boriero
c705a1f575
HHH-10425 - Fix SchemaMigration creates foreign keys too early if across schema
2016-01-07 14:55:33 +00:00
Andrea Boriero
76a59f1641
HHH-10425 - Add test for issue
2016-01-07 14:55:19 +00:00
Andrea Boriero
50365b591b
HHH-10420 - Fix SchemaExport creates foreign keys too early if across schema
2016-01-07 11:09:08 +00:00
Andrea Boriero
aae8e0c10d
HHH-10420 - Add test for issue
2016-01-07 11:08:56 +00:00
Gail Badner
b5870a075e
HHH-10421 : Change "native" ID generator for Oracle12cDialect to SequenceStyleGenerator
...
(cherry picked from commit 6df1dccc05
)
Conflicts:
hibernate-core/src/main/java/org/hibernate/dialect/Oracle12cDialect.java
2016-01-06 15:42:22 -08:00
Jan Martiska
c8ef33b3b4
HHH-10395 ServiceBootstrappingTest assumes that show_sql != true
2015-12-21 16:33:54 -08:00
Yoann Rodière
ddcb3a26f6
HHH-10191 Fixed exceptions when a functional index exists.
...
(cherry picked from commit 0dea233ce3
)
2015-12-21 15:48:02 -08:00
Yoann Rodière
e488fd08e2
HHH-10191 test case
...
(cherry picked from commit be94481e33
)
2015-12-21 15:47:44 -08:00
Gail Badner
12abb91f09
HHH-10383 : IN parameter is not enclosed in parenthesis
...
(cherry picked from commit 4c6941190a
)
2015-12-21 13:28:27 -08:00
Andrea Boriero
bf92137880
HHH-10396 - Fix In a @OneToMany association with @JoinColum the @ForeignKey is not taken into consideration when generating the association database schema
2015-12-21 13:12:19 +00:00
Andrea Boriero
ef4db6c855
HHH-10396 - Add tests for the issue
2015-12-21 13:12:10 +00:00
Scott Marlow
8112d9f033
HHH-10384 Fix thread safety issues in thread local optimiser
2015-12-18 10:07:46 -05:00
Stuart Douglas
d2f8fbbf76
HHH-10384 Fix thread safety issues in thread local optimiser
2015-12-18 10:07:46 -05:00
barreiro
7a20fed92b
HHH-10252 - Trigger the lazy loading of cascading attributes (5.0)
2015-12-16 22:55:36 +00:00
barreiro
5e33aacd01
HHH-10252 - Add test case
2015-12-16 22:46:40 +00:00
Andrej Golovnin
760ac6c8c2
HHH-10363 - The Cascade class makes unnecessary calls to the Reflection
...
API.
(cherry picked from commit 328fa2363a
)
2015-12-16 15:01:47 -06:00
Steve Ebersole
b0709a78e6
HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
...
(cherry picked from commit 153b8f26cc
)
2015-12-16 14:38:36 -06:00
barreiro
cb0dcc0641
HHH-10354 - Rename 'field access' bytecode enhancement
2015-12-16 14:08:09 -06:00
Steve Ebersole
6a988dd6fa
HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
...
(cherry picked from commit 20ebd8f5ca
)
2015-12-16 13:52:04 -06:00
Scott Marlow
5ad33c7eb5
HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
...
(cherry picked from commit 0c358d80f6
)
2015-12-16 13:51:51 -06:00
Torsten Schöne
975de86017
HHH-10353 Interceptor.afterTransactionBegin() is not fired
...
(cherry picked from commit fe48897692
)
2015-12-16 12:38:44 -06:00
Karl von Randow
e6d211466e
HHH-10286 SessionFactoryImpl doesn't cache and reuse existing collection cache region access strategies
...
(cherry picked from commit 828a83dcbf
)
2015-12-16 12:09:47 -06:00
Eskil Bylund
7975dead95
Fix missing parenthesis around composite properties in WHERE clauses
...
The currentClauseType field would not be correct if the query contained a
subquery.
Signed-off-by: Andrea Boriero <andrea@hibernate.org>
2015-12-16 11:18:18 +00:00
Andrea Boriero
f344a6d290
HHH-10298 - Add new configuration type hibernate.hbm2dll.extra_physical_table_types
2015-12-15 16:50:33 +00:00
Andrea Boriero
749e69aee7
HHH-10298 - Add test
2015-12-15 16:50:20 +00:00
Andrea Boriero
b48b159c69
HHH-10364 - Fix HSQL does not support Nationalized annotation
2015-12-15 16:02:48 +00:00
Andrea Boriero
fc90e6809d
HHH-10364 - Add test for issue
2015-12-15 16:02:41 +00:00
Gail Badner
7af83f02ae
HHH-9764 : StaleObjectStateExceptions raising outside flush context
...
(cherry picked from commit c767b0ed15
)
2015-12-14 14:04:17 -08:00
Guenther Demetz
56c1ae332d
Testcase for HHH-9764
...
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java
(cherry picked from commit 840d906cea
)
2015-12-14 13:49:42 -08:00
Ståle W. Pedersen
a9e482bce0
HHH-10366 Check for trace logging before calling log method and unused method parameters
2015-12-14 17:43:13 +00:00
Sanne Grinovero
90ac42fa2c
HHH-10358 Make sure synchronization on AbstractLoadPlanBasedLoader is skipped when the guarded feature is disabled
2015-12-14 16:26:52 +00:00
Gail Badner
971783607e
HHH-10369 : Unit test failure because Sybase trims trailing spaces
2015-12-08 18:28:35 -08:00
Gail Badner
0582dc1e8e
HHH-10368 : Unit test failure because Sybase does not support binding an untyped null object
2015-12-08 17:09:22 -08:00
Gail Badner
60625b19b2
HHH-10367 : Fix more DB reserved words used by tests
2015-12-08 16:43:09 -08:00
Andrea Boriero
e42ca85e9d
HHH-10366 - Fix checkstyle error
2015-12-08 18:14:19 +00:00
Ståle W. Pedersen
3f6cc8f8c5
HHH-10366 Improve performance and reduce CPU load when fetching reference cached objects
...
Removed a call to postLoad and afterInitialize for reference cached entities;
refactor methods, made some private, some final
try to optimize cached result
refactor out getPersister so it can be inlined
2015-12-08 16:53:28 +00:00
Andrea Boriero
fcd355f608
HHH-10331 - Fix HSQLDialect returns supportsTupleDistinctCounts false which seems wrong
2015-12-08 11:08:24 +00:00
Bobo Häggström
cac8b0d8c5
HHH-10343 Fixed precision and scale for elements of basic types in persistent collections
2015-12-07 10:27:41 +00:00
Koen Aers
3d92590eb3
HHH-10158: SchemaUpdate does not properly support formatter and delimiter anymore
2015-12-05 19:42:56 +00:00
Koen Aers
3229bbd883
HHH-10223: Element 'query-param' in *.hbm.xml files causes ClassCastException
2015-12-03 15:16:38 +00:00
Andrea Boriero
8bfaaea4b6
HHH-1122 - Fix hbm2ddl.SchemaUpdate has no delimiter
2015-12-03 10:30:10 +00:00
Andrea Boriero
bf892ef354
HHH-1122 - Add test for issue
2015-12-03 10:30:03 +00:00
Gail Badner
9858d29b56
HHH-10296 : Fix more DB reserved words used by tests
2015-12-02 16:32:45 -08:00
Andrea Boriero
087d51d505
HHH-10291 - Fix Partially generated composite attribute is not retrieved after insert
2015-12-02 16:45:45 +00:00
Steve Ebersole
052aad0ed4
HHH-10313 - Make SessionImplementor extend WrapperOptions
2015-11-30 11:13:58 -06:00
Andrea Boriero
603059b640
HHH-10302 - checkstyle fix
2015-11-26 17:35:06 +00:00
Sanne Grinovero
c8b68f5883
HHH-10302 Extract helper method for LoadEvent reuse and adapt code formatting to Hibernate style
2015-11-26 16:23:32 +00:00
Stuart Douglas
a761705e1d
HHH-10302 Cache the LoadEvent and PostLoadEvent to reduce allocations
2015-11-26 16:23:25 +00:00
Stuart Douglas
6777977df0
HHH-10301 Don't allocate a new List if it is not required
2015-11-26 15:27:23 +00:00
Andrea Boriero
a4b74e23cc
HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers
2015-11-26 15:06:20 +00:00
Andrea Boriero
9a9fb43ca5
HHH-9302 - SQLGrammarException with @DiscriminatorColumn in an inheritance hierarchy
2015-11-26 13:36:59 +00:00
Andrea Boriero
331383ccef
HHH-9302 - Add test for issue
2015-11-26 13:36:44 +00:00
Stuart Douglas
cd2ac94100
HHH-10314 Don't create the batch fetch queue to remove entities, as a null queue cannot contain the entity
2015-11-26 12:30:35 +00:00
Stuart Douglas
6ecb5ca923
HHH-10338 Use an explicit empty object array to prevent the varargs method allocating one
2015-11-26 11:56:13 +00:00
Gail Badner
24ee708de7
HHH-10328 : Unit test failure due to database identifier too long
2015-11-24 20:53:29 -08:00
Gail Badner
a2026c3ad0
HHH-10327 : Unit test failures due to date/time precision mismatches
2015-11-24 17:48:59 -08:00
Gail Badner
d8f57877f2
HHH-10296 : Fix more DB reserved words used by tests
2015-11-24 14:17:00 -08:00
Gail Badner
ae91c8722a
HHH-10296 : Fix more DB reserved words used by tests
2015-11-24 13:57:43 -08:00
Gail Badner
34dd9d186b
HHH-10327 : Unit test failure on Oracle due to DATE mismatches
2015-11-24 13:52:48 -08:00
Gail Badner
8de9ca0549
HHH-10325 : Test failure on MySQL and MariaDB because they do not allow casting as float type
2015-11-23 23:30:04 -08:00
Gail Badner
377ba9a8c0
HHH-10322 : Test failures due to function name differences by dialect
2015-11-23 17:17:42 -08:00
Gail Badner
cd581f8dfd
HHH-10320 : Unit test failures due to feature tested that is not supported by database
2015-11-23 12:14:46 -08:00
Gail Badner
cfbc0036f0
HHH-10296 : Fix more DB reserved words used by tests
2015-11-23 11:50:06 -08:00
Gail Badner
386cd74e64
HHH-10296 : Fix more DB reserved words used by tests
...
(cherry picked from commit 104635ba1f
)
2015-11-20 23:03:31 -08:00
Gail Badner
519ba7175f
HHH-10312 : Unit test failures due to DB problems interpreting proper type for null value when bound to a query
2015-11-20 18:55:20 -08:00
Gail Badner
439dab82d0
HHH-10311 : Primary key length used in unit test is too long for DB2
2015-11-20 14:33:57 -08:00
Gail Badner
d3de746bd9
HHH-10308 : Don't make deep copy of property with AttributeConverter if Java type is known to be immutable
...
(cherry picked from commit 780c7c2fb6
)
2015-11-20 11:59:59 -08:00
Steve Ebersole
f5197a3f04
HHH-10309 - HHH-10242 is too aggressive in cases of FIELD access
...
(cherry picked from commit 1183a4719d
)
2015-11-20 12:51:00 -06:00
Andrea Boriero
c7abe770de
HHH-10304 - ImplicitCompositeKeyJoinTest#testImplicitCompositeJoin fails due to dialect-specific differences in generated SQL string
2015-11-19 15:52:28 +00:00
Gail Badner
977c3f943f
HHH-10296 : Fix more DB reserved words used by tests
2015-11-18 20:49:52 -08:00
Andrea Boriero
b421040359
HHH-10275 - Fix Inverse foreign key for many-to-many set is nullable
2015-11-18 17:18:04 +00:00
Steve Ebersole
e752a78777
HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry()
2015-11-18 08:52:09 -06:00
Gail Badner
3d89a9d118
HHH-10297 : Cache HashMap in AbstractRowReader instead of re-creating for each row that is read
...
(cherry picked from commit ccc99c690f
)
2015-11-17 21:50:29 -08:00
Steve Ebersole
fa7a675490
HHH-1689 - Support subqueries in HQL as CASE statement alternatives;
...
SQM-30 - test
(cherry picked from commit 57401b9aa8
)
2015-11-17 19:23:10 -06:00
Steve Ebersole
7633d2fce5
HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry()
2015-11-17 11:33:16 -06:00
Ståle W. Pedersen
123103a73f
HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry()
...
(cherry picked from commit da4593de1b
)
2015-11-17 11:32:25 -06:00
barreiro
189b379c83
HHH-9529 - [enhancer] check that the field being accessed belongs to the entity being enhanced
...
(cherry picked from commit 1568f89426
)
2015-11-17 10:39:58 -06:00
Steve Ebersole
682c0642e2
HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
...
(cherry picked from commit 4793ca30a2
)
2015-11-17 10:24:08 -06:00
Gail Badner
d3d88cfa67
HHH-10161 : Hibernate ignores return value from javax.persistence.Parameter#getParameterType()
...
(cherry picked from commit b4dbb90f17
)
2015-11-16 22:46:47 -06:00
Selaron
0280fe6d2a
HHH-10181 - CacheableFileXmlSource.doBind uses obsolete .bin file
...
Check for obsolete cache file during runtime of doBind(..) instead of
CacheableFileXmlSource instantiation only. Subsequent calls of doBind on
a given CacheableFileXmlSource instance should detect that cache file is
fresh and make use of it.
(cherry picked from commit b1e4fc1ae4
)
2015-11-16 22:13:09 -06:00
Steve Ebersole
fe6e2842fd
HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end
...
(cherry picked from commit 5e87397902
)
2015-11-16 22:06:44 -06:00
Gail Badner
642d42dc92
HHH-10273 : Explicitly put column/table names that are DB2 keywords in quotes
2015-11-16 18:10:11 -08:00
Andrea Boriero
5a98ded540
HHH-10288 - Temporary table support is broken using PostgresPlusDialect
2015-11-16 12:19:23 +00:00
Andrea Boriero
0ed5fcfc66
HHH-10293 - Schema Update - Single table Inheritance with bi-directional OneToMany referencing superclass fails
2015-11-15 18:01:10 +00:00
Andrea Boriero
ccf7fe2e49
HHH-10293 - Add test for issue
2015-11-15 18:00:59 +00:00
Andrea Boriero
12050ae7e8
HHH-5946 - Tests for not equals operations expecting QuerySyntaxException require dialect does not support row value constructor syntax
2015-11-14 14:35:41 +00:00
Andrea Boriero
5559b596e6
HHH-10274 - org.hibernate.id.SequenceValueExtractor does not work for DB2, Oracle, or SQL Server
2015-11-13 17:31:51 +00:00
Andrea Boriero
7f6d14a612
HHH-10247 - Fix Hibernate ignores foreign-key attribute name in hbm <many-to-many>
2015-11-12 23:16:21 +00:00
Andrea Boriero
310ebdd7ac
HHH-10247 - Add test for issue
2015-11-12 23:16:12 +00:00
Andrea Boriero
32e2ce7ac2
HHH-10279 - Fix checkstyle errors
2015-11-12 22:46:36 +00:00
Steve Ebersole
37266f0d82
HHH-10281 - More formally deprecate the legacy bytecode enhancement code
...
(cherry picked from commit 9872358bed
)
2015-11-12 10:48:40 -06:00
barreiro
0145736fe5
HHH-10271 - Add ordinal() method to EventType and change EventListenerRegistryImpl to take advantage of that
...
(cherry picked from commit 340cee232a
)
2015-11-12 08:16:09 -06:00
Stuart Douglas
feacc4a3b0
HHH-10279 - Memory usage improvements -
...
* Don't allocate IdentityMap if it is not needed
* Only allocate unresolved insertions if requied
* Don't create a new string when creating a named query
* Allocate querySpaces lazily
* Remove executableLists from ActionQueue
* Allocate ExecutableList instances lazily
* Lazily allocate the transaction commit task lists
* Don't allocate a new EntityKey
(cherry picked from commit 991ff265da
)
2015-11-12 06:52:05 -06:00
Gail Badner
38c355ed42
HHH-10273 : Reserved word used for database object in testsuite
...
(cherry picked from commit fa7851058c
)
2015-11-11 18:15:02 -08:00
John O'Hara
fc077401e7
HHH-10259 : ForUpdateFragment.toFragmentString() does not check if aliases are defined when lockOptions are not null
2015-11-11 16:33:14 -08:00
Steve Ebersole
60e8f8cfe4
HHH-10264 - hibernate.cache.auto_evict_collection_cache problems;
...
HHH-9140 - Error in CollectionCacheInvalidator when hibernate.cache.auto_evict_collection_cache is enabled
(cherry picked from commit 1d5b0779d6
)
2015-11-10 09:15:12 -06:00
Janario Oliveira
6dbb3a8f57
HHH-10264 - Values weren't cached after persist
...
HHH-9140 - Allow to look for id outside of context
ERROR CollectionCacheInvalidator:145 - org.hibernate.TransientObjectException: The instance was not associated with this session
at org.hibernate.internal.SessionImpl.getIdentifier(SessionImpl.java:1511)
(cherry picked from commit f0d8fcd)
Added property to propagate error in test case
Test case without mappedBy
org.hibernate.HibernateException: Unable to resolve property:
at org.hibernate.tuple.entity.EntityMetamodel.getPropertyIndex(EntityMetamodel.java:926)
(cherry picked from commit bf2eb01856
)
2015-11-10 09:15:00 -06:00
Emanuele Gesuato
92a830a5dd
HHH-5946 - Wrong SQL generated when composites are compared using not-equal operator
...
(cherry picked from commit cd2b031b6b
)
2015-11-09 23:08:37 -06:00
Steve Ebersole
823bf5e0d8
HHH-9475 - Cannot mix @MapKey with @Convert
2015-11-09 22:22:30 -06:00
Janario Oliveira
fa526f6011
HHH-9475 Cannot mix @MapKey with @Convert - Moved classes to reuse in test case; Added copy of type from referenced MapKey
...
(cherry picked from commit 80e851e7d0
)
2015-11-09 21:49:23 -06:00
Steve Ebersole
bd20ba86a4
HHH-10251 - Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities
2015-11-09 17:02:56 -06:00
John O'Hara
59f721a250
HHH-10251 : Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities
2015-11-09 17:02:56 -06:00
Steve Ebersole
4bfb349d16
HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment
...
(cherry picked from commit 2b563794c7
)
2015-11-09 15:20:32 -06:00
Steve Ebersole
f6de8f83a2
HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment
...
(cherry picked from commit e4d102c5b1
)
2015-11-09 09:19:22 -06:00
Matt Drees
943acc78bc
HHH-5764 - Support for multi-level derived ids
...
(cherry picked from commit a32372d751
)
2015-11-09 08:22:58 -06:00
barreiro
32d32ec0d2
HHH-10112 - [enhancer] Use loading classloader in ClassPool
...
(cherry picked from commit 3f2c78533e
)
2015-11-06 12:22:11 -06:00
Steve Ebersole
ca46d28db3
HHH-10219 - Infinite loop generating IDs if using negative increment
...
(cherry picked from commit cd7212a1e8
)
2015-11-06 10:35:10 -06:00
Steve Ebersole
deea4adfe9
HHH-10242 - Deal with HCANN poor handling of multiple properties by matching stem name
...
(cherry picked from commit ae9ff5587e
)
2015-11-05 11:55:43 -06:00
Emmanuel Bernard
32806083ef
HHH-10242 Detect ambiguous properties
...
boolean idId() + UUID getId() is ambiguous if no @Transient is involved
(cherry picked from commit 5cc5ed1c84
)
2015-11-05 11:55:29 -06:00
Steve Ebersole
282a7b1afc
HHH-10208 - Index and unique-key constraints not properly handled with implicit columns in hbm.xml binding
...
(cherry picked from commit ec8794bbd0
)
2015-11-04 23:34:28 -06:00
Steve Ebersole
d167599793
HHH-9481 - SQL query clears all cache
...
(cherry picked from commit 9128b84b54
)
2015-11-04 21:45:01 -06:00
Steve Ebersole
d01e602ffc
HHH-6672 - Remove UNION support from 5.x grammars
...
(cherry picked from commit dd4f809d20
)
2015-11-04 21:19:03 -06:00
Steve Ebersole
0e999e897e
HHH-10248 - map removed TransactionFactory classes
...
(cherry picked from commit 22ffaea0c3
)
2015-11-04 20:56:20 -06:00
Steve Ebersole
b909b536c6
HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport
...
(cherry picked from commit eadb0fec8f
)
2015-11-04 16:16:51 -06:00
Steve Ebersole
fa09055a8c
HHH-9794 - Replace string with preceding comma is not replacing string as required
...
(cherry picked from commit 4218f365e5
)
2015-11-04 16:11:15 -06:00
Steve Ebersole
412546753f
HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end
...
(cherry picked from commit 30d7c800bd
)
2015-11-04 13:03:46 -06:00
Gail Badner
239688c39b
HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called
2015-11-03 17:19:23 -08:00
Gail Badner
cac26d3077
HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called.
...
(cherry picked from commit c835cf11ec
)
2015-11-03 17:00:50 -08:00
Steve Ebersole
c25ad0d719
HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end
...
(cherry picked from commit e59781487a
)
2015-11-03 17:12:10 -06:00
cranforc
6b8c302494
HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than NVARCHAR(MAX)
...
HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than
NVARCHAR(MAX)
(cherry picked from commit c65cb7e850
)
2015-10-30 13:08:13 -05:00
Holger
9ffc80da5a
HHH-10181: CacheableFileXmlSource.doBind uses obsolete .bin file
...
(cherry picked from commit 6ace838d61
)
2015-10-30 13:02:20 -05:00
Steve Ebersole
691d8725d9
HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph
...
(cherry picked from commit 287a516760
)
2015-10-29 09:54:09 -05:00
Steve Ebersole
2f48de342b
HHH-10222 - AttributeConverter not applied to @ElementCollection
...
(cherry picked from commit 9390062abc
)
2015-10-28 23:07:00 -05:00
Steve Ebersole
7cbb8570c4
HHH-10222 - AttributeConverter not applied to @ElementCollection
...
(cherry picked from commit 2db30fd455
)
2015-10-28 22:55:49 -05:00
michal
46751f4f7f
HHH-10222 - AttributeConverter not applied to @ElementCollection
...
(cherry picked from commit 2a99b256b8
)
2015-10-28 22:55:38 -05:00
Hardy Ferentschik
7a0e98aeec
HHH-6475 - Metamodel check fails when subclasses are used
...
(cherry picked from commit 25d8a66ac7
)
2015-10-28 13:27:25 -05:00
Steve Ebersole
eca5839404
HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
...
(cherry picked from commit e6c1f511a3
)
2015-10-27 23:27:22 -05:00
Steve Ebersole
9c9d8bd0be
HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
...
(cherry picked from commit 246e98c5af
)
2015-10-27 21:57:08 -05:00
Steve Ebersole
10a5f4af15
HHH-1400 - formula-based property leads to generation of invalid SQL with subselect fetches
...
(cherry picked from commit 82c5e0ae26
)
2015-10-27 21:42:23 -05:00
Andrea Boriero
32fce20012
HHH-10169 - Fix Hibernate ignores foreign-key name in hbm <joined-subclass>
2015-10-27 17:49:02 +00:00
Andrea Boriero
6c72d0daaa
HHH-10169 - Add test for issue
2015-10-27 17:48:49 +00:00
Steve Ebersole
f355d06304
HHH-10166 - Sequence generator creates duplicate keys
...
(cherry picked from commit 3b2157be45
)
2015-10-27 06:07:56 -05:00
Steve Ebersole
b261f356d0
HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport
...
(cherry picked from commit 57c5d06f0e
)
2015-10-26 21:07:46 -05:00
Steve Ebersole
6a09dea2e4
HHH-10206 - Primary key not created for a Set after loading from XML mapping file
...
(cherry picked from commit e71627ab00
)
2015-10-26 20:20:12 -05:00
Steve Ebersole
5ba6cdc728
HHH-10207 - Constraint name not considered for a Set while loading from XML mapping file
...
(cherry picked from commit c07e93bfb1
)
2015-10-26 19:44:54 -05:00
Steve Ebersole
3ebe0f1c8a
HHH-9897 - @OneToMany association with @JoinFormula throws NPE
...
(cherry picked from commit 53dfed4496
)
2015-10-26 19:25:50 -05:00
Steve Ebersole
7fba0e731e
HHH-9784 - Scroll method does not support provided HQLQueryPlan
...
(cherry picked from commit be40ccf9cc
)
2015-10-26 19:01:42 -05:00
reda-alaoui
4fcb465311
HHH-9784 Scroll method does not support provided HQLQueryPlan
...
(cherry picked from commit 09127bf1c3
)
2015-10-26 19:01:33 -05:00
Réda Housni Alaoui
3da8d8542f
HHH-9374 EntityGraph applied to subquery when using collection function
...
(cherry picked from commit 1677e0662b
)
2015-10-26 17:53:17 -05:00
drepshas
c84cc32297
HHH-10087 allow locks to be prepended to SQL
...
This allows locking code to work for the Teradata database
(cherry picked from commit ac616ccbfa
)
2015-10-26 17:40:15 -05:00
Jan Martiska
cd036a6367
[HHH-10188] "stored" is a reserved keyword
...
(cherry picked from commit 1fa78f9658
)
2015-10-26 17:16:46 -05:00
Jan Martiska
1741e0f06f
HHH-10195 fix QueryHintSQLServer2012Test
...
(cherry picked from commit 06311d32a1
)
2015-10-26 17:12:39 -05:00
Jan Martiska
01c358991f
HHH-10196 DefaultGeneratedValueTest fails on MySQL
...
fix
(cherry picked from commit 6ff0abf682
)
2015-10-26 17:06:33 -05:00
Steve Ebersole
513f11fa5f
HHH-10217 - ModelBinder fails to bind version property when generated="always"
...
(cherry picked from commit 56fae44589
)
2015-10-26 17:01:02 -05:00
Steve Ebersole
1de3002fe5
HHH-10208 - Index not considered while loading from XML mapping file
...
(cherry picked from commit 8bcf66631d
)
2015-10-26 13:15:38 -05:00
Andrea Boriero
fa7fcf5b95
HHH-10180 - Fix hbm2ddl tools cannot generate create/update script not modifying the database
2015-10-26 14:28:51 +00:00
Andrea Boriero
9b34880baf
HHH-10180 - Add test for issue
2015-10-26 14:28:39 +00:00
Andrea Boriero
cf4ef9ad1c
HHH-10197 - Fix SchemaManagementException when performing SchemaUpdate
2015-10-16 13:57:49 +01:00
Andrea Boriero
add6fc84c8
HHH-10197 - Add test
2015-10-16 13:57:39 +01:00
Andrea Boriero
4bb263f789
HHH-10174 - Fix Incorrect splitting of string using dot as separator, dot is not escaped
2015-10-15 14:30:30 +01:00
Andrea Boriero
75db26f24e
HHH-10174 - Add test for issue
2015-10-15 14:30:23 +01:00
Andrea Boriero
4ff1dcbfa7
HHH-10104 - Fix HHH-10104 Using JPA 2.1 schema generation together with hbm2ddl runs into deadlock with MySQL
2015-10-15 11:19:10 +01:00
Andrea Boriero
5f67ac3acc
HHH-10194 - Change NameQualifierSupport for Hypersonic from CATALOG to SCHEMA
2015-10-15 09:54:35 +01:00
Andrea Boriero
12ae1b54b9
HHH-10193 - Fix NameQualifierSupport for Hypersonic should be catalog
2015-10-14 17:09:51 +01:00