Title: Question - using this lib to generate SQL strings · Issue #1 · ebean-orm-examples/example-java11 · GitHub
Open Graph Title: Question - using this lib to generate SQL strings · Issue #1 · ebean-orm-examples/example-java11
X Title: Question - using this lib to generate SQL strings · Issue #1 · ebean-orm-examples/example-java11
Description: I am using Vert.x - I need to use an async db driver, but I was thinking of using this library to generate the query strings and then passing the strings to another lib to run the query. So instead of doing this: List
Open Graph Description: I am using Vert.x - I need to use an async db driver, but I was thinking of using this library to generate the query strings and then passing the strings to another lib to run the query. So instead...
X Description: I am using Vert.x - I need to use an async db driver, but I was thinking of using this library to generate the query strings and then passing the strings to another lib to run the query. So instead...
Opengraph URL: https://github.com/ebean-orm-examples/example-java11/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question - using this lib to generate SQL strings","articleBody":"I am using Vert.x - I need to use an async db driver, but I was thinking of using this library to generate the query strings and then passing the strings to another lib to run the query.\r\n\r\nSo instead of doing this:\r\n\r\n```java\r\nList\u003cCustomer\u003e customers\r\n = new QCustomer()\r\n .name.istartsWith(\"rob\")\r\n .billingAddress.city.equalTo(\"Auckland\")\r\n .setMaxRows(10)\r\n .orderBy()\r\n .name.asc()\r\n .findList();\r\n```\r\n\r\nI am looking to just grab the SQL string:\r\n\r\n```java\r\nString query\r\n = new QCustomer()\r\n .name.istartsWith(\"rob\")\r\n .billingAddress.city.equalTo(\"Auckland\")\r\n .setMaxRows(10)\r\n .orderBy()\r\n .name.asc()\r\n .getSQLStatement(); // not sure what call to use\r\n```\r\n\r\nis this possible? Looking for an example, thanks","author":{"url":"https://github.com/ORESoftware","@type":"Person","name":"ORESoftware"},"datePublished":"2019-02-12T06:14:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/example-java11/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5fbf392d-cf65-e249-72c0-8138ffc0f5cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 889E:30E6E5:87EA98:B95ADA:696A839F |
| html-safe-nonce | 6b86fc476817e72d8123561f2eda8501d30b7c790724850e562f3fa7457e37ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODlFOjMwRTZFNTo4N0VBOTg6Qjk1QURBOjY5NkE4MzlGIiwidmlzaXRvcl9pZCI6IjkyMjI1ODYyMDk5MzIwNTEzNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b08361b74dbce86b7f8e095157a947f08578bbe7e6fec420a3b5a72b40e66ad0 |
| hovercard-subject-tag | issue:409137261 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ebean-orm-examples/example-java11/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d3b13c307826d506e1bcfe02f89684014e531f662661ea1ffe0738348845616/ebean-orm-examples/example-java11/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d3b13c307826d506e1bcfe02f89684014e531f662661ea1ffe0738348845616/ebean-orm-examples/example-java11/issues/1 |
| og:image:alt | I am using Vert.x - I need to use an async db driver, but I was thinking of using this library to generate the query strings and then passing the strings to another lib to run the query. So instead... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ORESoftware |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| turbo-cache-control | no-preview |
| go-import | github.com/ebean-orm-examples/example-java11 git https://github.com/ebean-orm-examples/example-java11.git |
| octolytics-dimension-user_id | 18057762 |
| octolytics-dimension-user_login | ebean-orm-examples |
| octolytics-dimension-repository_id | 156139567 |
| octolytics-dimension-repository_nwo | ebean-orm-examples/example-java11 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 156139567 |
| octolytics-dimension-repository_network_root_nwo | ebean-orm-examples/example-java11 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width