I imported the project as a Gradle project and the Run/Debug configuration is listed under
Gradle project: /home/gbadner/git/hibernate-orm-HHH-redo-again/hibernate-entitymanager
Tasks: cleanTest test
VM options: -Dhibernate.jdbc.use_get_generated_keys=false
Script parameters: --tests org.hibernate.jpa.test.query.QueryTest
How do I add db2jcc4.jar as a dependency?
----- Original Message -----
From: "Steve Ebersole" <steve(a)hibernate.org>
To: "Gail Badner" <gbadner(a)redhat.com>, "Hibernate Dev"
Sent: Thursday, June 4, 2015 6:46:24 PM
Subject: Re: [hibernate-dev] How to run master unit test in Intellij with non-default DB
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(a)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
> hibernate-dev mailing list