Title: Creating initial database from multiple SQL files · Issue #228 · javaee-samples/javaee7-samples · GitHub
Open Graph Title: Creating initial database from multiple SQL files · Issue #228 · javaee-samples/javaee7-samples
X Title: Creating initial database from multiple SQL files · Issue #228 · javaee-samples/javaee7-samples
Description: When creating a Java EE application with integration tests, a database often needs to be bootstrapped. Current examples seem to use a single SQL file referenced from persistence.xml using the javax.persistence.schema-generation.create-sc...
Open Graph Description: When creating a Java EE application with integration tests, a database often needs to be bootstrapped. Current examples seem to use a single SQL file referenced from persistence.xml using the javax...
X Description: When creating a Java EE application with integration tests, a database often needs to be bootstrapped. Current examples seem to use a single SQL file referenced from persistence.xml using the javax...
Opengraph URL: https://github.com/javaee-samples/javaee7-samples/issues/228
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Creating initial database from multiple SQL files","articleBody":"When creating a Java EE application with integration tests, a database often needs to be bootstrapped. Current examples seem to use a single SQL file referenced from persistence.xml using the javax.persistence.schema-generation.create-script-source property. \n\nHowever, in practice database schema evolves and it is a common practice to apply these changes to production environments using a series of SQL files representing each change (e.g., using c5-db-migration plugin). Maintaining different SQLs for test purposes and another for production purposes is obviously redundant and error prone. Thus, I will like to see an example a JavaEE app that can populate a test/in-memory database using such list of SQL files. \n","author":{"url":"https://github.com/coderoute","@type":"Person","name":"coderoute"},"datePublished":"2014-06-12T15:43:56Z","url":"https://github.com/javaee-samples/javaee7-samples/issues/228"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:edb11d05-b66a-0a2a-99d5-81adc5f3617a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 991C:157C65:3021FF5:403790F:6B01E907 |
| html-safe-nonce | dd8322238a511ffc69597f2391ebaa13f393d73db313c70f654f2ede0a0df529 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTFDOjE1N0M2NTozMDIxRkY1OjQwMzc5MEY6NkIwMUU5MDciLCJ2aXNpdG9yX2lkIjoiMzI0MjQwMzk3MzY4OTQ0OTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2b6e75720e7a18f0aac3befea3faf623363adbda34027e7d59ec0b0e3533180c |
| hovercard-subject-tag | issue:35596332 |
| 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/javaee-samples/javaee7-samples/228/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e2ec4243a1d5aa5c60dfaedc5b8b6baff3273f53115b3cafe1ba2cf61f3db84f/javaee-samples/javaee7-samples/issues/228 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e2ec4243a1d5aa5c60dfaedc5b8b6baff3273f53115b3cafe1ba2cf61f3db84f/javaee-samples/javaee7-samples/issues/228 |
| og:image:alt | When creating a Java EE application with integration tests, a database often needs to be bootstrapped. Current examples seem to use a single SQL file referenced from persistence.xml using the javax... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | coderoute |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width