<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-27911</id>
	<title>Nabble - DBUnit</title>
	<updated>2008-09-25T03:27:48Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/DBUnit-f27911.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DBUnit-f27911.html" />
	<subtitle type="html">&lt;a href=&quot;http://dbunit.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;DbUnit&lt;/a&gt;&amp;nbsp;is a &lt;a href=&quot;http://www.junit.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;JUnit&lt;/a&gt;&amp;nbsp;extension (also usable with Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. 
&lt;br&gt;&lt;br&gt;DbUnit has the ability to export and import your database data to and from XML datasets. Since version 2.0, DbUnit can works with very large dataset when use in streaming mode. DbUnit can also helps you to verify that your database data match expected set of values.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19666912</id>
	<title>DBUnit as a seeding tool</title>
	<published>2008-09-25T03:27:48Z</published>
	<updated>2008-09-25T03:27:48Z</updated>
	<author>
		<name>cryan</name>
	</author>
	<content type="html">Newbie to dbunit so feel free to point out any existing features I missed in the docs..
&lt;br&gt;&lt;br&gt;I'm interested in a general hibernate friendly way to seed our live (or test) systems, for example a .hbm.xml-like file format which seeds the db with standard logins, routing tables etc. The advantages of &amp;quot;hibernate friendly&amp;quot; are obviously that seed should work with any dialect, and behave the same as if I wrote the same in java using pojos. I'd prefer not to hard code all the system seed, instead externalise it.
&lt;br&gt;&lt;br&gt;The closest I've (so far) seen is the dbunit IDataSet and related xml format which looks useful but I think it could be a lot better as a general seeding tool, for example:
&lt;br&gt;&lt;br&gt;- remove requirement for a primary key in the seed, allow the db to generate one (or use whatever strategy I define in my .hbm)
&lt;br&gt;- extend the syntax to allow me to &amp;quot;insert a Manager&amp;quot; and then &amp;quot;insert an Employee&amp;quot; as a child of the Manager. It would probably require a unique reference to the manager (by one or more col values, ie enough to make the manager instance unique)
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;manager name=&amp;quot;fred&amp;quot; dept=&amp;quot;eng&amp;quot;..../&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;employee manager=&amp;quot;name=fred;dept=eng...&amp;quot;.../&amp;gt;
&lt;br&gt;- flexible date/timestamp variables in addition to hard coded values eg (pseudo code..)
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;manager created=&amp;quot;#now&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;bid.. expires=&amp;quot;#now+1hour&amp;quot;/&amp;gt;
&lt;br&gt;- perhaps some settings to make seeding flexible, eg &amp;quot;insert if doesn't exist&amp;quot; rather than fail the seeding.
&lt;br&gt;&lt;br&gt;comments? suggestions? mad idea?
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;craig.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DBUnit-as-a-seeding-tool-tp19666912p19666912.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19617230</id>
	<title>Re: Persistence.xml</title>
	<published>2008-09-22T14:39:36Z</published>
	<updated>2008-09-22T14:39:36Z</updated>
	<author>
		<name>Antonio Goncalves</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi Julien,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m using Eclipse Link so I had to post a message to their mailing list to get the answer. Here is the way to do it with Eclipse Link :&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;import org.eclipse.persistence.internal.jpa.EntityManagerImpl;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;.....&lt;/div&gt;&lt;div&gt;.....&lt;/div&gt;&lt;div&gt;IDatabaseConnection&amp;nbsp;connection = new DatabaseConnection(((EntityManagerImpl) (em.getDelegate())).getServerSession().getAccessor().getConnection());&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;And it works fine.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks for your help.&lt;/div&gt;&lt;div&gt;Antonio&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/9/17 julien tabouret &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19617230&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;julien.tabouret@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;Hello,&lt;br&gt;&lt;br&gt;If you have a &lt;i&gt;persistence.xml&lt;/i&gt; file, I assume that you&amp;#39;re using an &lt;i&gt;EntityManager&lt;/i&gt;. If so, the &lt;b&gt;&lt;i&gt;getDelegate()&lt;/i&gt;&lt;/b&gt; method could help you since it retrieves the underlying object for the &lt;i&gt;EntityManager&lt;/i&gt;.&lt;br&gt;

&lt;br&gt;For example, if your O/R mapping provinder is Hibernate, you will get an &lt;i&gt;org.hibernate.impl.SessionImpl&lt;/i&gt;. Then the &lt;i&gt;connection()&lt;/i&gt; method will gives you the JDBC connection required by dbunit.&lt;br&gt;&lt;br&gt;Hope it can help.&lt;br&gt;

-- &lt;br&gt;Julien&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/9/17 Antonio Goncalves &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19617230&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antonio.mailing@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I was wondering if DBUnit has some facilities to integrate a persistence.xml file. In the&amp;nbsp;persistence.xml file&amp;nbsp;file there is already the JDBC Driver, the connection URL to the database, login, pwd... everthing needed to connect to a DB. What I&amp;#39;m doing at the moment is duplicating this information into my code sych as :&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;protected IDatabaseConnection getConnection() throws Exception {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Class driverClass = Class.forName(&amp;quot;org.apache.derby.jdbc.EmbeddedDriver&amp;quot;);&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Connection jdbcConnection = DriverManager.getConnection(&amp;quot;jdbc:derby:myDB.sql;create=true&amp;quot;, &amp;quot;APP&amp;quot;, &amp;quot;APP&amp;quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return new DatabaseConnection(jdbcConnection);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;it would be nice just to have&amp;nbsp;&lt;span style=&quot;font-size:12px&quot;&gt;new DatabaseConnection(&amp;quot;persistence.xml&amp;quot;)&lt;span style=&quot;font-family:arial;font-size:13px&quot;&gt;. Because the properties change depending on the prodiver, we could also have something like&amp;nbsp;&lt;span style=&quot;font-size:12px&quot;&gt;w DatabaseConnection(&amp;quot;persistence.xml&amp;quot;, ORACLE)&lt;span style=&quot;font-family:arial;font-size:13px&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Any ideas ?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;--&lt;br&gt;Antonio Goncalves (&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19617230&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antonio.goncalves@...&lt;/a&gt;)&lt;br&gt;Software architect&lt;br&gt;&lt;br&gt;Paris JUG leader : &lt;a href=&quot;http://www.parisjug.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.parisjug.org&lt;/a&gt;&lt;br&gt;


Web site : &lt;a href=&quot;http://www.antoniogoncalves.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.antoniogoncalves.org&lt;/a&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://jroller.com/agoncal&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;jroller.com/agoncal&lt;/a&gt;&lt;br&gt;LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/agoncal&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.linkedin.com/in/agoncal&lt;/a&gt;&lt;br&gt;



&lt;/div&gt;&lt;/div&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
Build the coolest Linux based applications with Moblin SDK &amp;amp; win great prizes&lt;br&gt;
Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
dbunit-user mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19617230&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;-------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
Build the coolest Linux based applications with Moblin SDK &amp;amp; win great prizes&lt;br&gt;
Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
dbunit-user mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19617230&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;--&lt;br&gt;Antonio Goncalves (&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19617230&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antonio.goncalves@...&lt;/a&gt;)&lt;br&gt;Software architect&lt;br&gt;&lt;br&gt;Paris JUG leader : &lt;a href=&quot;http://www.parisjug.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.parisjug.org&lt;/a&gt;&lt;br&gt;
Web site : &lt;a href=&quot;http://www.antoniogoncalves.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.antoniogoncalves.org&lt;/a&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://jroller.com/agoncal&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jroller.com/agoncal&lt;/a&gt;&lt;br&gt;LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/agoncal&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.linkedin.com/in/agoncal&lt;/a&gt;&lt;br&gt;

&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19617230&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Persistence.xml-tp19529305p19617230.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19535429</id>
	<title>Is DBUnit an in-memory database?</title>
	<published>2008-09-17T09:00:41Z</published>
	<updated>2008-09-17T09:00:41Z</updated>
	<author>
		<name>NareshKumar</name>
	</author>
	<content type="html">I am new to DBUnit library, please clarify me regarding the below statements at the earliest:
