Title: Change getSingleResult by Hk-tang · Pull Request #460 · javaee-samples/javaee7-samples · GitHub
Open Graph Title: Change getSingleResult by Hk-tang · Pull Request #460 · javaee-samples/javaee7-samples
X Title: Change getSingleResult by Hk-tang · Pull Request #460 · javaee-samples/javaee7-samples
Description: query.getSingleResult() causes an exception could be thrown if there is not exactly one row returned. Although this commit does not implement logic on how to decide which result in the result list should be taken, this removes the potential exception/need for a try/catch. Implementation on how to decide which result to take should be made per context.
Open Graph Description: query.getSingleResult() causes an exception could be thrown if there is not exactly one row returned. Although this commit does not implement logic on how to decide which result in the result list ...
X Description: query.getSingleResult() causes an exception could be thrown if there is not exactly one row returned. Although this commit does not implement logic on how to decide which result in the result list ...
Opengraph URL: https://github.com/javaee-samples/javaee7-samples/pull/460
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:684bcab1-27cf-dd05-3019-3ba438cee8b9 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D1F6:10D6B7:1FA5BEA:2A0F8D0:69705C61 |
| html-safe-nonce | ef4fd3ecc3fa0fd6a092c6b9aa3995fbd9e86d948f31470d67e020d69a7892a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUY2OjEwRDZCNzoxRkE1QkVBOjJBMEY4RDA6Njk3MDVDNjEiLCJ2aXNpdG9yX2lkIjoiNDg5NDg2ODg1MTk5NzU2NDAwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d387d9abb83ca9e4623c629391b2931d9aea83196018b6954af8a37fdca2d223 |
| hovercard-subject-tag | pull_request:392511824 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/javaee-samples/javaee7-samples/pull/460/checks |
| twitter:image | https://avatars.githubusercontent.com/u/22646662?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22646662?s=400&v=4 |
| og:image:alt | query.getSingleResult() causes an exception could be thrown if there is not exactly one row returned. Although this commit does not implement logic on how to decide which result in the result list ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/javaee-samples/javaee7-samples git https://github.com/javaee-samples/javaee7-samples.git |
| octolytics-dimension-user_id | 6052086 |
| octolytics-dimension-user_login | javaee-samples |
| octolytics-dimension-repository_id | 12414592 |
| octolytics-dimension-repository_nwo | javaee-samples/javaee7-samples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12414592 |
| octolytics-dimension-repository_network_root_nwo | javaee-samples/javaee7-samples |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width