Christian Beikov
fa89e3e5fa
HHH-15531 Use dense_rank instead of row_number when query uses distinct
2022-10-06 08:37:15 +02:00
Christian Beikov
5f2d5e3938
HHH-15578 Add min/max emulation for uuid on PostgreSQL
2022-10-05 11:44:52 +02:00
Christian Beikov
12df6317ec
HHH-15548 Fix schema validation issues on PostgreSQL with Instant type
2022-10-04 16:21:58 +02:00
Gavin King
6e94b35ee1
HHH-15549 remove mapping of NUMBER(1,0) to BOOLEAN on Oracle
...
This just seems wrong to me. We have no way to say that a NUMBER(1,0)
column isn't a single-digit number.
Simplify the other mappings for NUMBER(n,0).
2022-10-02 12:12:33 +02:00
Gavin King
04302caba0
fix SqlTypes.LONG32VARXXXX types and add a test
...
also fix a bug in initialization of JdbcTypeFamilyInformation
fix incorrect mapping for "long" types on Derby
use default for nicer-looking switch statements
improve some Javadoc
2022-10-01 12:57:30 +02:00
Jan Schatteman
bb5aa62927
HHH-15487 - Remove support for PostgreSQL versions older than 10
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-21 19:57:32 +02:00
Jan Schatteman
89a98f2dc7
HHH-15489 - Remove support for Oracle versions older than 11.2
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-21 17:52:03 +02:00
Jan Schatteman
4f9ff5cfd1
HHH-15511 - fix version determination also for the CockroachDB legacy dialect
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-20 17:59:17 +02:00
Jan Schatteman
e0e85c3398
HHH-15490 - Remove support for HSQLDB versions older than 2.6.1
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-20 08:58:37 +02:00
Gavin King
7740121449
clean up old code + deprecate LockOptions.getAliasLockIterator()
2022-09-16 13:21:44 +02:00
Jan Schatteman
3dec1ca4dc
HHH-15447 - Remove references to deprecated dialects
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-12 16:05:00 +02:00
Jan Schatteman
ec49356c77
HHH-15181 / HHH-15197 / HHH-15198
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-07 17:00:57 +02:00
Jan Schatteman
11fb9440ef
HHH-15192 - Remove support for Sybase ASE versions older than 16
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-07 16:51:57 +02:00
Jan Schatteman
17fa97d1b0
HHH-15182 - Remove support for MariaDB versions older than 10.3
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-06 15:04:04 +02:00
Jan Schatteman
5b0b1fa680
HHH-15179 - Move support for MySQL versions older than 5.7 into community dialects
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-06 15:04:04 +02:00
Jan Schatteman
429ab5b936
HHH-15180 - Remove support for SQL Server versions older than 2008
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-06 14:49:45 +02:00
Jan Schatteman
75f4c95274
HHH-15195 - Moving support for CockroachDB versions older than 21.1 into community dialects
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-06 14:48:04 +02:00
Jan Schatteman
f33d3ed308
HHH-15190 - Remove support for H2 versions older than 1.4.197
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-06 14:45:37 +02:00
Jan Schatteman
4d4aaf3b4a
HHH-15191 - Remove support for Derby versions older than 10.14.2.0
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-05 10:06:41 +02:00
Christian Beikov
271cba0603
HHH-15461 Replace uses of method references for SqlAppender with proper implementation
2022-08-25 09:43:48 +02:00
Sanne Grinovero
e6fdafc393
HHH-15408 QueryEngine to be more defensive with passed parameters
2022-07-20 21:58:15 +01:00
Christian Beikov
a9d1035806
Do some renaming for consistency and update documentation for new SQL types
2022-03-29 19:31:53 +02:00
Christian Beikov
063a13c8a3
Get rid of some NotYetImplementedFor6Exception uses
2022-03-29 14:03:49 +02:00
Christian Beikov
fa750a9c26
Make LONGX types synonyms for X types again and remove unnecessary case labels
2022-03-08 21:59:49 +01:00
Christian Beikov
2c80250b0e
Replace typeNames in Dialect with SqlType and SqlTypeRegistry that dialects contribute into
2022-03-08 21:59:49 +01:00
Christian Beikov
e9b3066f93
Add sql type name and size information to selectable mapping
2022-03-03 10:34:26 +01:00
Christian Beikov
dc6ad33cfc
HHH-10463 Implement function argument type inference
2022-02-15 09:04:50 +01:00
Christian Beikov
5828536428
Implement window function support in HQL
2022-02-09 18:32:27 +01:00
Gavin King
d0255d2c2b
make CommonFunctionFactory a real object
2022-02-01 18:21:55 +01:00
Christian Beikov
0509b10040
Implement support for ordered set-aggregate functions like listagg, percentile_disc, rank etc.
2022-02-01 13:38:32 +01:00
Christian Beikov
af42f3a76c
Allow controlling whether selection item deduplication should happen and disable deduplication in subqueries. Remove some dead code and fix a possible NPE. Expose some JdbcOperation fields for libraries to make it easy to produce a derived operation.
2022-01-31 16:55:59 +01:00
Andrea Boriero
b9d4a74693
Fix rendering of negated boolean expression predicate
2022-01-26 13:52:12 -06:00
Steve Ebersole
7b00d3ce78
Migrate internal uses of `MetamodelImplementor` (deprecated) to instead use `MappingMetamodel`
2022-01-25 20:22:29 -06:00
Gavin King
e51c210d78
squash lots of warnings in services
...
change the raw Map representation of config properties to Map<String,Object>
2022-01-25 21:04:50 +01:00
Steve Ebersole
2b5a5fc196
api, spi, internal, deprecation
...
org.hibernate.query package
2022-01-21 13:27:11 -06:00
Gavin King
329b2fc9c4
remove hibernate.jdbc.use_streams_for_binary config property
...
this should be handled by the Dialects
2022-01-21 16:52:09 +01:00
Christian Beikov
445cedfec7
Cleanup the naming of JavaDescriptor and JavaTypeDescriptor to align with the new naming JavaType
2022-01-20 16:01:02 +01:00
Christian Beikov
c284315931
Add validation for format function and remove `aa` format as no database supports long/short AM/PM markers
2022-01-18 15:18:01 +01:00
Andrea Boriero
b8fab567cc
Fix CriteriaBuidler#locate() arguments order rendering
2022-01-18 13:10:24 +01:00
Andrea Boriero
9e7a091d67
Fix CriteriaBuidler#locate() arguments order rendering
2022-01-17 18:39:01 +01:00
Steve Ebersole
9fe3c861ca
HHH-15023 - Move Query and NativeQuery back to org.hibernate.query
2022-01-14 14:49:17 -06:00
Steve Ebersole
fda6e96c5e
HHH-15023 - Move Query and NativeQuery back to org.hibernate
2022-01-11 21:01:56 -06:00
Gavin King
aef951f279
move some function arg typechecking up to the SQM phase
...
this is where it needs to be for checking of named queries at startup
and for any checks that happen in an IDE or at build time
2022-01-06 18:10:00 +01:00
Gavin King
cc91beb536
typecheck HQL function arguments
2022-01-06 18:10:00 +01:00
Gavin King
8adc1d8d70
use @code instead of <tt> in Javadoc
2021-12-27 07:31:15 -06:00
Christian Beikov
aec5ce9d8a
Move some more tests and fix H2 tuple comparison issues
2021-12-23 18:51:13 +01:00
Christian Beikov
fb30206387
Add emulation for simple lateral joins and make use of lateral joins for min/max index/element paths if possible
2021-12-18 05:12:36 -06:00
Christian Beikov
1988ffa310
Support lateral joins by introducing a lateral flag in TableGroupJoin and add a FunctionTableReference for table valued functions
2021-12-18 05:12:36 -06:00
Christian Beikov
b75277b421
Split TableReference class into interface and NamedTableReference implementation to allow QueryPartTableReference and ValuesTableReference to fit into the picture
2021-12-18 05:12:36 -06:00
Gavin King
bc65526c77
clean up the Dialect-specific default property handling
2021-12-16 15:58:47 +01:00