&lt;br&gt;&lt;br&gt;According to my knowledge dbunit is mainly used in setting up the proper test data in the database, before execution of a particular test case/suite.
&lt;br&gt;&lt;br&gt;My Question: Is DBUnit an in-memory database (or) can we setup DBunit as an in memory database?
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-DBUnit-an-in-memory-database--tp19535429p19535429.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19530976</id>
	<title>Re: Persistence.xml</title>
	<published>2008-09-17T05:27:16Z</published>
	<updated>2008-09-17T05:27:16Z</updated>
	<author>
		<name>julien tabouret</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hello,&lt;br&gt;&lt;br&gt;If you have a &lt;i&gt;persistence.xml&lt;/i&gt; file, I assume that you&amp;#39;re using an &lt;i&gt;EntityManager&lt;/i&gt;. If so, the &lt;b&gt;&lt;i&gt;getDelegate()&lt;/i&gt;&lt;/b&gt; method could help you since it retrieves the underlying object for the &lt;i&gt;EntityManager&lt;/i&gt;.&lt;br&gt;
&lt;br&gt;For example, if your O/R mapping provinder is Hibernate, you will get an &lt;i&gt;org.hibernate.impl.SessionImpl&lt;/i&gt;. Then the &lt;i&gt;connection()&lt;/i&gt; method will gives you the JDBC connection required by dbunit.&lt;br&gt;&lt;br&gt;Hope it can help.&lt;br&gt;
-- &lt;br&gt;Julien&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/9/17 Antonio Goncalves &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19530976&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antonio.mailing@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I was wondering if DBUnit has some facilities to integrate a persistence.xml file. In the&amp;nbsp;persistence.xml file&amp;nbsp;file there is already the JDBC Driver, the connection URL to the database, login, pwd... everthing needed to connect to a DB. What I&amp;#39;m doing at the moment is duplicating this information into my code sych as :&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;protected IDatabaseConnection getConnection() throws Exception {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Class driverClass = Class.forName(&amp;quot;org.apache.derby.jdbc.EmbeddedDriver&amp;quot;);&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Connection jdbcConnection = DriverManager.getConnection(&amp;quot;jdbc:derby:myDB.sql;create=true&amp;quot;, &amp;quot;APP&amp;quot;, &amp;quot;APP&amp;quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return new DatabaseConnection(jdbcConnection);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;it would be nice just to have&amp;nbsp;&lt;span style=&quot;font-size: 12px;&quot;&gt;new DatabaseConnection(&amp;quot;persistence.xml&amp;quot;)&lt;span style=&quot;font-family: arial; font-size: 13px;&quot;&gt;. Because the properties change depending on the prodiver, we could also have something like&amp;nbsp;&lt;span style=&quot;font-size: 12px;&quot;&gt;w DatabaseConnection(&amp;quot;persistence.xml&amp;quot;, ORACLE)&lt;span style=&quot;font-family: arial; font-size: 13px;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Any ideas ?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;--&lt;br&gt;Antonio Goncalves (&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19530976&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antonio.goncalves@...&lt;/a&gt;)&lt;br&gt;Software architect&lt;br&gt;&lt;br&gt;Paris JUG leader : &lt;a href=&quot;http://www.parisjug.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.parisjug.org&lt;/a&gt;&lt;br&gt;

Web site : &lt;a href=&quot;http://www.antoniogoncalves.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.antoniogoncalves.org&lt;/a&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://jroller.com/agoncal&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;jroller.com/agoncal&lt;/a&gt;&lt;br&gt;LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/agoncal&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.linkedin.com/in/agoncal&lt;/a&gt;&lt;br&gt;


&lt;/div&gt;&lt;/div&gt;
&lt;br&gt;-------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
Build the coolest Linux based applications with Moblin SDK &amp;amp; win great prizes&lt;br&gt;
Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
dbunit-user mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19530976&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19530976&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Persistence.xml-tp19529305p19530976.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19529305</id>
	<title>Persistence.xml</title>
	<published>2008-09-17T03:35:05Z</published>
	<updated>2008-09-17T03:35:05Z</updated>
	<author>
		<name>Antonio Goncalves</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I was wondering if DBUnit has some facilities to integrate a persistence.xml file. In the&amp;nbsp;persistence.xml file&amp;nbsp;file there is already the JDBC Driver, the connection URL to the database, login, pwd... everthing needed to connect to a DB. What I&amp;#39;m doing at the moment is duplicating this information into my code sych as :&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;#39;courier new&amp;#39;, monospace;&quot;&gt;protected IDatabaseConnection getConnection() throws Exception {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;#39;courier new&amp;#39;, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Class driverClass = Class.forName(&amp;quot;org.apache.derby.jdbc.EmbeddedDriver&amp;quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;#39;courier new&amp;#39;, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Connection jdbcConnection = DriverManager.getConnection(&amp;quot;jdbc:derby:myDB.sql;create=true&amp;quot;, &amp;quot;APP&amp;quot;, &amp;quot;APP&amp;quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;#39;courier new&amp;#39;, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return new DatabaseConnection(jdbcConnection);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;#39;courier new&amp;#39;, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;it would be nice just to have&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;#39;courier new&amp;#39;; font-size: 12px; &quot;&gt;new DatabaseConnection(&amp;quot;persistence.xml&amp;quot;)&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: 13px; &quot;&gt;. Because the properties change depending on the prodiver, we could also have something like&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;#39;courier new&amp;#39;; font-size: 12px; &quot;&gt;w DatabaseConnection(&amp;quot;persistence.xml&amp;quot;, ORACLE)&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: 13px; &quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Any ideas ?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;--&lt;br&gt;Antonio Goncalves (&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19529305&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antonio.goncalves@...&lt;/a&gt;)&lt;br&gt;Software architect&lt;br&gt;&lt;br&gt;Paris JUG leader : &lt;a href=&quot;http://www.parisjug.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.parisjug.org&lt;/a&gt;&lt;br&gt;
Web site : &lt;a href=&quot;http://www.antoniogoncalves.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.antoniogoncalves.org&lt;/a&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://jroller.com/agoncal&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jroller.com/agoncal&lt;/a&gt;&lt;br&gt;LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/agoncal&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.linkedin.com/in/agoncal&lt;/a&gt;&lt;br&gt;

&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19529305&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Persistence.xml-tp19529305p19529305.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19466254</id>
	<title>New release 2.3.0 is finally out!</title>
	<published>2008-09-12T17:29:56Z</published>
	<updated>2008-09-12T17:29:56Z</updated>
	<author>
		<name>Roberto Lo Giacco-4</name>
	</author>
	<content type="html">First of all I must say sorry to you all and especially to Mathias and
