postgresql-embedded icon indicating copy to clipboard operation
postgresql-embedded copied to clipboard

How to use lib with hibernate

Open acmesquita opened this issue 7 years ago • 1 comments

Hello,

I using this lib and I don't know how setting with hibernate, you can help me with this configuration?

acmesquita avatar Jan 19 '18 13:01 acmesquita

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.

poxu avatar Aug 23 '18 07:08 poxu