[hibernate-dev] How to run master unit test in Intellij with non-default DB

Gail Badner gbadner at redhat.com
Thu Jun 4 20:00:16 EDT 2015


For 4.3 and before, when running a unit test in Intellij using a non-default DB, I would simply add the JDBC jar as a module dependency and then add the hibernate-specific properties (e.g., for dialect, etc) as VM options in the Run/Debug configuration. 

This doesn't work for master because the added dependency is not getting picked up.

Is there some other way to do this without messing with build.gradle or libraries.gradle?

Thanks,
Gail


More information about the hibernate-dev mailing list