postgresql-embedded
postgresql-embedded copied to clipboard
How to use lib with hibernate
Hello,
I using this lib and I don't know how setting with hibernate, you can help me with this configuration?
Well, first you should start EmbeddedPostgres with specified login, password and port . And then you just give those to Hibernate, like you always do. Just make sure EmbeddedPostgres starts before Hibernate does. I use Spring for that.