Commit Graph

7226 Commits

Author SHA1 Message Date
Jan-Willem Gmelig Meyling
becbbc0ee7
Merge pull request #2335 from rdicroce/cursor_fix
Fix bugs in EclipseLinkHandler#iterate()
2020-07-27 22:52:17 +02:00
Jan-Willem Gmelig Meyling
4204626478
Merge pull request #2562 from jwgmeligmeyling/issue/2561
Support generic query type mappings in TypeMapping (fixes #2561)
2020-07-27 22:47:15 +02:00
Jan-Willem Gmelig Meyling
32ad073481
Merge pull request #2573 from jwgmeligmeyling/issue/2572
Let TypeCategory.ENTITY take precedence over COMPARABLE, fixes #2572
2020-07-27 22:46:54 +02:00
Jan-Willem Gmelig Meyling
00b1a19630
Merge pull request #2604 from jwgmeligmeyling/hibernate-5-support
Hibernate 5 Support
2020-07-27 22:45:02 +02:00
John Tims
a12bc5b65c
Merge pull request #2453 from coder-hugo/feature/keep-nanosecond
Do not truncate the nanoseconds of java 8 timestamps
2020-06-26 07:57:43 -06:00
John Tims
8c26754497
Merge pull request #2521 from kartoffelsup/catalog_name
[querydsl-sql-codegen] Allow setting a catalogPattern in MetaDataExporter
2020-06-26 07:55:12 -06:00
Rich DiCroce
18b0920c47 Fix checkstyle errors 2020-06-15 14:49:37 -04:00
Rich DiCroce
9080a307ba Fix bugs when using a cursor with EclipseLink:
- Some environments (e.g. WildFly) wrap the Query, causing the
instanceof check to fail, which prevents a cursor from being used. Fix
this by unwrapping the Query first.

- Telling EclipseLink to use a scrollable cursor, then telling it to use
a result set type of FORWARD_ONLY, makes no sense and causes the SQL
Server JDBC driver to throw an exception. Fix this by using a regular
CursoredStream instead.

- The original code never tells EclipseLink to release objects, causing
any benefit from using a cursor to be lost since all objects are
retained until the cursor is closed. Fix this by releasing objects after
completing each page.
2020-06-15 14:49:36 -04:00
John Tims
426baeec6d
Merge pull request #2609 from johnktims/guice-h2-mem
Convert querydsl-example-sql-guice to use h2 memory db
2020-06-03 14:16:53 -06:00
John Tims
f7bbee1c8a Convert querydsl-example-sql-guice to use h2 memory db 2020-06-03 09:04:55 -06:00
John Tims
7aca02c288
Merge pull request #2608 from johnktims/remove-scala-test-branch
Run scala tests with the rest of the tests
2020-06-03 07:43:59 -06:00
John Tims
63d397ec42 Run scala tests with the rest of the tests 2020-06-03 06:56:39 -06:00
John Tims
ea3efae5d5 Querydsl 4.4.0-SNAPSHOT 2020-06-03 06:45:31 -06:00
John Tims
62f26bdc57
Merge pull request #2553 from darrenfoong/apt-persistence-api
Change scope of hibernate-jpa-2.0-api to compile
2020-06-01 16:43:25 -06:00
John Tims
700333a904
Merge pull request #1590 from querydsl/i1411-oracle-datediff
Fix Oracle datediff
2020-05-31 16:46:17 -06:00
Jan-Willem Gmelig Meyling
8cd82e8792 Hibernate 5 Support 2020-06-01 00:36:15 +02:00
John Tims
b9363a4433
Merge pull request #2603 from johnktims/cubrid-firebird-tests
Run Cubrid and firebird tests
2020-05-31 16:28:41 -06:00
John Tims
b41ca3d63e
Run Firebird tests in CI 2020-05-31 09:52:36 -06:00
John Tims
63a8237474 Exclude addMonths test for Oracle 2020-05-31 08:49:45 -06:00
John Tims
4c6aa2b21f Run tests against firebird 2020-05-31 08:48:51 -06:00
John Tims
d0c7dec53b Add cubrid health check 2020-05-31 07:26:36 -06:00
John Tims
8373d48624 Run tests against cubrid 2020-05-31 06:35:34 -06:00
John Tims
2c43f78e47 Create demodb when cubrid starts 2020-05-31 06:35:14 -06:00
Kartoffelsup
1fe23e506e Allow setting a catalogPattern in MetaDataExporter
In order to extract data from multiple MySQL/MariaDB databases
which do not support schemas.

ref: https://jira.mariadb.org/browse/CONJ-16?focusedCommentId=29425&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-29425

Signed-off-by: Kartoffelsup <kartoffelsup@users.noreply.github.com>
2020-05-30 17:33:28 +02:00
John Tims
7e49a4c6e1
Merge pull request #2297 from ArloL/fix-2296
Use return type of ExecutableElement. Fixes #2296
2020-05-30 06:23:46 -06:00
John Tims
f80735ba73
Merge pull request #2602 from querydsl/jrodalo-i2294
Don't add @NotNull on columns with default value. #2294
2020-05-30 05:56:45 -06:00
John Tims
0983a5923b
Merge pull request #2601 from querydsl/remove-additional-hibernate5-testing
Remove additional testing for hibernate 5
2020-05-30 05:25:33 -06:00
John Tims
64f4ecd1bf Add tests for validation annotations 2020-05-29 16:19:22 -06:00
Jose
bf2190978f Don't add @NotNull on columns with default value
If a column on the DB has a default value it shouldn't add a @NotNull annotation on the exported Bean.
2020-05-29 12:46:10 -06:00
John Tims
70afee9084 Remove additional testing for hibernate 5
Hibernate 5 is now the default.
2020-05-29 06:29:37 -06:00
Robin Müller
9b4d8f576c Do not truncate the nanoseconds of java 8 timestamps 2020-05-29 14:02:19 +02:00
Robin Müller
5a4803a2cd Adapt tests to ensure that nano seconds aren't truncated 2020-05-29 14:02:19 +02:00
John Tims
633286b712 Fix datediff for Oracle 2020-05-29 05:59:33 -06:00
John Tims
fb75ababf4
Merge pull request #2599 from querydsl/oracle-tests
Run tests against Oracle
2020-05-29 05:08:56 -06:00
John Tims
83c5a09459 Run tests against oracle 2020-05-28 12:19:13 -06:00
John Tims
53a7e193b7 Update reference to oracle docker image 2020-05-28 11:24:01 -06:00
John Tims
1a97e8e8d2
Merge pull request #2598 from querydsl/Danepic-null-expression
NullExpression with type
2020-05-28 08:44:21 -06:00
John Tims
58cb9561f4
Merge pull request #2597 from querydsl/pr-2419
fix for mssql table hints on joins
2020-05-28 08:12:44 -06:00
John Tims
c038ffcded Merge branch 'null-expression' of git://github.com/Danepic/querydsl into Danepic-null-expression 2020-05-28 08:06:30 -06:00
John Tims
e7aa5c7ece Update build badge 2020-05-28 07:47:54 -06:00
John Tims
69e74783f0
Merge pull request #2421 from khauser/FB_EnableJPAInsertClause
added JPAInsertClause
2020-05-28 07:19:49 -06:00
frkator
19dfa725d4 fix for mssql table hints on joins 2020-05-28 06:14:15 -06:00
John Tims
520bd24a2f
Merge pull request #2595 from johnktims/sql-server-tests
Run tests against SQL Server
2020-05-28 05:24:43 -06:00
John Tims
4d7f485663 Give sqlserver and db2 more time to initialize 2020-05-27 15:39:37 -06:00
John Tims
47b488f1e8 Run tests against sqlserver 2020-05-27 15:27:51 -06:00
John Tims
3d10badddf
Merge pull request #2594 from johnktims/fix-db2-startup
Fix db2 startup
2020-05-27 11:11:34 -06:00
John Tims
f82ee575cc Wait for slow containers to start 2020-05-27 10:32:51 -06:00
John Tims
0f3ba7b59a Fix db2 health check 2020-05-27 08:54:27 -06:00
John Tims
a7a5694176 Improve Github Actions matrix so we only pull containers when we need to 2020-05-27 07:10:39 -06:00
John Tims
c0cf15d1b1
Merge pull request #2373 from yorlov/master
Replace 'while' and 'for' loop to 'foreach'
2020-05-27 06:52:08 -06:00