&lt;br&gt;Sebastien for the long time it took to me to build up this release: I
&lt;br&gt;had a few hardware problems with my laptop which prevented me to be as
&lt;br&gt;responsive as I usually am.
&lt;br&gt;&lt;br&gt;The new release has a very long list of fixed bugs and added features
&lt;br&gt;so please be patient if something doesn't work perfectly at your first
&lt;br&gt;run, we did our best to double check the modifications and patches but
&lt;br&gt;we are still humans then error-prone :-)
&lt;br&gt;&lt;br&gt;We are starting to think to a major release change to allow us to
&lt;br&gt;break backward compatibility and if you are interested in the
&lt;br&gt;discussion I invite you to join the developers mailing list where the
&lt;br&gt;discussion has already started.
&lt;br&gt;&lt;br&gt;Well, now I'll present you all the maven generated changelog of the
&lt;br&gt;2.3.0 release so you all can get credit for your own contribution:
&lt;br&gt;it's astounding how much we achieved!
&lt;br&gt;&lt;br&gt;Changes in this version include:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;New features:
&lt;br&gt;&lt;br&gt;o Patch: some extra comparison methods for Assertion. &amp;nbsp;Issue: 1969355.
&lt;br&gt;Thanks to ymenager.
&lt;br&gt;&lt;br&gt;o Assertion.equals to provide more info about failure &amp;nbsp;Issue: 1966517.
&lt;br&gt;&lt;br&gt;o Performance optimization getColumnIndex() - Implies API change: new
&lt;br&gt;method ITableMetaData.getColumnIndex &amp;nbsp;Issue: 1993243.
&lt;br&gt;&lt;br&gt;o Support RowFilter on ITable &amp;nbsp;Issue: 1959771.
&lt;br&gt;&lt;br&gt;o support for tolerated delta in floating-point comparisons - Implies
&lt;br&gt;API change: new method IDataTypeFactory.createDataType(int sqlType,
&lt;br&gt;String sqlTypeName, String tableName, String columnName) &amp;nbsp;Issue:
&lt;br&gt;1961269.
&lt;br&gt;&lt;br&gt;o Added batchSize as a parameter.
&lt;br&gt;&lt;br&gt;o Excel support in Ant task &amp;nbsp;Issue: 1358137. Thanks to rinkrank.
&lt;br&gt;&lt;br&gt;o Bad comparison in SortedTable &amp;nbsp;Issue: 1176380. Thanks to easyproglife.
&lt;br&gt;&lt;br&gt;o Added fetchSize as a parameter.
&lt;br&gt;&lt;br&gt;o ReplacementTable - allow fail if value not replaced &amp;nbsp;Issue: 1685474.
&lt;br&gt;Thanks to jacobrobertson.
&lt;br&gt;&lt;br&gt;o Refactoring of column-related methods. &amp;nbsp;Issue: 2004349. Thanks to gommma.
&lt;br&gt;&lt;br&gt;o Assertion: replace Assert.fail with ComparisonFailure &amp;nbsp;Issue:
&lt;br&gt;2010546. Thanks to damian_golda.
&lt;br&gt;&lt;br&gt;o Alternative support for CLOB and BLOB in Oracle 11 JDBC &amp;nbsp;Issue:
&lt;br&gt;2010567. Thanks to damian_golda.
&lt;br&gt;&lt;br&gt;o Added constructors to NoSuchColumnException taking table name and
&lt;br&gt;column name as arguments - set old constructors to deprecated
&lt;br&gt;&lt;br&gt;o Assertion.equals provides more information than just the column
&lt;br&gt;count when a column mismatch between expected and result tables was
&lt;br&gt;found. All columns are reported so that the user can see immediately
&lt;br&gt;which columns are missing
&lt;br&gt;&lt;br&gt;o Write validation message when the configured IDataTypeFactory
&lt;br&gt;probably does not match to the current database system. The validation
&lt;br&gt;implicitly takes place when AbstractTableMetaData.getDataTypeFactory()
&lt;br&gt;is invoked.
&lt;br&gt;&lt;br&gt;o Maven pom.xml updates: Added ciManagement section, added some
&lt;br&gt;plugins for reporting
&lt;br&gt;&lt;br&gt;o Topological sorting of tables when exporting &amp;nbsp;Issue: 2012491. Thanks
&lt;br&gt;to rpuchkovskiy.
&lt;br&gt;&lt;br&gt;o Update apache POI to latest release (2.5.1 -&amp;gt; 3.1) &amp;nbsp;Issue: 2029693.
&lt;br&gt;&lt;br&gt;o &amp;quot;compare&amp;quot; + &amp;quot;table&amp;quot; tag throw NoSuchTableException - added more
&lt;br&gt;information about the cause to the thrown exception. &amp;nbsp;Issue: 1448932.
&lt;br&gt;Thanks to palsnagaraj.
&lt;br&gt;&lt;br&gt;o Added more information in case of a wrong configured
&lt;br&gt;DataTypeFactory. &amp;nbsp;Issue: 2059253. Thanks to kornstaedt.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Fixed Bugs:
&lt;br&gt;&lt;br&gt;o Trimming is now done on Excel column names to prevent
&lt;br&gt;NoSuchColumnException. &amp;nbsp;Issue: 1968640.
&lt;br&gt;&lt;br&gt;o Patch for Bug #1421590 &amp;quot;Problem in data import if all the columns
&lt;br&gt;are not populated&amp;quot; &amp;nbsp;Issue: 1981449. Thanks to gommma.
&lt;br&gt;&lt;br&gt;o NoSuchColumnException now thrown when column name does not exist.
&lt;br&gt;Issue: 1975499. Thanks to gommma.
&lt;br&gt;&lt;br&gt;o StreamingDataSet.toString() now returning default value rather
&lt;br&gt;UnsupportedOperationException. &amp;nbsp;Issue: 1636182.
&lt;br&gt;&lt;br&gt;o Fixing erroneous logger.error in BytesDataType.typeCast(). &amp;nbsp;Issue: 2009747.
&lt;br&gt;&lt;br&gt;o TablesDependencyHelper with Oracle schema bug - Implies API change -
&lt;br&gt;the constructors of DatabaseConnection throw a DatabaseUnitException
&lt;br&gt;if the connection/schema are not valid &amp;nbsp;Issue: 2007635. Thanks to
&lt;br&gt;phisf.
&lt;br&gt;&lt;br&gt;o datatypeFactory documentation note needed &amp;nbsp;Issue: 1499591. Thanks to
&lt;br&gt;loedolff.
&lt;br&gt;&lt;br&gt;o getAllDependentTables ORA-01000: maximum open cursors exceed &amp;nbsp;Issue:
&lt;br&gt;2014884. Thanks to pasha_z.
&lt;br&gt;&lt;br&gt;o getAllDependentTables didn't work with full qualified names &amp;nbsp;Issue:
&lt;br&gt;1746373. Thanks to byte-error.
&lt;br&gt;&lt;br&gt;o Exception in DTD generation - Implies API behaviour change.
&lt;br&gt;DatabaseTableMetaData.getColumns() does not throw a
&lt;br&gt;NoColumnsFoundExcepion anymore but returns an empty Column[] when a
&lt;br&gt;table does not have any dbunit-supported columns &amp;nbsp;Issue: 1789402.
&lt;br&gt;Thanks to jondi.
&lt;br&gt;&lt;br&gt;o Test error: testExportWithQuerySet &amp;nbsp;Issue: 1497369. Thanks to bascan.
&lt;br&gt;&lt;br&gt;o Use DataType.BLOB instead of DataType.LONGVARBINARY &amp;nbsp;Issue: 2012495.
&lt;br&gt;Thanks to rpuchkovskiy.
&lt;br&gt;&lt;br&gt;o DbUnit is only JDK 1.4 compatible and not 1.3 (as claimed until
&lt;br&gt;now). Several methods are in use that did not exist in JDK 1.3. To
&lt;br&gt;build with JDK 1.4 and maven it is now required to set the environment
&lt;br&gt;variable JAVA_1_4_HOME to your JDK 1.4 home directory Thanks to
&lt;br&gt;rpuchkovskiy.
&lt;br&gt;&lt;br&gt;o Inserting of clobs fails &amp;nbsp;Issue: 1984596. Thanks to bustuila.
&lt;br&gt;&lt;br&gt;o method getRowCount don't use schema. &amp;nbsp;Issue: 1214234. Thanks to bilaco.
&lt;br&gt;&lt;br&gt;o Column count for empty XlsDataSet returns 0. &amp;nbsp;Issue: 1224643. Thanks
&lt;br&gt;to bugmenot.
&lt;br&gt;&lt;br&gt;o Values with newlines cannot be compared with assertEquals. &amp;nbsp;Issue:
&lt;br&gt;948472. Thanks to gmathijssen.
&lt;br&gt;&lt;br&gt;o Infinite wait in StreamingIterator. &amp;nbsp;Issue: 1031870. Thanks to chadwl.
&lt;br&gt;&lt;br&gt;o Types.BOOLEAN not recognized. &amp;nbsp;Issue: 1144269. Thanks to berni123.
&lt;br&gt;&lt;br&gt;o DTD Creation and Parsing - throw meaningful exception if DTD ELEMENT
&lt;br&gt;declaration is missing. &amp;nbsp;Issue: 1339675. Thanks to vanhill21.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Have fun!
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Roberto Lo Giacco
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19466254&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-release-2.3.0-is-finally-out%21-tp19466254p19466254.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19446291</id>
	<title>Re: DbUnit and slf4j</title>
	<published>2008-09-11T15:43:42Z</published>
	<updated>2008-09-11T15:43:42Z</updated>
	<author>
		<name>Roberto Lo Giacco-4</name>
	</author>
	<content type="html">Hi Mark,
