Commit Graph

9316 Commits

Author SHA1 Message Date
Yanming Zhou a9fd8efe33 HHH-12977 - Update latest dialect for MySQL 2018-09-19 11:01:53 +03:00
Jan-Willem Gmelig Meyling b25bfd79f4 HHH-12675 - Respect inverse property for JoinedSubclassEntityPersister 2018-09-13 17:57:56 +02:00
Vlad Mihalcea 4bafeeecae HHH-12957 - Calling custom functions in JPQL with the function() is missing in the documentation 2018-09-10 13:56:24 +03:00
Vlad Mihalcea 9d8cb3dbb7 Add test to check if private constructors lead to meaningful error messages when using bytecode enhancement 2018-09-10 13:40:59 +03:00
Jonathan Bregler 69c03c63f3 HHH-12963: HANA dialect doesn't set internal configuration for use_unicode_string_types correctly 2018-09-10 11:33:38 +03:00
SirWayne e66da8af00 HHH-12964 - Upgrade to dom4j 2.1.1 2018-09-10 09:40:44 +03:00
Jonathan Bregler d8be295740 HHH-12961 Update HANA dialects Javadoc
- Fix the links
- Add some more information
2018-09-07 16:23:40 +02:00
del65 90b71f6895 HHH-12966 Do not include loggers in statistics beans
This way, you don't need to add the JBoss logging dependencies.
2018-09-07 16:19:30 +02:00
del65 8293d6dce3 HHH-12966 Make CacheableDataStatistics serializable
This is necessary to access statistics over JMX.
2018-09-07 16:19:18 +02:00
Vlad Mihalcea 83191633ec HHH-12855 - Add query plan compilation statistics 2018-09-07 11:17:48 +03:00
Vlad Mihalcea eab5fb2868 HHH-12952 - Document the hibernate.statistics.query_max_size behavior and explain its implications 2018-09-06 14:36:42 +03:00
Sanne Grinovero 50990dd76b HHH-12954 Refactor boot/model/relational/Database to avoid holding references to MetadataBuildingOptions 2018-09-05 10:51:46 +01:00
Sanne Grinovero 4eb726ef4c HHH-12950 Use the Annotation Processor specific scopes of Gradle 2018-09-04 23:02:26 +01:00
Sanne Grinovero 293acd048c HHH-12949 Upgrade to Gradle 4.10 2018-09-04 22:42:36 +01:00
Sanne Grinovero 935601e29d HHH-12948 Allow using a custom SessionFactoryOptionsBuilder to create a SessionFactoryBuilderImpl 2018-09-04 16:28:41 +01:00
Sanne Grinovero 8cf00ad3fd HHH-12947 Remove need for BootstrapContext where it's unused 2018-09-04 16:28:41 +01:00
Vlad Mihalcea b3c2c2fe47 HHH-12933 - Generate_statistics grows QueryStatistics ConcurrentHashMap indefinitely 2018-09-03 17:25:31 +03:00
Vlad Mihalcea 440a2ef490 HHH-12929 - Add AtomikosJtaPlatform implementation 2018-09-03 17:17:09 +03:00
Guillaume Smet 04b3230e0f HHH-12920 Fix a debug message causing an exception at debug level 2018-09-03 15:48:14 +02:00
Barnaby Court 5e747b7057 HHH-12927 - Immutable warning issued if immutable entities are referenced but not changed during update 2018-09-03 12:28:34 +03:00
Vlad Mihalcea 361587c858 HHH-12943 - SQL Server UNIQUEIDENTIFIER type uses an uppercase UUID String representation 2018-09-03 10:25:49 +03:00
Guillaume Smet 4c5ab83756 HHH-12932 Execute ByteBuddy code requiring privileges inside a privileged block 2018-08-28 17:34:54 +02:00
Guillaume Smet d195ce03bc HHH-12931 Revert "HHH-12542 - Add necessary privileged action blocks for SecurityManager used on WildFly."
This reverts commit 15a59a1a19.
2018-08-28 17:34:32 +02:00
Sanne Grinovero fb54090329 HHH-12919 Interning of strings for EntityReferenceAliases 2018-08-23 00:04:29 +02:00
Sanne Grinovero 096b436f3d HHH-12918 Interning of strings for Formula and Column exctraction templates 2018-08-23 00:04:28 +02:00
Sanne Grinovero 4fa0491341 HHH-12917 Interning of strings for Filter definitions 2018-08-23 00:04:28 +02:00
Carlos Aristu 6911efdfb7 HHH-12921 - Hibernate Connection Pool Validation Thread should be defined as a daemon Thread
HHH-12922 - Hibernate Connection Pool Validation Thread should have a name
2018-08-22 20:28:26 +03:00
Vlad Mihalcea 9f1fde7127 HHH-12915 - Concurrency issue within org.hibernate.internal.SessionFactoryImpl 2018-08-21 17:45:58 +03:00
Sanne Grinovero 710662200b HHH-12914 Avoid need to create a Proxy to implement org.hibernate.engine.jdbc.BlobProxy 2018-08-16 10:37:24 +01:00
Dmitry Matveev 7ee3001565 Fix a typo in a variable name 2018-08-15 18:31:38 +02:00
Vlad Mihalcea fc667eca2d HHH-12532 - JPA Native Query with ordinal parameter not working
Add test to prove the issue does not replicate
2018-08-15 13:57:17 +03:00
Guillaume Smet 7059146c25 Fix the previous commit to reference #getMaxResults() 2018-08-14 17:01:21 +02:00
Sande Gilda be745cef98 Fix Javadocs comments for Query.getHibernateMaxResults() method 2018-08-14 16:57:58 +02:00
Sanne Grinovero f7b75e4c62 HHH-12911 Removing unused field from org.hibernate.mapping.Collection 2018-08-14 10:53:42 +01:00
Gail Badner 770ae50e8b HHH-12875 HHH-12882 : Drop tables in proper order in test setup methods 2018-08-13 23:26:37 -07:00
Gail Badner a5fa213658 HHH-12875 : Remove "where" clause for Top used by MultiTableTest;
After HHH-12875 is fixed, the "where" clause causes
            MultiTableTest to fail due to HHH-12016
