Commit Graph

10118 Commits

Author SHA1 Message Date
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 2019-09-17 14:08:29 +01:00
Yoann Rodière 0f2a037e18 HHH-13606 Upgrade the HANA JDBC driver to 2.4.59 in the matrix_hana task
It's already the version we use when running test -Pdb=hana, so let's
be consistent.
2019-09-17 08:31:42 +02:00
Steve Ebersole 5500985afa initial working support for root entity loading via HQL 2019-09-16 13:09:43 -05:00
Sanne Grinovero 57dbfbb60e HHH-13622 Upgrade the WildFly Transaction Client to 1.1.7.Final 2019-09-16 16:34:36 +01:00
Andrea Boriero 00267022eb Initial working support for selecting a "query root" - i.e. 2019-09-16 11:16:31 +01:00
Andrea Boriero c27c53f619 Initial working support for selecting a "query root" - i.e. 2019-09-16 11:07:58 +01:00
Andrea Boriero f5877052ff HHH-13621 Exception if spaces after value of javax.persistence.schema-generation.scripts.action in hibernate.properties 2019-09-16 10:12:13 +01:00
Andrea Boriero 26c2e0bf2b HHH-13621 Add test for issue 2019-09-16 10:12:13 +01:00
Steve Ebersole 23c3c8949e adjust ORM artifact references in module descriptors (missed some) 2019-09-16 08:53:15 +01:00
Steve Ebersole 6eb9154184 adjust ORM artifact references in module descriptors. 2019-09-16 08:52:10 +01:00
Steve Ebersole 9cf6195110 All hail the mighty Checkstyle 2019-09-16 08:51:52 +01:00
Steve Ebersole 50ba882b2d temporarily include just the new tests so we can publish SNAPSHOTS for others to use 2019-09-16 08:51:39 +01:00
Steve Ebersole 648dd3d2ed More work on EntityResult handling;
Changes to how SqmParameters are handled to account for criteria parameters
2019-09-16 08:51:16 +01:00
Andrea Boriero 1db0927e8e 6 - Fix StandardBasicTypes not registering types into BasicTypeRegister when a SF is closed and recreated 2019-09-12 10:42:33 +01:00
Steve Ebersole 76b42a94c3 Initial working support for selecting a "query root" - i.e. `select e from TheEntity e` 2019-09-12 10:42:33 +01:00
Steve Ebersole a4e4cb7260 Initial working support for building and executing JdbcSelect operation from simple HQL for a converted (enum) value - actually reading;
fixed (temporary) support for writing enumerated values
2019-09-12 10:42:33 +01:00
Andrea Boriero 340ba91e5c Initial working support for building and executing JdbcSelect operation from simple HQL 2019-09-12 10:42:33 +01:00
Andrea Boriero f85fe137b2 Initial working support for building and executing JdbcSelect operation from simple HQL 2019-09-12 10:42:33 +01:00
Steve Ebersole 5b1df3c6c9 Initial working support for building and executing JdbcSelect operation from simple HQL for a converted (enum) value 2019-09-12 10:42:33 +01:00
Steve Ebersole dbd108e0b7 Initial working support for building and executing JdbcSelect operation from simple HQL 2019-09-12 10:42:33 +01:00
Steve Ebersole 70c051af6f Proper creation of JdbcSelect for simple HQL query 2019-09-12 10:42:33 +01:00
Steve Ebersole 1ec133a989 Continued tests of Hibernate mapping model and SQL AST 2019-09-12 10:42:33 +01:00
Andrea Boriero f4441e3664 Fix compilation errors 2019-09-12 10:42:33 +01:00
Andrea Boriero 20f2002269 6 - fix compilation errors in envers and osgi projects 2019-09-12 10:42:33 +01:00
Steve Ebersole 0acd11fae3 6 - SQM based on JPA type system
Completed rebase on master (from the point just after HHH-11147 work) - fixed compilation failures
2019-09-12 10:42:33 +01:00