Christian Beikov
afe9b6744e
Fix HANA test failures
2022-01-05 14:37:50 +01:00
Christian Beikov
de1de9f629
Fix issues with Oracle rownum pagination on Oracle before version 12.2
2022-01-05 14:37:50 +01:00
Christian Beikov
4e29f8d9de
Add table to readme showing how to test with every database
2022-01-05 14:37:50 +01:00
Christian Beikov
2e0a2eea43
Fix issues with multi table values inserts and add optimization for simple values inserts
2022-01-05 14:37:50 +01:00
Christian Beikov
cb5e0b08b9
Fix collation handling for ordering expressions. Fix SqmQuerySpec#setRestriction
2022-01-05 14:37:50 +01:00
Gavin King
bddbb4d287
examples for native functions
2022-01-05 13:16:52 +01:00
Filipe Roque
f64f311c4f
HHH-14985 H2Dialect does not work properly with h2 2.0.202 on inserts
2022-01-05 10:04:17 +01:00
Gavin King
31a795b8c7
quotes not needed for enum values in doc example
2022-01-05 00:42:05 +01:00
Gavin King
e1d1d21a30
move a passage to a place it's easier to find
2022-01-05 00:42:05 +01:00
Gavin King
2d55d9a3a8
document id(), version(), naturalid() functions
2022-01-04 23:07:39 +01:00
Gavin King
5a0537aa04
rough implementation of naturalid() function in HQL
...
and add tests for id(), version(), naturalid()
2022-01-04 23:07:39 +01:00
Gavin King
80b5c1e085
get rid of things named Ejb3
2022-01-04 20:35:39 +01:00
Fabio Massimo Ercoli
ef4b2732d3
Change assertions expecting rownum expression is used
2022-01-04 20:13:00 +01:00
Fabio Massimo Ercoli
3095116bcf
Restore OraclePaginationWithLocksTest test execution
2022-01-04 20:13:00 +01:00
Gavin King
4ae977a41e
disable a test on Sybase
...
(missed this failure)
2022-01-04 18:06:43 +01:00
Gavin King
254d4d0351
correctly handle "weird" function names with periods and quotes in HQL
2022-01-04 18:06:43 +01:00
Gavin King
b1aea5f993
document the existence of quoted identifiers
2022-01-04 16:18:55 +01:00
Gavin King
1934236314
document that you can insert multiple rows with 'values'
2022-01-04 15:05:42 +01:00
Gavin King
ef53b2a2de
make the BNFs more readable
...
and add one for grouped item
2022-01-04 15:05:42 +01:00
Gavin King
008455bc0c
rename some grammar rules and add documentation
...
I want this to be readable to users
2022-01-04 15:05:31 +01:00
Andrea Boriero
9c7d39abf1
Fix broken Session#refresh() method
2022-01-04 09:14:24 +01:00
Gavin King
e27f6af4b9
test demonstrating that refresh() doesn't
2022-01-04 09:14:24 +01:00
Gavin King
ae2b19cbb0
finally rewrite a sentence I wrote close to 20 years ago
...
I almost feel like I shouldn't push this...
2022-01-04 02:39:18 +01:00
Gavin King
59e36c46c4
better documentation for limit and friends
...
with code example
2022-01-04 00:22:57 +01:00
Gavin King
b9a040effb
switch to inconsolata for monospace font
2022-01-03 21:26:03 +01:00
Gavin King
b72e2620c6
remove a strange statement that was simply wrong from the docs
2022-01-03 21:25:50 +01:00
Gavin King
0e55930c75
use more standard whitespace in example code in docs
2022-01-03 21:25:16 +01:00
Gavin King
0f9faf85e5
minor improvements to the beginning part of HQL chapter
2022-01-03 19:39:14 +01:00
Gavin
4e0c131a27
allow parameter in like escape
...
as required by JPQL
2022-01-03 19:06:32 +01:00
Gavin
b55ccabba1
slightly nicer css
2022-01-03 18:39:58 +01:00
Gavin
49d9155f4e
do a much better job of explaining query language concepts
...
and add an example of a union query
2022-01-03 18:39:58 +01:00
Gavin
cf4d2d4338
undocument a fixed limitation
2022-01-03 17:09:18 +01:00
Andrea Boriero
0cf96c09b7
Re-enable additional tests
2022-01-03 14:33:38 +01:00
Gavin King
6f714f16b3
remove unnecessary parens
2022-01-02 18:56:07 +01:00
Gavin King
948eaf7210
more comments on 'fetch join'
...
- and improve a table
- and add BNF for limit/offset and order by
2022-01-02 18:56:07 +01:00
Gavin King
6c28a133dd
enum + Java constant examples
...
+ minor fixes
2022-01-02 16:51:50 +01:00
Gavin King
72889fe861
add some missing functions to docs
2022-01-02 16:10:33 +01:00
Gavin King
fdd1a52e01
promote log10() to standard function status
2022-01-02 16:10:33 +01:00
Gavin King
c48be75d3b
add an examples with treat() ( #4552 )
...
and slightly reorg doc
2022-01-02 15:45:48 +01:00
Gavin King
5ae55d7bfb
redesign 'collate' and add tests
...
* and add tests and documentation for 'collate'
* much better and less-ambiguous syntax for collate(), consistent with cast() and treat()
* reimplement collate() using the function infrastructure
* implement collate() for HSQLDB
This feature was previously untested and at least partially broken, and was making a mess
of the HQL grammar.
2022-01-02 13:39:33 +01:00
Gavin King
4509cad315
at least *mention* treat()
2022-01-02 03:33:08 +01:00
Gavin King
648dac628f
minor fixes to docs
2022-01-02 03:33:08 +01:00
Gavin King
de7aaa88dc
clean up sample BNFs
2022-01-01 23:52:27 +01:00
Gavin King
9edcf6b0c0
moar tables
2022-01-01 23:52:27 +01:00
Gavin King
a61ffbfea7
fix insert ... values (...) statements
...
they break when using a MultiTableInsertQueryPlan, but we probably don't need one
2022-01-01 23:52:27 +01:00
Gavin King
cb787e87a8
mention OffsetDateTime in lterals
2022-01-01 23:52:27 +01:00
Gavin King
ec6540ea56
get rid of useless headings on sample code fragments
2022-01-01 23:52:27 +01:00
Gavin King
0966c7be1d
more HQL doc rewriting
...
much better documentation for HQL statement types
rewrite section on predicates and logical operators
rewrite from/join section
stop shouting so much
document that H6 auto-removes non-distinct entity results
document limit/offset
document set operators and 'cross join'
slight reorg of Query API chapter, and new title
use "ordinal" instead of "positional" for parameters
2022-01-01 23:52:27 +01:00
Gavin King
df72d7db3d
reenable some LiteralTests
2022-01-01 23:36:21 +01:00
Gavin King
f9afab5492
minor cleanups to the grammar
...
- simplify two rules that were unnecessarily flexible
- remove useless parens
- rename some rules for readability
- clean up some warnings in SemanticQueryBuilder
2022-01-01 22:31:28 +01:00