&lt;br&gt;sinc release 2.2 DbUnit uses slf4j4j as logging library, consequently
&lt;br&gt;you need the lsf4j library plus one of the wrappers or implementations
&lt;br&gt;provided by lsf4j and reported in the left side panel on
&lt;br&gt;&lt;a href=&quot;http://www.slf4j.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.slf4j.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;We use the 1.4.3 version of slf4j as reported on the DbUnit site
&lt;br&gt;(&lt;a href=&quot;http://www.dbunit.org/dependencies.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dbunit.org/dependencies.html&lt;/a&gt;) so the problem you reported
&lt;br&gt;is probably due to the wrong version of the jdk14 wrapper you plugged
&lt;br&gt;in.
&lt;br&gt;&lt;br&gt;I suggest you to use one of the 1.4.3 implementations, you can find a
&lt;br&gt;list of all the libraries available here
&lt;br&gt;&lt;a href=&quot;http://www.mvnrepository.com/artifact/org.slf4j&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mvnrepository.com/artifact/org.slf4j&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you like to use the jdk logging available since java 1.4 then the
&lt;br&gt;library you need to include this in your project POM dependencies
&lt;br&gt;&lt;br&gt;&amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.slf4j&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;slf4j-jdk14&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.4.3&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;lt;/dependency&amp;gt;
&lt;br&gt;&lt;br&gt;As you can see on the DbUnit dependencies page we use the slf4j-nope
&lt;br&gt;library by default at runtime to avoid cluttering our consoles with
&lt;br&gt;unnecessary log statements &amp;nbsp;;)
&lt;br&gt;&lt;br&gt;2008/9/11 Mark Boon &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19446291&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tesujisoftware@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm trying to make DbUnit work for my project for the first time.The
&lt;br&gt;&amp;gt; documentation mentions all one needs is Maven. I have a project that
&lt;br&gt;&amp;gt; includes Maven support in Eclipse. Still I kept getting an error saying
&lt;br&gt;&amp;gt; LoggerFactory is not found.I did download a &amp;quot;Maven ueber JAR&amp;quot; but it didn't
&lt;br&gt;&amp;gt; include the logging classes. Since it wasn't clear to me where to find the
&lt;br&gt;&amp;gt; required library I used findJars.com and it gave me whole list of slf4j
&lt;br&gt;&amp;gt; related jars. I picked slf4j-jdk14-1.0.jar but now I get a MethodNotFound
&lt;br&gt;&amp;gt; for org.slf4j.Logger.trace(String)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did I get the wrong JAR? What are the requirements in order to use DbUnit?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any tips would be greatly appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Mark
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;&amp;gt; prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; dbunit-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19446291&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Roberto Lo Giacco
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19446291&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DbUnit-and-slf4j-tp19441237p19446291.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19441237</id>
	<title>DbUnit and slf4j</title>
	<published>2008-09-11T11:23:19Z</published>
	<updated>2008-09-11T11:23:19Z</updated>
	<author>
		<name>Mark Boon</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;&lt;DIV&gt;I'm trying to make DbUnit work for my project for the first time.The documentation mentions all one needs is Maven. I have a project that includes Maven support in Eclipse. Still I kept getting an error saying LoggerFactory is not found.I did download a &quot;Maven ueber JAR&quot; but it didn't include the logging classes. Since it wasn't clear to me where to find the required library I used findJars.com and it gave me whole list of slf4j related jars. I picked slf4j-jdk14-1.0.jar but now I get a MethodNotFound for org.slf4j.Logger.trace(String)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Did I get the wrong JAR? What are the requirements in order to use DbUnit?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Any tips would be greatly appreciated.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

      &lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19441237&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DbUnit-and-slf4j-tp19441237p19441237.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19386337</id>
	<title>org.dbunit.database.AmbiguousTableNameException: COUNTRIES</title>
	<published>2008-09-08T23:02:07Z</published>
	<updated>2008-09-09T02:30:58Z</updated>
	<author>
		<name>rangaraob</name>
	</author>
	<content type="html">Iam using oracle DB. My DB have SCHEDULE_SET_DAILY_FLT table. While constructing FlatXmlDataSet iam facing below exception.
&lt;br&gt;This is my &lt;b&gt;code&lt;/b&gt;&amp;nbsp;and &lt;b&gt;dtd&lt;/b&gt;.
&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;b&gt;Code&lt;/b&gt;&lt;br&gt;&amp;nbsp;InputStream dtdStream =loadFromClasspath(&amp;quot;./com/xxxxx/xxxess/persistence/dao/test/schedulesetdailyflt123.dtd&amp;quot;);
&lt;br&gt;FlatXmlDataSet fXmlDataSet=new FlatXmlDataSet(dtdStream);
&lt;br&gt;&lt;b&gt;&lt;br&gt;database-ess.dtd&lt;/b&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;
&lt;br&gt;&amp;lt;dataset&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;SCHEDULE_SET_DAILY_FLT SCHEDULE_SET_DAILY_FLT_ID=&amp;quot;2644154&amp;quot; SCHEDULE_SET_ID=&amp;quot;7607&amp;quot; CARRIER_ID=&amp;quot;3&amp;quot; FLIGHT_NO=&amp;quot;1434&amp;quot; DEP_STATION_ID=&amp;quot;21972&amp;quot; DST_STATION_ID=&amp;quot;20960&amp;quot; AIRCRAFT_TYPE_ID=&amp;quot;14&amp;quot; AIRCRAFT_SEAT_CONFIG_ID=&amp;quot;5804&amp;quot; DEP_DATETIME_LOCAL=&amp;quot;2007-09-08&amp;quot; DEP_DATETIME_UTC=&amp;quot;2007-09-08&amp;quot; DEP_TIME_UTC_OFFSET=&amp;quot;-0500&amp;quot; ARR_DATETIME_LOCAL=&amp;quot;2007-09-08&amp;quot; ARR_DATETIME_UTC=&amp;quot;2007-09-08&amp;quot; ARR_TIME_UTC_OFFSET=&amp;quot;-0400&amp;quot; BLOCK_TIME_MINS=&amp;quot;157&amp;quot; GROUND_TIME_MINS=&amp;quot;52&amp;quot; LEG_SEQUENCE=&amp;quot;1&amp;quot; ESS_FILE_IMPORT_ID=&amp;quot;4118&amp;quot; HAULAGE_TYPE_ID=&amp;quot;113200103&amp;quot; PREV_LEG_ID=&amp;quot;2683196&amp;quot; NEXT_LEG_ID=&amp;quot;2629471&amp;quot; INTDOM_FLAG=&amp;quot;D&amp;quot; SSIM_AIRCRAFT_VRSN=&amp;quot;F16Y108&amp;quot; SSIM_PRBD=&amp;quot;FY&amp;quot; DIRECTION_IND=&amp;quot;W&amp;quot; IS_LAST_FLT_OF_DAY=&amp;quot;1&amp;quot; CREATE_DATE=&amp;quot;2007-08-30&amp;quot; CREATED_BY_USER_NAME=&amp;quot;ESS-SSIM&amp;quot; UPDATE_DATE=&amp;quot;2007-08-30&amp;quot; UPDATED_BY_USER_NAME=&amp;quot;ESS-SSIM&amp;quot; DATA_OWNER_ID=&amp;quot;0&amp;quot; MILEAGE=&amp;quot;906&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;SCHEDULE_SET_DAILY_FLT SCHEDULE_SET_DAILY_FLT_ID=&amp;quot;2644155&amp;quot; SCHEDULE_SET_ID=&amp;quot;7607&amp;quot; CARRIER_ID=&amp;quot;3&amp;quot; FLIGHT_NO=&amp;quot;1434&amp;quot; DEP_STATION_ID=&amp;quot;21972&amp;quot; DST_STATION_ID=&amp;quot;20960&amp;quot; AIRCRAFT_TYPE_ID=&amp;quot;14&amp;quot; AIRCRAFT_SEAT_CONFIG_ID=&amp;quot;5804&amp;quot; DEP_DATETIME_LOCAL=&amp;quot;2007-09-09&amp;quot; DEP_DATETIME_UTC=&amp;quot;2007-09-09&amp;quot; DEP_TIME_UTC_OFFSET=&amp;quot;-0500&amp;quot; ARR_DATETIME_LOCAL=&amp;quot;2007-09-09&amp;quot; ARR_DATETIME_UTC=&amp;quot;2007-09-09&amp;quot; ARR_TIME_UTC_OFFSET=&amp;quot;-0400&amp;quot; BLOCK_TIME_MINS=&amp;quot;157&amp;quot; GROUND_TIME_MINS=&amp;quot;52&amp;quot; LEG_SEQUENCE=&amp;quot;1&amp;quot; ESS_FILE_IMPORT_ID=&amp;quot;4118&amp;quot; HAULAGE_TYPE_ID=&amp;quot;113200103&amp;quot; PREV_LEG_ID=&amp;quot;2683177&amp;quot; NEXT_LEG_ID=&amp;quot;2629480&amp;quot; INTDOM_FLAG=&amp;quot;D&amp;quot; SSIM_AIRCRAFT_VRSN=&amp;quot;F16Y108&amp;quot; SSIM_PRBD=&amp;quot;FY&amp;quot; DIRECTION_IND=&amp;quot;W&amp;quot; IS_LAST_FLT_OF_DAY=&amp;quot;1&amp;quot; CREATE_DATE=&amp;quot;2007-08-30&amp;quot; CREATED_BY_USER_NAME=&amp;quot;ESS-SSIM&amp;quot; UPDATE_DATE=&amp;quot;2007-08-30&amp;quot; UPDATED_BY_USER_NAME=&amp;quot;ESS-SSIM&amp;quot; DATA_OWNER_ID=&amp;quot;0&amp;quot; MILEAGE=&amp;quot;906&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/dataset&amp;gt;
&lt;br&gt;&lt;br&gt;org.dbunit.database.AmbiguousTableNameException: COUNTRIES
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.dbunit.database.DatabaseDataSet.initialize(DatabaseDataSet.java:163)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.dbunit.database.DatabaseDataSet.getTableMetaData(DatabaseDataSet.java:215)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.dbunit.operation.AbstractOperation.getOperationMetaData(AbstractOperation.java:73)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.dbunit.operation.RefreshOperation.execute(RefreshOperation.java:100)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.dbunit.AbstractDatabaseTester.executeOperation(AbstractDatabaseTester.java:176)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.dbunit.AbstractDatabaseTester.onSetup(AbstractDatabaseTester.java:73)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.dbunit.DatabaseTestCase.setUp(DatabaseTestCase.java:140)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.egatematrix.ess.persistence.dao.test.AircraftTypeMasterDAOTest.setUp(AircraftTypeMasterDAOTest.java:26)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestCase.runBare(TestCase.java:132)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestResult$1.protect(TestResult.java:110)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestResult.runProtected(TestResult.java:128)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestResult.run(TestResult.java:113)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestCase.run(TestCase.java:124)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestSuite.runTest(TestSuite.java:232)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestSuite.run(TestSuite.java:227)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
&lt;br&gt;&lt;br&gt;Please give me the suggations to solve this problem&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/org.dbunit.database.AmbiguousTableNameException%3A-COUNTRIES-tp19386337p19386337.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19313617</id>
	<title>Re: Retrieving auto-generated primary keys</title>
	<published>2008-09-04T08:48:39Z</published>
	<updated>2008-09-04T08:48:39Z</updated>
	<author>
		<name>julien tabouret</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Yes, since I&amp;#39;m working on a private application, the &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;DatabaseOperation.DELETE_ALL&lt;/span&gt; should resolve the problem. But in a professionnal environnement, this behaviour could be inapplicable.&lt;br&gt;
