on 04-12-2021 10:44 AM
I am referring to URL:
https://cap.cloud.sap/docs/releases/changelog/
Please get back to me on the following feedback:
I've upgraded my project to compiler V2 and met a lot of problems.
The change log (https://cap.cloud.sap/docs/releases/changelog/) says:
[cds-compiler@2.1.0] to.sql:
Changed type mappings for --dialect=sqlite:
But DATE_TEXT is not a valid type in H2 database! As the doc (https://cap.cloud.sap/docs/java/development/#h2) mentions, the H2 database is supported at development. But obviously it's not.
How should I generate my schema.sql using another dialect, e.g. H2?
This is the same issue as you reported in https://answers.sap.com/questions/13339498/h2-database-is-still-not-supported-at-development.html. Please see my answer there.
Check out this PR for reference of using H2 in a CAP Java application: https://github.com/SAP-samples/cloud-cap-samples-java/pull/77
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.