2018-08-13 21:49:45 -07:00
Gail Badner a3cecf3411 HHH-12875 : Add comments to clarify how Collection#setWhere and #setManyToManyWhere are used 2018-08-13 17:42:54 -07:00
Gail Badner 27937e5627 HHH-12875 HHH-12882 : Class level where="..." clause hbm.xml mappings is not enforced on collections of that class; add parentheses when where clauses get combined in a conjunction (hbm and annotations)
HHH-12882 : correct assertions in ParentChildTest
2018-08-13 17:42:54 -07:00
Gail Badner cdf5e45514 HHH-12875 HHH-12882 : test cases 2018-08-13 17:42:54 -07:00
Gail Badner 10826d8f3a HHH-12875 : Class level where="..." clause in hbm.xml mappings is not enforced on collections of that class 2018-08-13 17:42:54 -07:00
Gail Badner eef8974877 HHH-12875 : test cases 2018-08-13 17:42:54 -07:00
Guillaume Smet 8e6fcce523 HHH-12905 Improve the error message and update the tests accordingly
Also fix a loose end in the MySQL test: at least with MariaDB, using
a bit(1) as datatype for boolean does not work: it always return true
even if you set it to 0. Using either boolean or tinyint(1) solves
the issue.

As I'm not sure older versions of MySQL supports a real boolean type I
used a tinyint(1).
2018-08-14 00:41:44 +02:00
Guillaume Smet cac2cd057b Uncomment MariaDB dialect in gradle/databases.gradle
I don't know why it has been commmented out but it prevents from running
the tests with -Pdb=mariadb as no dialect is defined.
2018-08-14 00:33:55 +02:00
Guillaume Smet 764b1826bb HHH-12905 Fix error message tested in MySQL and PostgreSQL tests 2018-08-13 18:43:25 +02:00
Roland Kurucz cc1ffbaaa0 HHH-12905 - Bind value [null] was not of specified type in StoredProcedureQuery 2018-08-13 18:03:45 +02:00
Sanne Grinovero 4a4ecc434b HHH-12904 Removing some dead code in InFlightMetadataCollectorImpl and MetadataImpl 2018-08-13 16:47:11 +01:00
Vlad Mihalcea 35b4d81cf4 HHH-12892 - Fix spelling issues in the User Guide 2018-08-13 17:42:44 +02:00
Guillaume Smet 954dd20be0 HHH-12909 Upgrade ByteBuddy to 1.8.17 2018-08-13 17:31:47 +02:00
Guillaume Smet 34f58e91c6 HHH-12907 Avoid creating too many ByteBuddy objects
This commit should reduce the garbage collection pressure as reported at
https://github.com/raphw/byte-buddy/issues/515.
2018-08-13 14:37:00 +02:00
Guillaume Smet a934a03a20 HHH-12906 Add tests 2018-08-13 11:49:04 +02:00