mimmoz81
26edb2863f
HHH-13663 Method setHibernateFlushMode not callable without an active transaction on threadbound Sessions
2019-10-11 10:41:53 +01:00
Sanne Grinovero
9d6463eab6
HHH-13662 Avoid initializing XmlMappingBinderAccess when no XML mappings are defined
2019-10-10 10:27:52 +01:00
Andrea Boriero
567eb38069
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_6
2019-10-09 18:00:48 +01:00
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
Sanne Grinovero
404bc196f7
HHH-13660 Removing dead parameter: forceFetchLazyAttributes
2019-10-09 11:57:56 +01:00
Sanne Grinovero
9dd6b8439b
HHH-13660 Reduce allocation costs of IdentityMaps used by ResultSetProcessingContextImpl
2019-10-09 11:57:53 +01:00
Gail Badner
d6376834a7
HHH-13640 : Minor improvement
2019-10-07 12:22:51 +01:00
Andrea Boriero
cec4228d70
HHH-13640 - Fix initialization of existing proxy association leaf subclass
2019-10-07 12:22:51 +01:00
Gail Badner
c712b83955
HHH-13653 : More test cases
2019-10-07 07:58:45 +01:00
Andrea Boriero
3c1f4356dd
HHH-13653 Uninitialized entity does not get initialized when a setter is called with enhancement-as-proxy enabled
2019-10-07 07:58:45 +01:00
Steve Ebersole
ab508d2afa
HHH-12858 - integration overrides during JPA bootstrap ought to override all logically related settings
...
HHH-13432 - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
2019-10-05 23:03:09 -05:00
Steve Ebersole
fd72e4f75f
HHH-12858 - integration overrides during JPA bootstrap ought to override all logically related settings
...
HHH-13432 - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
2019-10-05 22:45:29 -05:00
Gail Badner
00f45951da
HHH-13653 : Test case
2019-10-03 23:54:23 -07:00
Steve Ebersole
b350599442
HHH-12858 - integration overrides during JPA bootstrap ought to override all logically related settings
...
- e.g. a datasource passed in the integration overrides map ought to effectively override JDBC-connection settings in `persistence.xml` (and vice-versa)
HHH-13432 - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
2019-10-03 16:03:43 +01:00
Andrea Boriero
2bc7fed96e
HHH-13640 - Add PrepareStatement executed check to LazyToOnesProxyWithoutSubclassesTest
2019-10-02 16:19:54 +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
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
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
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
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
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
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
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
Steve Ebersole
5500985afa
initial working support for root entity loading via HQL
2019-09-16 13:09:43 -05: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
9cf6195110
All hail the mighty Checkstyle
2019-09-16 08:51:52 +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
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
Sanne Grinovero
a4fa6430f3
Fixing the SessionImpl#buildLockOptions method
2019-09-12 10:42:33 +01:00
Sanne Grinovero
fffc9e7786
6 - SQM based on JPA type system
...
Fix compilation errors, imports, and amend deleted files after rebasing.
2019-09-12 10:42:33 +01:00
Steve Ebersole
5aea8bcf6a
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
Andrea Boriero
58acd33b54
6 - SQM based on JPA type system
2019-09-12 10:42:33 +01:00
Andrea Boriero
00d3abba13
6 - SQM based on JPA type system
2019-09-12 10:42:33 +01:00
Steve Ebersole
7a82dcf22b
6 - SQM based on JPA type system
...
- Continued work on mapping model and conversion from SQM to SQL. Currently flushing out mapping model - how expressive do we want this to be? Do we really want to re-use the walking contracts? Or create a new SPI/impls based on MappingModelExpressable?
2019-09-12 10:42:32 +01:00
Steve Ebersole
0c66f23af2
6 - SQM based on JPA type system
...
- Initial work on SQL AST generation based on older persister model
2019-09-12 10:42:32 +01:00
Steve Ebersole
bb207c0926
6 - SQM based on JPA type system
...
- Initial work on SQL AST generation based on older persister model
2019-09-12 10:42:32 +01:00
Steve Ebersole
4dd7c280ca
6 - SQM based on JPA type system
...
- SQM tests
2019-09-12 10:42:32 +01:00
Steve Ebersole
5359a7b5fd
6 - SQM based on JPA type system
...
- SQM tests
2019-09-12 10:42:32 +01:00
Steve Ebersole
ac93c1d213
6 - SQM based on JPA type system
...
- SQM tests
2019-09-12 10:42:32 +01:00
Steve Ebersole
62b98712d4
6 - SQM based on JPA type system
...
- SQM tests
2019-09-12 10:42:32 +01:00
Steve Ebersole
1003ddf115
6 - SQM based on JPA type system
...
- SQM tests
2019-09-12 10:42:32 +01:00
Steve Ebersole
21f4cfb891
6 - SQM based on JPA type system
...
- DynamicInstantiationTests
2019-09-12 10:42:32 +01:00
Steve Ebersole
5e8be067ca
6 - SQM based on JPA type system
...
- moving SQM-specific tests from wip/6.0
2019-09-12 10:42:32 +01:00
Steve Ebersole
5e19aee4a1
6 - SQM based on JPA type system
...
- moving SQM-specific tests from wip/6.0
2019-09-12 10:42:32 +01:00
Andrea Boriero
c45108a2b6
6 - SQM based on JPA type system
2019-09-12 10:42:32 +01:00
Steve Ebersole
b101ffbf79
6 - SQM based on JPA type system
...
- moving SQM-specific tests from wip/6.0
2019-09-12 10:42:32 +01:00
Steve Ebersole
00da979e70
6 - SQM based on JPA type system
...
- compilation errors down to zero and some test failure causes addressed
2019-09-12 10:42:32 +01:00
Andrea Boriero
268f479b16
6 - SQM based on JPA type system
2019-09-12 10:42:32 +01:00
Andrea Boriero
b9d07df7f2
6 - SQM based on JPA type system
2019-09-12 10:42:32 +01:00
Andrea Boriero
944e15ce12
6 - SQM based on JPA type system
2019-09-12 10:42:32 +01:00
Andrea Boriero
697aeb2f82
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
588f11684d
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
711aaec3c9
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
8f63e3176e
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
407d46200c
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
197b8e69e0
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
42bd76d565
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
665808b5af
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
b05029e6ac
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
911c0220fe
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
a15774b7e0
6 - Remove setParameter(... Type type) methods in favour of setParameter( AllowableParameterType type)
2019-09-12 10:42:31 +01:00
Andrea Boriero
a5414d2324
6 - Remove NativeQuery<T> addScalar(String columnAlias, Type type) in favour of NativeQuery<T> addScalar(String columnAlias, BasicDomainType type)
2019-09-12 10:42:31 +01:00
Andrea Boriero
44e01cdf7e
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
dd5d399f27
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
3f3e4c24e8
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
f436d18bf2
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
d99a3f1938
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
3dbcf28b41
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
4fc456e9c1
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
9b586aec45
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
ff1650c66c
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
4fd34e4a57
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Andrea Boriero
0a95c8c815
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
86ccb2115b
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
ff59a1301d
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
d1b86c2a72
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
430a765888
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
0bf8cd1266
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
c50c95a691
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
40fb8dc254
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
21cd25f520
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Steve Ebersole
1713e82d24
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:30 +01:00
Andrea Boriero
3d5209d105
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Steve Ebersole
fbe622fce6
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:30 +01:00
Andrea Boriero
3d59cef873
6 - SQM based on JPA type system -
2019-09-12 10:42:30 +01:00
Andrea Boriero
ffb704b532
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Steve Ebersole
18a52483ef
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:30 +01:00
Andrea Boriero
83a9618614
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Steve Ebersole
a6597f872e
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:30 +01:00
Andrea Boriero
c0cabdbfe8
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
f48f486ec6
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
a769d47a9a
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
230a819065
6 - SQM based on JPA type system
2019-09-12 10:42:30 +01:00
Andrea Boriero
398ef8d640
6 - SQM based on JPA type system
2019-09-12 10:42:29 +01:00
Steve Ebersole
f17895e2d5
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole
b39d9d22bd
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole
c6a11d99fd
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole
d0116d7caa
6 - SQM based on JPA type system
...
- work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work related to `org.hibernate.metamodel.model.mapping.spi.ValueMapping` - including "sketching in" the hooks with `org.hibernate.persister.walking`
2019-09-12 10:42:29 +01:00
Steve Ebersole
f8a75994e1
6 - SQM based on JPA type system
...
- work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work related to `org.hibernate.metamodel.model.mapping.spi.ValueMapping` - including "sketching in" the hooks with `org.hibernate.persister.walking`
2019-09-12 10:42:29 +01:00
Steve Ebersole
8d0ff71dfc
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
- work on ProcedureCall
- continued work on `org.hibernate.sql.exec`
- continued work on `org.hibernate.sql.results`
- ported `hibernate-testing` JUnit 5 support
2019-09-12 10:42:29 +01:00
Andrea Boriero
46e27d7f46
6 - SQM based on JPA type system, RuntimeModelCreationProcess
2019-09-12 10:42:29 +01:00
Steve Ebersole
d6428c5b43
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
- work on ProcedureCall
- continued work on `org.hibernate.sql.exec`
- continued work on `org.hibernate.sql.results`
2019-09-12 10:42:29 +01:00
Andrea Boriero
638c217e8a
6 - SQM based on JPA type system, RuntimeModelCreationProcess
2019-09-12 10:42:29 +01:00
Andrea Boriero
52aff8055e
6 - SQM based on JPA type system, RuntimeModelCreationProcess
2019-09-12 10:42:29 +01:00
Andrea Boriero
f20d36be40
6 - SQM based on JPA type system, RuntimeModelCreationProcess
2019-09-12 10:42:29 +01:00
Steve Ebersole
f52e305ffb
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
- work on ProcedureCal
2019-09-12 10:42:29 +01:00
Steve Ebersole
3a761361fe
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
- work on Query impls
2019-09-12 10:42:28 +01:00
Steve Ebersole
031fc0edcd
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
- misc
2019-09-12 10:42:28 +01:00
Steve Ebersole
0be0d06b1d
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
2019-09-12 10:42:28 +01:00
Steve Ebersole
43c738ec4e
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
2019-09-12 10:42:28 +01:00
Steve Ebersole
536e5e1a12
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
2019-09-12 10:42:28 +01:00
Steve Ebersole
2167abd373
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
2019-09-12 10:42:28 +01:00
Andrea Boriero
fb12f3a60f
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Steve Ebersole
11b820181e
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
2019-09-12 10:42:28 +01:00
Steve Ebersole
f25ed96df6
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Andrea Boriero
0ce1c35d95
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Steve Ebersole
163cc53318
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Steve Ebersole
4c058d8e9c
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Andrea Boriero
e8f22dc2ef
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Andrea Boriero
05724fc19a
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Andrea Boriero
2748b34a11
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Andrea Boriero
70334e44e1
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Steve Ebersole
84a481a3c2
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Andrea Boriero
fa754a77e2
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Steve Ebersole
e551311eaa
6 - SQM based on JPA type system
2019-09-12 10:42:28 +01:00
Steve Ebersole
f4126082da
6 - SQM based on JPA type system
2019-09-12 10:42:27 +01:00
Steve Ebersole
af2c32e32c
6 - SQM based on JPA type system
2019-09-12 10:42:27 +01:00
Steve Ebersole
3958e37103
6 - SQM based on JPA type system
2019-09-12 10:42:27 +01:00
Steve Ebersole
26ff169db2
6 - SQM based on JPA type system
2019-09-12 10:42:27 +01:00
Yoann Rodière
debc5d37f8
HHH-13581 Disable tests involving MariaDB ConnectorJ's buggy ResultSet#getTime(int, Calendar) method
2019-09-11 21:20:35 -05:00
Yoann Rodière
74d35b2d59
HHH-13580 Ignore LocalTimeTest and OffsetTimeTest's 'nativeWriteThenRead' test for MySQL
...
The returned time is right (otherwise #writeThenRead would fail), it's
just that a different day is returned, but it won't affect the LocalTime
representation manipulated by the user.
2019-09-11 19:38:15 -05:00
Yoann Rodière
8fce51c765
HHH-13580 Use safer ZoneId => TimeZone conversion in AbstractJavaTimeTypeTest
...
We were testing GMT instead of UTC-8 without even knowing it...
2019-09-11 19:38:15 -05:00
Yoann Rodière
f9f6793232
HHH-13580 Fix a copy/paste error in OffsetTimeTest
2019-09-11 19:38:15 -05:00
Yoann Rodière
a580227569
HHH-13582 Ignore LocalDateTest for MySQL
...
MySQL ConnectorJ 8.x returns the wrong date
when the JVM default timezone is different from the server timezone:
https://bugs.mysql.com/bug.php?id=91112
2019-09-11 19:38:15 -05:00
Yoann Rodière
be7cc76556
HHH-13582 Upgrade MySQL Connector/J to 8.0.17
...
ConnectorJ 8 is the version used in WildFly integration tests.
ConnectorJ 5 is apparently no longer tested.
Note this solves most timezone-related issues we've been having.
2019-09-11 19:38:15 -05:00
Andrea Boriero
ea8694ad38
HHH-13611 : Restore EntityMetamodel constructor to take SessionFactoryImplementor argument instead of PersisterCreationContext
2019-09-09 11:00:31 +01:00
Gail Badner
b26ec4e625
HHH-13611 : Restore EntityMetamodel constructor to take SessionFactoryImplementor argument instead of PersisterCreationContext
2019-09-09 09:52:07 +01:00
Gail Badner
2076c68ddf
HHH-13586 : ClassCastException when using a single region name for both entity and query results
2019-09-05 12:49:00 -07:00
Gail Badner
1cb81c0304
HHH-13586 : test case
2019-09-05 12:49:00 -07:00
Steve Ebersole
7ceaf3aaa4
HHH-13607 - Exception thrown while flushing uninitialized enhanced proxy with immutable natural ID
2019-09-04 20:46:22 -07:00
Gail Badner
650b1dec6a
HHH-13607 : Added tests
2019-09-04 20:46:22 -07:00
Gail Badner
148b4b2ed0
HHH-13590 : TransientObjectException merging a non-proxy association to a proxy
2019-09-03 13:03:01 -07:00
Gail Badner
11409ed633
HHH-13590 : test cases
2019-09-03 13:03:01 -07:00
Sanne Grinovero
40b30fa099
HHH-13600 Avoid capturing lambdas in ParameterTranslationsImpl
2019-08-28 11:56:37 +01:00
Sanne Grinovero
c8a36cd961
HHH-13600 Extracting some more constants from loops
2019-08-28 11:56:35 +01:00
Sanne Grinovero
9f71bd890d
HHH-13600 Unguarded log statement in CollectionCacheInvalidator
2019-08-28 11:56:33 +01:00
Sanne Grinovero
86e498f4f7
HHH-13600 Avoid capturing lambdas in AbstractDomainDataRegion construction
2019-08-28 11:56:31 +01:00
Sanne Grinovero
3d715c0ae8
HHH-13600 Extract Alias allocation from loop in AbstractCollectionPersister
2019-08-28 11:56:28 +01:00
Sanne Grinovero
bcbfea7724
HHH-13599 Avoid ArrayList allocation in JtaTransactionCoordinatorImp in common scenario
2019-08-27 18:25:36 +01:00
Sanne Grinovero
44c6f0fa3f
HHH-13595 Remove the invocations to the no-op methods of ConnectionObserver
2019-08-23 15:41:12 +01:00
Sanne Grinovero
db92f7aa00
HHH-13595 Small tuning of JdbcObserverImpl
2019-08-23 15:41:12 +01:00
Sanne Grinovero
c94117cedc
HHH-13595 Deprecate ConnectionObserver
2019-08-23 15:36:54 +01:00
Yoann Rodière
5fc6012449
HHH-13592 Populate AutoFlushEvent#isFlushRequired with the correct value
2019-08-22 12:07:24 -07:00
Yoann Rodière
618a502dac
HHH-13592 Test AutoFlushEvent#isFlushRequired
2019-08-22 12:07:24 -07:00
Sanne Grinovero
9bfffd85d7
HHH-13565 Ensure all events from EventListenerGroup can be fired without allocations
2019-08-22 13:51:36 +01:00
Sanne Grinovero
646a8756a9
HHH-13565 Making SessionFactoryImpl#LockOptions lazily initialized as well
2019-08-22 13:51:36 +01:00
Sanne Grinovero
2de048fde5
HHH-13565 Prepare the most commonly needed SessionBuilder instances in advance
2019-08-22 13:51:36 +01:00
Sanne Grinovero
cc39f54717
HHH-13565 Micro cleanup of Trace level checks
2019-08-22 13:51:36 +01:00
Sanne Grinovero
91299aeb7f
HHH-13565 Remove some dead code from SessionImpl
2019-08-22 13:51:36 +01:00
Sanne Grinovero
b8f3fc3616
HHH-13565 Convert iteration of event listeners to be allocation free
2019-08-22 13:51:36 +01:00
Sanne Grinovero
269d5f8358
HHH-13565 Review allocations for default SessionEventListener instances
2019-08-22 13:51:36 +01:00