&lt;br&gt;If you follow the JUnit best practices, tests should be atomic, independent of any other test, and leave no trace in the end of the process. That&amp;#39;s why I think performing a &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;DatabaseOperation.DELETE&lt;/span&gt; after each test (that is to say during tear down) is the most appropriate strategy... And to do so, you need to have primary keys in your dataset.&lt;br&gt;
&lt;br&gt;In fact, the more I think about it, the more I find problems. Imagine that you have a classic &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;ManyToOne&lt;/span&gt; association between lines and orders. If you use auto-generated keys for orders, how could you possibly link the lines you want to add? Specially if you use &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;XmlDataSet&lt;/span&gt;s.&lt;br&gt;
&lt;br&gt;So maybe using &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;IDENTITY&lt;span style=&quot;font-family: arial,helvetica,sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;strategy to generate primary keys is not possible with the current version of DBUnit?&lt;br&gt;
&lt;br&gt;By the way, thank you for your quick answer.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/9/4 Roberto Lo Giacco &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313617&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rlogiacco@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Can you adopt the DatabaseOperation.DELETE_ALL strategy on tearDown?&lt;br&gt;
This will completely wipe out all datas from the tables used in your&lt;br&gt;
dataset... thus it can be a destroying operation if you have any other&lt;br&gt;
datas in your database.&lt;br&gt;
&lt;br&gt;
2008/9/3 julien tabouret &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313617&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;julien.tabouret@...&lt;/a&gt;&amp;gt;:&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&amp;gt; Hello,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m using DBUnit for test in a JPA project and I have troubles with&lt;br&gt;
&amp;gt; auto-generated primary keys.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Most of my entities have primary key tagged with&lt;br&gt;
&amp;gt; @GeneratedValue(Strategy=IDENTITY)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I use a DefaultDataSet to initialize my database before tests and I do not&lt;br&gt;
&amp;gt; provide primary keys.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; During the set up phase, the database is correctly populated. But during the&lt;br&gt;
&amp;gt; tear down phase, when I try to clean the database with the&lt;br&gt;
&amp;gt; DatabaseOperation.DELETE operation, primary keys are still null and rows are&lt;br&gt;
&amp;gt; not deleted.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Is there any way to retrieve the primary keys from the database during the&lt;br&gt;
&amp;gt; set up phase thanks to the DatabaseOperation.INSERT operation?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; PS : I&amp;#39;m using Hibernate and MySQL.&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; Julien&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&amp;gt; -------------------------------------------------------------------------&lt;br&gt;
&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp;amp; win great&lt;br&gt;
&amp;gt; prizes&lt;br&gt;
&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; dbunit-user mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313617&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&amp;nbsp;Roberto Lo Giacco&lt;br&gt;
&lt;br&gt;
-------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
Build the coolest Linux based applications with Moblin SDK &amp;amp; win great prizes&lt;br&gt;
Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
dbunit-user mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313617&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Julien&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313617&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Retrieving-auto-generated-primary-keys-tp19297008p19313617.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19310282</id>
	<title>Re: Retrieving auto-generated primary keys</title>
	<published>2008-09-04T06:18:53Z</published>
	<updated>2008-09-04T06:18:53Z</updated>
	<author>
		<name>Roberto Lo Giacco-4</name>
	</author>
	<content type="html">Can you adopt the DatabaseOperation.DELETE_ALL strategy on tearDown?
&lt;br&gt;This will completely wipe out all datas from the tables used in your
&lt;br&gt;dataset... thus it can be a destroying operation if you have any other
&lt;br&gt;datas in your database.
&lt;br&gt;&lt;br&gt;2008/9/3 julien tabouret &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19310282&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;julien.tabouret@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm using DBUnit for test in a JPA project and I have troubles with
&lt;br&gt;&amp;gt; auto-generated primary keys.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Most of my entities have primary key tagged with
&lt;br&gt;&amp;gt; @GeneratedValue(Strategy=IDENTITY)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I use a DefaultDataSet to initialize my database before tests and I do not
&lt;br&gt;&amp;gt; provide primary keys.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; During the set up phase, the database is correctly populated. But during the
&lt;br&gt;&amp;gt; tear down phase, when I try to clean the database with the
&lt;br&gt;&amp;gt; DatabaseOperation.DELETE operation, primary keys are still null and rows are
&lt;br&gt;&amp;gt; not deleted.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there any way to retrieve the primary keys from the database during the
&lt;br&gt;&amp;gt; set up phase thanks to the DatabaseOperation.INSERT operation?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PS : I'm using Hibernate and MySQL.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Julien
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;&amp;gt; prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; dbunit-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19310282&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Roberto Lo Giacco
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19310282&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Retrieving-auto-generated-primary-keys-tp19297008p19310282.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19297008</id>
	<title>Retrieving auto-generated primary keys</title>
	<published>2008-09-03T13:05:05Z</published>
	<updated>2008-09-03T13:05:05Z</updated>
	<author>
		<name>julien tabouret</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hello,&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;I&amp;#39;m using DBUnit for test in a JPA project and I have troubles with auto-generated primary keys.&lt;br&gt;&lt;br&gt;Most of my entities have primary key tagged with &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;@GeneratedValue(Strategy=IDENTITY)&lt;/span&gt;&lt;br&gt;
