Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated hibernate with schema export to automatically initialise db #3

Merged
merged 1 commit into from Jun 8, 2021

Conversation

agschnitzer
Copy link
Owner

Added dependency to scan for packages
Added beans for entity manager factory, session factory and transaction manager
Added getters to database properties
Simplified lookup of current context
Removed unnecessary application properties
Removed sample data for now
Updated tests
Updated README.md

Added dependency to scan for packages
Added beans for entity manager factory, session factory and transaction manager
Added getters to database properties
Simplified lookup of current context
Removed unnecessary application properties
Removed sample data for now
Updated tests
Updated README.md
@agschnitzer agschnitzer added the enhancement New feature or request label Jun 8, 2021
@agschnitzer agschnitzer self-assigned this Jun 8, 2021
@agschnitzer agschnitzer linked an issue Jun 8, 2021 that may be closed by this pull request
@agschnitzer agschnitzer merged commit d971c80 into main Jun 8, 2021
@agschnitzer
Copy link
Owner Author

Hibernate still creates an external sql file but only if it doesn't exist. It isn't necessary to change settings in the application properties. Overall now a much cleaner configuration.

@agschnitzer agschnitzer deleted the feature-2-hibernate-init-db branch June 8, 2021 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using Hibernate to initialise databases
1 participant