10042 Commits

Author SHA1 Message Date
Steve Ebersole
c7ce52c4b1 perf changes 2019-10-09 11:42:05 -05:00
Steve Ebersole
6f77e0d261 perf work 2019-10-09 11:42:05 -05:00
Andrea Boriero
2502f4c108 Change back version to SNAPSHOT 2019-10-02 11:21:04 +01:00
Andrea Boriero
4b6777cde2 Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4 2019-10-02 10:24:59 +01:00
Gail Badner
616f549f8c HHH-13640 : Added failing test where a proxy is found in PersistenceContext, but it does not have a subclass 2019-10-01 17:32:45 -07:00
Chris Cranford
b606759e61 HHH-10398 Allow MOD column naming to be driven by a strategy
* Fixed javadoc comments
* Various code suggested code changes from review
2019-10-01 10:38:57 -04:00
Chris Cranford
f78877a607 HHH-10398 Allow MOD column naming to be driven by a strategy
* Fixes OSGI integration with missing service lookup registration
2019-10-01 10:38:57 -04:00
Chris Cranford
3ecdd860a3 HHH-10398 Allow MOD column naming to be driven by a strategy
In the past the MOD columns were constructed based on the property name,
therefore if users specified a @Column/@JoinColumn like annotation and
changed the underlying schema column, the MOD column would continue to
be derived based on the property name.

This enhancement introduces a new ModifiedColumnNamingStrategy SPI that
comes with two implementations, a default/legacy mode that maintains
the prior naming model and an improved mode that will derive the MOD
name based on the naming strategy ORM used to derive the column name.
2019-10-01 10:38:57 -04:00
Steve Ebersole
0084f82b1a Merge branch 'master' of github.com:hibernate/hibernate-orm 2019-10-01 09:26:57 -05:00
Steve Ebersole
ee304305e8 HHH-13640 - Uninitialized HibernateProxy mapped as NO_PROXY gets initialized when reloaded with enhancement-as-proxy enabled 2019-10-01 09:25:09 -05:00
Steve Ebersole
d46d3d66a2 HHH-13432 - EntityManagerFactory no longer exposes "javax.persistence.nonJtaDataSource" 2019-10-01 09:25:09 -05:00
Andrea Boriero
726dbeef34 Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4 2019-09-30 16:45:27 +01:00
Steve Ebersole
1dfb25bbbb HHH-13432 - EntityManagerFactory no longer exposes "javax.persistence.nonJtaDataSource" 2019-09-30 08:03:57 -05:00
Andrea Boriero
5d4eb8004b 5.4.6 2019-09-30 13:28:19 +01:00
Andrea Boriero
39e576cea4 5.4.6 5.4.6 2019-09-30 11:51:40 +01:00
Vlad Mihalcea
9a627c30fe HHH-13493 - For a native query, the SessionImpl class does not call applyQuerySettingsAndHints 2019-09-30 11:02:22 +01:00
Sanne Grinovero
a92cd6c9b9 HHH-13645 Include a comment in the implementation about the design choice to not optimise for null values 2019-09-30 10:40:45 +01:00
Gail Badner
00d25c1824 HHH-13645 : StatsNamedContainer#getOrCompute throws NullPointerException when computed value is null 2019-09-30 10:30:05 +01:00
Gail Badner
3f7d03bfec HHH-13645 : test cases 2019-09-30 10:30:05 +01:00
Chris Cranford
4b8c81908c HHH-11797 Add support for @MapKeyEnumerated mappings 2019-09-30 09:25:17 +01:00
Steve Ebersole
032f03afa3 initial work for LoadQueryInfluencer (EntityGraph, FetchProfile, etc) in SQM -> SQL AST transformation while building DomainResult/Fetch graph 2019-09-27 14:58:34 -05:00
Steve Ebersole
e572202cd1 fixed SqmParameter type inference from an SqmPath during translation to SQL AST 2019-09-27 12:10:59 -05:00
Kim Hansen
7355fc5131 Fix error in error message 2019-09-27 12:33:27 +01:00
Yash Jain
c06092c964 Grammatical and syntax mistake in README.md
1. Inserted "," before "and"
2. "quite unique" creates a tautology.
3. "features" -> "feature", The sentence was about a single feature.
4. The phrases "in order to" maybe wordy. Consider changing the wording.
5. The phrases "a number of" maybe wordy. Consider changing the wording.
6.  "Note :" -> "Note:", Unnessacary space between "Note" and ":"
2019-09-27 12:00:10 +01:00
Andrea Boriero
e04348079f HHH-13597 Building DatabaseInformation fails on H2 without DATABASE_TO_UPPER 2019-09-27 11:57:36 +01:00
Vootele Rotov
0e9ef8c7c9 HHH-13597 Add test for issue 2019-09-27 11:57:36 +01:00
Steve Ebersole
b9f4562680 fixed source of NPE wrt accessing an entity's version attribute descriptor when no versioning is defined;
added `@org.hibernate.testing.orm.junit.SessionFactory#exportSchema`
2019-09-26 14:14:19 -05:00
Steve Ebersole
57fba402b4 HHH-12858 - Persistence.createEntityManagerFactory(Map) should allow overwriting jta-data-source of persistence.xml 2019-09-25 15:12:25 -05:00
Steve Ebersole
4ff3c0b6e4 HHH-13130 - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task 2019-09-25 12:28:28 -05:00
Steve Ebersole
12ca8a2a81 avoid NPE with no proxy-class defined 2019-09-25 11:36:25 -05:00
Steve Ebersole
7fd33fdd93 various perf cleanup 2019-09-25 11:29:27 -05:00
Gail Badner
283802c491 HHH-13640 : Test case (marked FailureExpected) 2019-09-24 15:03:29 -07:00
Mahmoud Anouti
a3cccca66d Fix typo in user guide explicit polymorphism section 2019-09-24 11:02:09 +01:00
Steve Ebersole
4e3f60bf32 clean up SqmPath -> TableGroup resolution, esp wrt LHS 2019-09-23 14:12:13 -05:00
Steve Ebersole
4149350222 pluggable SQL AST translators 2019-09-23 12:53:51 -05:00
Steve Ebersole
35860baad6 support for pluggable HqlTranslator (renamed from SemanticQueryProducer);
support for pluggable SqmToSqlAstConverterFactory