&lt;br&gt;I use a DefaultDataSet to initialize my database before tests and I do not provide primary keys.&lt;br&gt;&lt;br&gt;During the set up phase, the database is correctly populated. But during the tear down phase, when I try to clean the database with the &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;DatabaseOperation.DELETE&lt;/span&gt; operation, primary keys are still &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;null&lt;/span&gt; and rows are not deleted.&lt;br&gt;
&lt;br&gt;Is there any way to retrieve the primary keys from the database during the set up phase thanks to the &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;DatabaseOperation.INSERT&lt;/span&gt; operation?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;PS : I&amp;#39;m using Hibernate and MySQL.&lt;br&gt;
-- &lt;br&gt;Julien&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19297008&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Retrieving-auto-generated-primary-keys-tp19297008p19297008.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19293197</id>
	<title>how to use multiple dataset file with dbunit and maven ?</title>
	<published>2008-09-03T09:44:40Z</published>
	<updated>2008-09-03T09:44:40Z</updated>
	<author>
		<name>chinofish-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=gb2312&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16674&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;when use dbunit with maven2, we use and sample-data.xml to 
prepare data for testcase.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;such as:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;plugin&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;groupId&amp;gt;org.codehaus.mojo&amp;lt;/groupId&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;artifactId&amp;gt;dbunit-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;version&amp;gt;1.0-beta-1&amp;lt;/version&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;configuration&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;dataTypeFactoryName&amp;gt;${dbunit.dataTypeFactoryName}&amp;lt;/dataTypeFactoryName&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;driver&amp;gt;${jdbc.driverClassName}&amp;lt;/driver&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;username&amp;gt;${jdbc.username}&amp;lt;/username&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;password&amp;gt;${jdbc.password}&amp;lt;/password&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;url&amp;gt;${jdbc.url}&amp;lt;/url&amp;gt;&lt;BR&gt;&lt;FONT color=#ff0000&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;src&amp;gt;src/test/resources/sample-data.xml&amp;lt;/src&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;type&amp;gt;${dbunit.operation.type}&amp;lt;/type&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;schema&amp;gt;${dbunit.schema}&amp;lt;/schema&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;skip&amp;gt;${maven.test.skip}&amp;lt;/skip&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/configuration&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;executions&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;execution&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;id&amp;gt;test-compile&amp;lt;/id&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;phase&amp;gt;test-compile&amp;lt;/phase&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;goals&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;goal&amp;gt;operation&amp;lt;/goal&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/goals&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/execution&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;execution&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;!-- Runs before integration tests and jetty:run-war 
--&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;id&amp;gt;test&amp;lt;/id&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;phase&amp;gt;test&amp;lt;/phase&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;goals&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;goal&amp;gt;operation&amp;lt;/goal&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/goals&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/execution&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/executions&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;dependencies&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;dependency&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;groupId&amp;gt;${jdbc.groupId}&amp;lt;/groupId&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;artifactId&amp;gt;${jdbc.artifactId}&amp;lt;/artifactId&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;version&amp;gt;${jdbc.version}&amp;lt;/version&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/dependency&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/dependencies&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/plugin&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;but, in some cases , we need multiple dataset files such as 
sample-data2.xml,sample-data3.xml.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;in pom.xml&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;I changed &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;src&amp;gt;src/test/resources/sample-data.xml&amp;lt;/src&amp;gt;&lt;BR&gt;into &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;src&amp;gt;src/test/resources/sample-data.xml,src/test/resources/sample-data2.xml&amp;lt;/src&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;it doesn't work.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;Is there any method to get it done ?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;any suggestion will be appreciated !!!&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293197&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-use-multiple-dataset-file-with-dbunit-and-maven---tp19293197p19293197.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19292196</id>
	<title>Assertion methods that don't quit on first mismatch</title>
	<published>2008-09-03T08:53:13Z</published>
	<updated>2008-09-03T08:53:13Z</updated>
	<author>
		<name>Matija-2</name>
	</author>
	<content type="html">Currently, the Assertion.assertEquals() methods fail as soon as the
&lt;br&gt;first mismatch between the expected and the actual data sets (or
&lt;br&gt;tables) is found.
&lt;br&gt;&lt;br&gt;Are there any methods available that compare and report all the
&lt;br&gt;mismatches, regardless of how many there are, rather than immediately
&lt;br&gt;failing when one is found? We have fairly large result data sets and
&lt;br&gt;would like to see all of the differences between the expected and
&lt;br&gt;actual data set in one test pass.
&lt;br&gt;&lt;br&gt;If not, is it by chance in the plans to support something like this in
&lt;br&gt;a future release? I guess one could always write it oneself based on
&lt;br&gt;need, but I'd rather use something official, if available.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;M.
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19292196&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Assertion-methods-that-don%27t-quit-on-first-mismatch-tp19292196p19292196.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19261722</id>
	<title>Re: Using dbunit with Derby autoincrement</title>
	<published>2008-09-01T15:40:56Z</published>
	<updated>2008-09-01T15:40:56Z</updated>
	<author>
		<name>the_felipeal</name>
	</author>
	<content type="html">Hi Joel,
