Commit Graph

13522 Commits

Author SHA1 Message Date
Gavin King 385cba79d8 remove PowerReturnTypeResolver
You can't do "exact decimal" exponentiation. For the same reason that
sqrt() is of type Double in the JPA, pow(decimal, 0.5) is also of type
Double.

Yes, yes, I know that some dbs (Postgres!) claim that the return type is
NUMERIC for NUMERIC arguments. But go on, try it: yes, the return type of
typed NUMERIC, but then it has a very suspicious number of digits. Hrrm....
17 decimal digits, now why does that specific number ring a bell?
2022-01-31 11:29:24 +01:00
Gavin King 5b5c76abfd fill in type parameters of raw type in Type interface 2022-01-30 19:28:24 +01:00
Gavin King 1b0862babd introduce Contexts for the other cascading operations that need them
and typesafety, finally!
2022-01-30 19:28:24 +01:00
Gavin King 7570d15291 finally fix the warnings and typecasts in DefaultMergeEventListener
by using MergeContext instead of (raw!) Map
2022-01-30 19:28:24 +01:00
Gavin King b75613cff1 edit the (excellent) javadoc of MergeContext 2022-01-30 19:28:24 +01:00
Gavin King 772c4533ee move inner classes of CommonFunctionFactory to toplevel 2022-01-30 19:01:36 +01:00
Gavin King 6f3592ac25 Streams are no longer closed by terminal operations
This is no longer true, according to H6 migration guide, so undocument it
2022-01-30 18:35:08 +01:00
Gavin King 8025af7592 add some code comments documenting some decisions taken here
cc @beikov
2022-01-30 16:58:24 +01:00
Gavin King 99e43537c1 fix a couple of minor errors in doc 2022-01-30 06:21:53 +01:00
Gavin King 1188c6e628 Use a table instead of a list 2022-01-29 20:01:20 +01:00
Gavin King b2a929a46e fix quoting 2022-01-29 19:42:59 +01:00
Gavin King f5278ce678 javadoc about XML format mappings 2022-01-29 19:18:38 +01:00
Gavin King 9a11e843e6 stop calling factory.getJdbcServices().getDialect() so much 2022-01-29 18:00:39 +01:00
Gavin King 48dc4662ef move subclassColumnClosure down to the only subclass that uses it 2022-01-29 17:46:42 +01:00
Gavin King 135216b0a9 fix some warnings in a couple of tests 2022-01-29 17:01:57 +01:00
Gavin King 56232a0159 remove a bunch of unused junk from the persisters
this is a potential performance gain!
2022-01-29 17:01:57 +01:00
Gavin King 929cbd1139 add missing @Override annotations 2022-01-29 17:01:57 +01:00
Gavin King 38f4c70e7b split up TypeHelper 2022-01-29 12:55:27 +01:00
Gavin King 6c3b74d39e clean up an important test 2022-01-29 11:16:20 +01:00
Gavin King e8d7c98798 deprecate two operations that are no longer called
... and return deprecated types
2022-01-29 11:15:55 +01:00
Gavin King ea36099571 fix some deprecation warnings by using getValues() instead of getPropertyValues()
though I don't like the underlying deprecation that made this necessary, and I
would prefer to be able to roll back these changes
2022-01-29 10:58:37 +01:00
Gavin King 678adbf682 add some missing (since = "6.0") 2022-01-29 10:55:50 +01:00
Gavin King 3f1cc36c2a fix some warnings in QueryResultsCacheImpl 2022-01-29 10:48:23 +01:00
Gavin King d86e9b6ab6 minor stylistic review and generics fixes in event stuff 2022-01-29 10:32:49 +01:00
Gavin King c086fff1f8 fix some warnings in a couple of tests 2022-01-29 09:00:14 +01:00
Gavin King c807aecdb9 add some @FunctionalInterface annotations
and fix a warnings
2022-01-29 08:59:34 +01:00
Gavin King 232ad00f5c add some missing (since="6.0") 2022-01-29 08:57:25 +01:00
Gavin King cd7417e815 remove unwrap() methods that aren't to do with proxying
it's better to do this stuff in a more typesafe way
2022-01-29 02:12:44 +01:00
Gavin King 2e2a544584 correct fix for Interceptor.onSave()
see 9898151dda

This change broke the ability to selectively implement methods of Interceptor,
and also broke backwards compatibility with older implementations of Interceptor.
2022-01-29 02:12:25 +01:00
Gavin King 2090df4a08 fix some raw types in Configuration 2022-01-29 02:12:25 +01:00
Gavin King 9276ce4421 explain how to get things in the javadoc 2022-01-29 00:43:08 +01:00
Gavin King f388b2fb2b Javadoc for SessionFactoryBuilder and lots of crossrefs 2022-01-28 19:46:39 +01:00
Gavin King 77137f7407 remove type parameter from BasicValueBinder
why it ever had one, I can only speculate
2022-01-28 17:25:16 +01:00
Gavin King fb1650f789 refresh Javadoc for Configuration and friends 2022-01-28 17:16:59 +01:00
Andrea Boriero b1a09d5630 Fix Criteria#getResultType() returning Object class instead of null 2022-01-28 16:51:00 +01:00
Gavin King 475d028981 remove @TimeZoneColumn for now because it's unimplemented
and there's no plan to implement it for 6.0

(we can put it back later if someone gets around to implementing it)
2022-01-28 16:01:58 +01:00
Gavin King 5f1358633d remove a deprecation that was probably an accident 2022-01-28 14:05:09 +01:00
Gavin King d4f934881c fix some warnings and other misc cleanups to .cfg package 2022-01-27 22:08:39 +01:00
Gavin King e80892b77f fix typo 2022-01-27 20:31:05 +01:00
Andrea Boriero f9141ecb5a Add additional test 2022-01-27 20:10:24 +01:00
Gavin King 6bfa8d6c27 fix disabling of fk in @ManyToOne associations 2022-01-27 19:44:32 +01:00
Gavin King abe0cc3108 javadoc for @NotFound and NotFoundAction 2022-01-27 19:39:36 +01:00
Gavin King 0a251e9a0e second round of binder cleanup: CollectionBinder, more AnnotationBinder 2022-01-27 18:13:09 +01:00
Gavin King 13b00f8907 massive cleanup of AnnotationBinder 2022-01-27 18:13:09 +01:00
Christian Beikov 9a22e615f5 Do not eagerly create a table group for implicit joins 2022-01-27 18:10:18 +01:00
Hibernate-CI 3df3d37dbd Post-steps for release : `6.0.0.CR1` 2022-01-27 15:22:20 +00:00
Hibernate-CI 6b37a21c28 Pre-steps for release : `6.0.0.CR1` 2022-01-27 15:17:31 +00:00
Steve Ebersole 67fbab36bb list v. bag - javadoc, migration guide 2022-01-27 08:49:58 -06:00
Christian Beikov 32f493e74c Fix remaining tests 2022-01-27 07:25:45 -06:00
Steve Ebersole 31bc14979b move remaining tests from o.h.test to o.h.orm.test 2022-01-26 23:16:16 -06:00