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

Steve Ebersole steve at hibernate.org
Thu Jun 4 21:46:24 EDT 2015


I would assume you are using the "Run with Gradle" stuff in IntelliJ rather
than the normal "Run it in IntelliJ" stuff

On Thu, Jun 4, 2015 at 7:01 PM Gail Badner <gbadner at redhat.com> wrote:

> 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
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list