[
https://issues.apache.org/jira/browse/DBUTILS-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682781#action_12682781
]
Sebb commented on DBUTILS-53:
-----------------------------
Here is a sample dependency that adds the embedded jar:
{code}
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.4.2.0</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
{code}
I've found that the connection string needs to look something like:
jdbc:derby:directory:target/testdb;create=true
This will create the database under the target directory.
> Set Derby up as a unit test database
> ------------------------------------
>
> Key: DBUTILS-53
> URL: https://issues.apache.org/jira/browse/DBUTILS-53
> Project: Commons DbUtils
> Issue Type: Task
> Reporter: Henri Yandell
>
> Or hsqldb. I used Derby for Taglibs to test the sql tags and it worked well
> enough.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.