&lt;br&gt;&lt;br&gt;On Wed, Aug 27, 2008 at 10:03 AM, Joel Rosi-Schwartz
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19261722&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Joel.Rosi-Schwartz@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I am considering dbunit for a project that I am current beginning. The
&lt;br&gt;&lt;br&gt;Good choice :-)
&lt;br&gt;&lt;br&gt;&amp;gt; database will be Derby and all of the PK will be auto-increment. Is it possible to use dbunit in this environment;
&lt;br&gt;&lt;br&gt;Yes, it is. With a little bit of imagination, everything is possible :-)
&lt;br&gt;&lt;br&gt;&amp;gt; as far as I know there is no way to turn off auto-increment on Derby. &amp;nbsp;Dropping auto-increment for testing is not an attractive option because I am using JPA
&lt;br&gt;&amp;gt; (EclipseLink) and the tables &amp;nbsp;are &amp;nbsp;therefore generated.
&lt;br&gt;&lt;br&gt;I faced a similar issue in my current project: we needed to use DbUnit
&lt;br&gt;to assert PKs (specially in one-to-many relationships), and although
&lt;br&gt;they were easy to determine on H2 (they were basically sequential), we
&lt;br&gt;got weird values on Derby (like, one class would start with 1, another
&lt;br&gt;with 65534). So, the solution I adopted was to use a custom
&lt;br&gt;DerbyDialect (we were using JPA with Hibernate), which would
&lt;br&gt;sequentially generate the keys:
&lt;br&gt;&lt;br&gt;public class MyDerbyDialect extends DerbyDialect {
&lt;br&gt;&amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; public Class&amp;lt;?&amp;gt; getNativeIdentifierGeneratorClass() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; return MyIdentifierGenerator.class;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public class MyIdentifierGenerator implements IdentifierGenerator {
&lt;br&gt;&lt;br&gt;&amp;nbsp; // map of next id to be assigned to a given class
&lt;br&gt;&amp;nbsp; private static final Map&amp;lt;Class&amp;lt;?&amp;gt;, Integer&amp;gt; NEXT_IDS_MAP = new
&lt;br&gt;HashMap&amp;lt;Class&amp;lt;?&amp;gt;, Integer&amp;gt;();
&lt;br&gt;&lt;br&gt;&amp;nbsp; private static final Logger LOGGER =
&lt;br&gt;LoggerFactory.getLogger(MyIdentifierGenerator.class);
&lt;br&gt;&lt;br&gt;&amp;nbsp; public Serializable generate(SessionImplementor session, Object
&lt;br&gt;object) &amp;nbsp;throws HibernateException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; synchronized( NEXT_IDS_MAP ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; final Class&amp;lt;?&amp;gt; clazz = object.getClass();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int id = 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if ( NEXT_IDS_MAP.containsKey(clazz) ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id = NEXT_IDS_MAP.get(clazz);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; final int nextId = id + 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NEXT_IDS_MAP.put(clazz, nextId);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LOGGER.debug( &amp;quot;Generated id for {} is {}&amp;quot;, object, id );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return id;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;// method below is not part of IdentifierGenerator, but is used by
&lt;br&gt;some test cases to manually override the next PK
&lt;br&gt;&amp;nbsp; public static void setNext( Class&amp;lt;?&amp;gt; clazz, int id ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; synchronized( NEXT_IDS_MAP ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LOGGER.debug( &amp;quot;setNext({},{})&amp;quot;, clazz, id );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NEXT_IDS_MAP.put(clazz, id);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Of course, the drawback is that your test cases wouldn't be 100%
&lt;br&gt;reflecting real life, but that is fine in the unit tests (at least it
&lt;br&gt;was in our case).
&lt;br&gt;&lt;br&gt;Hope it helps you...
&lt;br&gt;&lt;br&gt;[]s,
&lt;br&gt;&lt;br&gt;-- Felipe
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19261722&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Using-dbunit-with-Derby-autoincrement-tp19243270p19261722.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19243270</id>
	<title>Using dbunit with Derby autoincrement</title>
	<published>2008-08-27T10:03:07Z</published>
	<updated>2008-08-27T10:03:07Z</updated>
	<author>
		<name>Joel Rosi-Schwartz</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I am considering dbunit for a project that I am current beginning. The database will be Derby and all of the PK will be&amp;nbsp;auto-increment. Is it possible to use dbunit in this environment; as far as I know there is no way to turn off auto-increment on Derby. &amp;nbsp;Dropping auto-increment for testing is not an attractive option&amp;nbsp;because&amp;nbsp;I am using JPA (EclipseLink) and the tables are therefore generated.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Many thanks,&lt;/div&gt;&lt;div&gt;Joel&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div apple-content-edited=&quot;true&quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(8, 81, 147); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(8, 81, 147); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(8, 81, 147); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(8, 81, 147); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(8, 81, 147); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#5C8137&quot; face=&quot;Arial&quot; size=&quot;4&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 16px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: Verdana; font-size: 18px; &quot;&gt;&lt;div style=&quot;margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; &quot;&gt;&lt;span style=&quot;font-size: 24pt; font-family: Webdings; color: green; &quot;&gt;P&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Trebuchet MS', sans-serif; color: black; &quot;&gt;Please consider the environment before printing this e-mail. Thank you.&lt;/span&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Trebuchet MS', sans-serif; color: black; &quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; &quot;&gt;&lt;/div&gt;&lt;div style=&quot;border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; &quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: 16px; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#5C8137&quot;&gt;&lt;a href=&quot;http://www.etish.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.etish.org&lt;/a&gt;&amp;nbsp;&lt;/font&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#085193&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.eclipse.org/ormf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eclipse.org/ormf&lt;/a&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#085193&quot;&gt;&lt;span&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Arial&quot; size=&quot;1&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9px; &quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;span&gt;&lt;span&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Arial&quot; size=&quot;1&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9px; &quot;&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;img height=&quot;140&quot; width=&quot;600&quot; src=&quot;http://www.nabble.com/attachment/19243270/0/pastedGraphic.tiff&quot;&gt;&lt;/span&gt; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#085193&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Arial&quot; size=&quot;1&quot;&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt; &lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19243270&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Using-dbunit-with-Derby-autoincrement-tp19243270p19243270.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19158893</id>
	<title>Re: Problem using DBUnit</title>
	<published>2008-08-26T02:40:42Z</published>
	<updated>2008-08-26T02:40:42Z</updated>
	<author>
		<name>Roberto Lo Giacco-4</name>
	</author>
	<content type="html">which dbunit version are u using? it seems you are using an old
&lt;br&gt;version... if so, try to upgrade to latest version
&lt;br&gt;&lt;br&gt;2008/8/26 Frans Thamura &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19158893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;frans@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hi there
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i use dbunit and i got this , i never got this error before
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the task that i try is to dump the mysql 5.0 schema to become dbunit.xml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; any idea
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this is my ant task
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;target name=&amp;quot;dbexport&amp;quot; description=&amp;quot;dump database to xml&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;echo message=&amp;quot;Dump Database to XML&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;mkdir dir=&amp;quot;${build.dir}/generated/dbxml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;taskdef
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name=&amp;quot;dbunit&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;classname=&amp;quot;org.dbunit.ant.DbUnitTask&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;classpathref=&amp;quot;classpath&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dbunit driver=&amp;quot;${db.driver}&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url=&amp;quot;${db.url}&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;userid=&amp;quot;${db.user}&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;password=&amp;quot;${db.password}&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;export
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;format=&amp;quot;xml&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dest=&amp;quot;${build.dir}/src/sql/${project.name}-${project.version}-export.xml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!--dest=&amp;quot;${build.dir}/generated/dbxml/${project.name}-${project.version}-export.xml&amp;quot;/&amp;gt;--&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/dbunit&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;[dbunit] org.dbunit.dataset.RowOutOfBoundsException: 6 &amp;gt;= 6
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.dbunit.dataset.AbstractTable.assertValidRowIndex(AbstractTable.java:61)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.dbunit.dataset.AbstractTable.assertValidRowIndex(AbstractTable.java:46)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.dbunit.dataset.DefaultTable.getValue(DefaultTable.java:192)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.dbunit.dataset.stream.DataSetProducerAdapter.produce(DataSetProducerAdapter.java:93)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.dbunit.dataset.xml.XmlDataSetWriter.write(XmlDataSetWriter.java:84)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.dbunit.dataset.xml.XmlDataSet.write(XmlDataSet.java:112)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.dbunit.dataset.xml.XmlDataSet.write(XmlDataSet.java:100)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.dbunit.dataset.xml.XmlDataSet.write(XmlDataSet.java:89)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.dbunit.ant.Export.execute(Export.java:193)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.dbunit.ant.DbUnitTask.execute(DbUnitTask.java:317)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:597)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.apache.tools.ant.Task.perform(Task.java:348)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.apache.tools.ant.Target.execute(Target.java:357)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.apache.tools.ant.Target.performTasks(Target.java:385)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
&lt;br&gt;&amp;gt; &amp;nbsp; [dbunit] - addTableRows()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Frans Thamura
&lt;br&gt;&amp;gt; Meruvian Foundation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mobile: +62 855 7888 699
&lt;br&gt;&amp;gt; Linkedin: &lt;a href=&quot;http://www.linkedin.com/in/fthamura&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/fthamura&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan...
&lt;br&gt;&amp;gt; URL: &lt;a href=&quot;http://nagasakti.mervpolis.com/roller/mervnews/entry/jeni_training_compiere_dan_alfresco&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://nagasakti.mervpolis.com/roller/mervnews/entry/jeni_training_compiere_dan_alfresco&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; dbunit-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19158893&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Roberto Lo Giacco
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19158893&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-using-DBUnit-tp19154193p19158893.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19154193</id>
	<title>Problem using DBUnit</title>
	<published>2008-08-25T17:56:01Z</published>
	<updated>2008-08-25T17:56:01Z</updated>
	<author>
		<name>Frans Thamura-2</name>
	</author>
	<content type="html">hi there
&lt;br&gt;&lt;br&gt;i use dbunit and i got this , i never got this error before
&lt;br&gt;&lt;br&gt;the task that i try is to dump the mysql 5.0 schema to become dbunit.xml
&lt;br&gt;&lt;br&gt;any idea
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;this is my ant task
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;lt;target name=&amp;quot;dbexport&amp;quot; description=&amp;quot;dump database to xml&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;echo message=&amp;quot;Dump Database to XML&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;mkdir dir=&amp;quot;${build.dir}/generated/dbxml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;taskdef
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			name=&amp;quot;dbunit&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			classname=&amp;quot;org.dbunit.ant.DbUnitTask&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			classpathref=&amp;quot;classpath&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;dbunit driver=&amp;quot;${db.driver}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			 &amp;nbsp; &amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url=&amp;quot;${db.url}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			 &amp;nbsp; &amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;userid=&amp;quot;${db.user}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			 &amp;nbsp; &amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;password=&amp;quot;${db.password}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; 	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;&amp;lt;export
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	format=&amp;quot;xml&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	dest=&amp;quot;${build.dir}/src/sql/${project.name}-${project.version}-export.xml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		&amp;lt;!--dest=&amp;quot;${build.dir}/generated/dbxml/${project.name}-${project.version}-export.xml&amp;quot;/&amp;gt;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;/dbunit&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;[dbunit] org.dbunit.dataset.RowOutOfBoundsException: 6 &amp;gt;= 6
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.dbunit.dataset.AbstractTable.assertValidRowIndex(AbstractTable.java:61)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.dbunit.dataset.AbstractTable.assertValidRowIndex(AbstractTable.java:46)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.dbunit.dataset.DefaultTable.getValue(DefaultTable.java:192)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.dbunit.dataset.stream.DataSetProducerAdapter.produce(DataSetProducerAdapter.java:93)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.dbunit.dataset.xml.XmlDataSetWriter.write(XmlDataSetWriter.java:84)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.dbunit.dataset.xml.XmlDataSet.write(XmlDataSet.java:112)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.dbunit.dataset.xml.XmlDataSet.write(XmlDataSet.java:100)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.dbunit.dataset.xml.XmlDataSet.write(XmlDataSet.java:89)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.dbunit.ant.Export.execute(Export.java:193)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.dbunit.ant.DbUnitTask.execute(DbUnitTask.java:317)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at java.lang.reflect.Method.invoke(Method.java:597)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.apache.tools.ant.Task.perform(Task.java:348)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.apache.tools.ant.Target.execute(Target.java:357)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] 	at
&lt;br&gt;org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[dbunit] - addTableRows()
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-- 
&lt;br&gt;Frans Thamura
&lt;br&gt;Meruvian Foundation
&lt;br&gt;&lt;br&gt;Mobile: +62 855 7888 699
&lt;br&gt;Linkedin: &lt;a href=&quot;http://www.linkedin.com/in/fthamura&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/fthamura&lt;/a&gt;&lt;br&gt;&lt;br&gt;Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan...
&lt;br&gt;URL: &lt;a href=&quot;http://nagasakti.mervpolis.com/roller/mervnews/entry/jeni_training_compiere_dan_alfresco&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://nagasakti.mervpolis.com/roller/mervnews/entry/jeni_training_compiere_dan_alfresco&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;dbunit-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19154193&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/dbunit-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/dbunit-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-using-DBUnit-tp19154193p19154193.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19089773</id>
	<title>column name having double quote</title>
	<published>2008-08-21T07:29:32Z</published>
	<updated>2008-08-21T07:29:32Z</updated>
	<author>
		<name>siddhi</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am facing problem while loading the data into the database through a flat file.
&lt;br&gt;I column name of the table to be inserted starts and ends with double quote(eg. &amp;quot;column_name&amp;quot;).
&lt;br&gt;The xml file doesn't seem to accept the double quote.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Below is the sample xml
&lt;br&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;
&lt;br&gt;&amp;lt;dataset&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;table &amp;quot;column&amp;quot;=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/dataset&amp;gt; 
&lt;br&gt;&lt;br&gt;How can I overcome this issue?
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Siddhi&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/column-name-having-double-quote-tp19089773p19089773.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19089772</id>
	<title>column name having</title>
	<published>2008-08-21T07:29:17Z</published>
	<updated>2008-08-21T07:29:17Z</updated>
	<author>
		<name>siddhi</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am facing problem while loading the data into the database through a flat file.
&lt;br&gt;I column name of the table to be inserted starts and ends with double quote(eg. &amp;quot;column_name&amp;quot;).
&lt;br&gt;The xml file doesn't seem to accept the double quote.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Below is the sample xml
&lt;br&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;
&lt;br&gt;&amp;lt;dataset&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;table &amp;quot;column&amp;quot;=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/dataset&amp;gt; 
&lt;br&gt;&lt;br&gt;How can I overcome this issue?
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Siddhi&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/column-name-having-tp19089772p19089772.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18986109</id>
	<title>dbunit and hbase</title>
	<published>2008-08-14T10:28:37Z</published>
	<updated>2008-08-14T10:28:37Z</updated>
	<author>
		<name>Sheila</name>
	</author>
	<content type="html">Will dbunit work with hbase?&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dbunit-and-hbase-tp18986109p18986109.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18779591</id>
	<title>DBUnit and PostgreSQL Geometry Type Fields</title>
	<published>2008-08-01T10:47:29Z</published>
	<updated>2008-08-01T10:47:29Z</updated>
	<author>
		<name>timmsy</name>
	</author>
	<content type="html">We are using DBUnit to test against a PostgreSQL database. &amp;nbsp;We had an exception when dealing with a geometry data type field. &amp;nbsp;Has anyone else seen this problem? &amp;nbsp;
&lt;br&gt;&lt;br&gt;We are trying to use a custom data type factory.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DBUnit---Users-f27912.html&quot; embed=&quot;fixTarget[27912]&quot; target=&quot;_top&quot; &gt;DBUnit - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DBUnit-and-PostgreSQL-Geometry-Type-Fields-tp18779591p18779591.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18776207</id>
	<title>Re: Where does one set features in the JdbcBasedDBTestCase</title>
	<published>2008-08-01T07:55:00Z</published>
	<updated>2008-08-01T07:55:00Z</updated>
	<author>
		<name>Forsberg, Mike</name>
	</author>
	<content type="html">I've seem to have discovered how to set the features for DBUnit.
&lt;br&gt;&lt;br&gt;In my JdbcBasedDBTestCase I did the following...
&lt;br&gt;&lt;br&gt;protected IDatabaseTester newDatabaseTester() {
&lt;br&gt;&amp;nbsp; &amp;nbsp;JdbcDatabaseTester databaseTester = 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;new JdbcDatabaseTester( getDriverClass(), getConnectionUrl() ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public IDatabaseConnection getConnection() throws Exception {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	IDatabaseConnection connection = super.getConnection();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; connection.getConfig().
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setFeature(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	return connection;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;};
&lt;br&gt;&amp;nbsp; &amp;nbsp;databaseTester.setUsername( getUsername() );
&lt;br&gt;&amp;nbsp; &amp;nbsp;databaseTester.setPassword( getPassword() );
&lt;br&gt;&amp;nbsp; &amp;nbsp;return databaseTester;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Turns out that the default database tester for the JdbcBasedDBTestCase creates a new IDatabaseConnection each time it calls getConnection().
&lt;br&gt;&lt;br&gt;So I just wrapped it like above.
&lt;br&gt;&lt;br&gt;Hope I help someone else,
&lt;br&gt;&lt;br&gt;Big Mike
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18776207&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18776207&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user-bounces@...&lt;/a&gt;] On Behalf Of Forsberg, Mike
&lt;br&gt;Sent: Thursday, July 31, 2008 3:53 PM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18776207&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbunit-user@...&lt;/a&gt;
&lt;br&gt;Subject: [dbunit-user] Where does one set features in the JdbcBasedDBTestCase
&lt;br&gt;&lt;br&gt;I currently have a database with two table names in different schemas. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I've tried the following in my JdbcBasedDBTestCase...
&lt;br&gt;&lt;br&gt;protected IDatabaseTester newDatabaseTester() {
&lt;br&gt;&amp;nbsp; IDatabaseTester tester = super.newDatabaseTester();
&lt;br&gt;&amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; tester.getConnection().getConfig().setFeature(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES, true);
&lt;br&gt;&amp;nbsp; } catch (Exceptio