- both allow a precedence of user-supplied > Dialect > standard
2019-09-23 11:53:14 -05:00
Steve Ebersole
cd354f1e2b minor cleanup 2019-09-23 11:01:00 -05:00
Steve Ebersole
25152db2de cleanup wrt TableGroup rendering;
better utilize constants when rendering SQL AST
2019-09-23 09:01:53 -05:00
Steve Ebersole
0f5107ca11 Merge branch 'andrea-merge' into wip/6.0 2019-09-23 05:44:40 -05:00
Steve Ebersole
3d764e15d5 minor cleanup 2019-09-22 10:52:43 -05:00
Steve Ebersole
233a3b176c initial working "unqualified" entity join support in criteria 2019-09-22 10:32:41 -05:00
Andrea Boriero
18c8495bab Merge branch 'master' into wip/6.0_merged2 2019-09-20 08:09:34 +01:00
Steve Ebersole
26b08fd35e initial working literal and parameter selection 2019-09-19 15:59:59 -05:00
Steve Ebersole
5631a702a7 initial working dynamic instantiation support;
cleanup
2019-09-19 15:13:50 -05:00
Steve Ebersole
055ce0c542 cleanup 2019-09-19 07:36:41 -05:00
Steve Ebersole
05a38d2c7c initial working support for embeddables and sub-references in HQL 2019-09-19 07:30:44 -05:00
Steve Ebersole
5c9cf4d0d8 HHH-13130 - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task 2019-09-18 12:05:39 -05:00
Sanne Grinovero
1bdbc0e764 HHH-13625 After upgrading to 5.4.5, it's no longer possible to bootstrap Hibernate if the org.hibernate.cfg LOG is set to DEBUG 2019-09-17 19:43:08 +01:00
Andrea Boriero
9d171f364c 5.4.5 2019-09-17 15:42:36 +01:00
Andrea Boriero
568413a102 5.4.5 5.4.5 2019-09-17 14:08:29 +01:00