You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(7) |
Aug
(37) |
Sep
|
Oct
|
Nov
(1) |
Dec
(22) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(8) |
Feb
(68) |
Mar
(72) |
Apr
(149) |
May
(32) |
Jun
(46) |
Jul
(26) |
Aug
(59) |
Sep
(25) |
Oct
(18) |
Nov
(4) |
Dec
(3) |
| 2004 |
Jan
(90) |
Feb
(19) |
Mar
(38) |
Apr
(41) |
May
(44) |
Jun
(2) |
Jul
(10) |
Aug
|
Sep
(14) |
Oct
|
Nov
(1) |
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(15) |
Jun
(1) |
Jul
|
Aug
(9) |
Sep
|
Oct
(17) |
Nov
|
Dec
|
| 2006 |
Jan
(1) |
Feb
(16) |
Mar
|
Apr
(1) |
May
(48) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(29) |
| 2007 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
(23) |
Mar
(31) |
Apr
|
May
(26) |
Jun
(6) |
Jul
(1) |
Aug
|
Sep
(7) |
Oct
(1) |
Nov
(8) |
Dec
(8) |
| 2009 |
Jan
(5) |
Feb
(9) |
Mar
(1) |
Apr
|
May
(23) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(9) |
Oct
(28) |
Nov
(18) |
Dec
(8) |
| 2010 |
Jan
(19) |
Feb
(24) |
Mar
(3) |
Apr
|
May
(5) |
Jun
(4) |
Jul
|
Aug
(1) |
Sep
(11) |
Oct
|
Nov
(2) |
Dec
(1) |
| 2011 |
Jan
|
Feb
(7) |
Mar
|
Apr
(6) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(32) |
Oct
(6) |
Nov
|
Dec
|
|
From: <rlo...@us...> - 2008-03-17 22:27:04
|
Revision: 594
http://dbunit.svn.sourceforge.net/dbunit/?rev=594&view=rev
Author: rlogiacco
Date: 2008-03-17 15:26:57 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] prepare release release-2-2-1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 22:22:38 UTC (rev 593)
+++ trunk/pom.xml 2008-03-17 22:26:57 UTC (rev 594)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1-SNAPSHOT</version>
+ <version>2.2.1</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 22:22:41
|
Revision: 593
http://dbunit.svn.sourceforge.net/dbunit/?rev=593&view=rev
Author: rlogiacco
Date: 2008-03-17 15:22:38 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] rollback the release of dbunit-2.2.1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 22:21:37 UTC (rev 592)
+++ trunk/pom.xml 2008-03-17 22:22:38 UTC (rev 593)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1</version>
+ <version>2.2.1-SNAPSHOT</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 22:21:39
|
Revision: 592
http://dbunit.svn.sourceforge.net/dbunit/?rev=592&view=rev
Author: rlogiacco
Date: 2008-03-17 15:21:37 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] prepare release dbunit-2.2.1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 22:04:58 UTC (rev 591)
+++ trunk/pom.xml 2008-03-17 22:21:37 UTC (rev 592)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1-SNAPSHOT</version>
+ <version>2.2.1</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 22:05:09
|
Revision: 591
http://dbunit.svn.sourceforge.net/dbunit/?rev=591&view=rev
Author: rlogiacco
Date: 2008-03-17 15:04:58 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] rollback the release of dbunit-2.2.1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 22:04:08 UTC (rev 590)
+++ trunk/pom.xml 2008-03-17 22:04:58 UTC (rev 591)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1</version>
+ <version>2.2.1-SNAPSHOT</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 22:04:22
|
Revision: 590
http://dbunit.svn.sourceforge.net/dbunit/?rev=590&view=rev
Author: rlogiacco
Date: 2008-03-17 15:04:08 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] prepare release dbunit-2.2.1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 22:01:35 UTC (rev 589)
+++ trunk/pom.xml 2008-03-17 22:04:08 UTC (rev 590)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1-SNAPSHOT</version>
+ <version>2.2.1</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 22:01:57
|
Revision: 589
http://dbunit.svn.sourceforge.net/dbunit/?rev=589&view=rev
Author: rlogiacco
Date: 2008-03-17 15:01:35 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] rollback the release of release-2-2-1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 21:53:18 UTC (rev 588)
+++ trunk/pom.xml 2008-03-17 22:01:35 UTC (rev 589)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1</version>
+ <version>2.2.1-SNAPSHOT</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
</scm>
<issueManagement>
<system>SourceForge</system>
@@ -438,5 +438,4 @@
</profile>
</profiles>
-</project>
-
+</project>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 21:53:29
|
Revision: 588
http://dbunit.svn.sourceforge.net/dbunit/?rev=588&view=rev
Author: rlogiacco
Date: 2008-03-17 14:53:18 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] prepare release release-2-2-1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 21:51:33 UTC (rev 587)
+++ trunk/pom.xml 2008-03-17 21:53:18 UTC (rev 588)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1-SNAPSHOT</version>
+ <version>2.2.1</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2-1</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 21:51:52
|
Revision: 587
http://dbunit.svn.sourceforge.net/dbunit/?rev=587&view=rev
Author: rlogiacco
Date: 2008-03-17 14:51:33 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] rollback the release of dbunit-2.2.1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 21:47:29 UTC (rev 586)
+++ trunk/pom.xml 2008-03-17 21:51:33 UTC (rev 587)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1</version>
+ <version>2.2.1-SNAPSHOT</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 21:47:50
|
Revision: 586
http://dbunit.svn.sourceforge.net/dbunit/?rev=586&view=rev
Author: rlogiacco
Date: 2008-03-17 14:47:29 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
[maven-release-plugin] prepare release dbunit-2.2.1
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-17 21:41:37 UTC (rev 585)
+++ trunk/pom.xml 2008-03-17 21:47:29 UTC (rev 586)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2.1-SNAPSHOT</version>
+ <version>2.2.1</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2.1</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 21:42:33
|
Revision: 585
http://dbunit.svn.sourceforge.net/dbunit/?rev=585&view=rev
Author: rlogiacco
Date: 2008-03-17 14:41:37 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
updated ignore list
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
- *.log
.classpath
target
*.ser
junit*.properties
.project
spy.*
tmp
idea
.settings
release.properties
tempdb.lck
bin
+ *.log
.classpath
target
*.ser
junit*.properties
.project
spy.*
tmp
idea
.settings
release.properties
tempdb.lck
bin
full.xml
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-17 19:37:28
|
Revision: 584
http://dbunit.svn.sourceforge.net/dbunit/?rev=584&view=rev
Author: rlogiacco
Date: 2008-03-17 12:37:04 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
moved file transfer method from scpexe to scp
fixed repositories names
moved shell server hostname to match sourceforge suggestion
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-03-12 20:38:16 UTC (rev 583)
+++ trunk/pom.xml 2008-03-17 19:37:04 UTC (rev 584)
@@ -367,17 +367,17 @@
<distributionManagement>
<snapshotRepository>
<id>sf_snapshots</id>
- <name>SourceForge Snapshot</name>
- <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url>
+ <name>SourceForge Snapshots Repo</name>
+ <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url>
</snapshotRepository>
<repository>
<id>sf_official</id>
- <name>SourceForge Snapshot</name>
- <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url>
+ <name>SourceForge Releases Repo</name>
+ <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url>
</repository>
<site>
<id>sf_website</id>
- <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs</url>
+ <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs</url>
</site>
</distributionManagement>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-12 20:38:28
|
Revision: 583
http://dbunit.svn.sourceforge.net/dbunit/?rev=583&view=rev
Author: rlogiacco
Date: 2008-03-12 13:38:16 -0700 (Wed, 12 Mar 2008)
Log Message:
-----------
[ 1459205 ] Problem with Oracle 10g Recyclebin
Submitted by: Sebastien Le Callonec
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/database/DatabaseConfig.java
trunk/src/java/org/dbunit/database/DatabaseDataSet.java
trunk/src/site/xdoc/properties.xml
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-03-12 20:19:39 UTC (rev 582)
+++ trunk/src/changes/changes.xml 2008-03-12 20:38:16 UTC (rev 583)
@@ -20,7 +20,8 @@
<action dev="rlogiacco" type="fix" issue="1710743" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
<action dev="rlogiacco" type="fix" issue="1637089" due-to="Chuck Hill">Columns in ORDER BY Not Quoted</action>
<action dev="rlogiacco" type="fix" issue="1214536" due-to="Sebastien Le Callonec">ReplacementTable broken for multiple replacements</action>
- <action dev="rlogiacco" type="fix" issue="1721870" due-to="Sebastien Le Callonec">Null pointer exception in FlatXMLDataSet.write(compositeDS)</action>
+ <action dev="rlogiacco" type="fix" issue="1721870" due-to="Sebastien Le Callonec">Null pointer exception in FlatXMLDataSet.write(compositeDS)</action> <action dev="rlogiacco" type="fix" issue="1721870" due-to="Sebastien Le Callonec">Null pointer exception in FlatXMLDataSet.write(compositeDS)</action>
+ <action dev="rlogiacco" type="fix" issue="1459205" due-to="Sebastien Le Callonec">Problem with Oracle 10g Recyclebin</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Modified: trunk/src/java/org/dbunit/database/DatabaseConfig.java
===================================================================
--- trunk/src/java/org/dbunit/database/DatabaseConfig.java 2008-03-12 20:19:39 UTC (rev 582)
+++ trunk/src/java/org/dbunit/database/DatabaseConfig.java 2008-03-12 20:38:16 UTC (rev 583)
@@ -64,6 +64,8 @@
"http://www.dbunit.org/features/batchedStatements";
public static final String FEATURE_DATATYPE_WARNING =
"http://www.dbunit.org/features/datatypeWarning";
+ public static final String FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLES =
+ "http://www.dbunit.org/features/skipOracleRecycleBinTables";
private static final DefaultDataTypeFactory DEFAULT_DATA_TYPE_FACTORY =
new DefaultDataTypeFactory();
Modified: trunk/src/java/org/dbunit/database/DatabaseDataSet.java
===================================================================
--- trunk/src/java/org/dbunit/database/DatabaseDataSet.java 2008-03-12 20:19:39 UTC (rev 582)
+++ trunk/src/java/org/dbunit/database/DatabaseDataSet.java 2008-03-12 20:38:16 UTC (rev 583)
@@ -147,8 +147,14 @@
{
String schemaName = resultSet.getString(2);
String tableName = resultSet.getString(3);
-// String tableType = resultSet.getString(4);
-// System.out.println("schema=" + schemaName + ", table=" + tableName + ", type=" + tableType + "");
+
+ // skip oracle 10g recycle bin system tables if enabled
+ if(_connection.getConfig().getFeature(DatabaseConfig.FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLES)) {
+ // Oracle 10g workaround
+ // don't process system tables (oracle recycle bin tables) which
+ // are reported to the application due a bug in the oracle JDBC driver
+ if (tableName.startsWith("BIN$")) continue;
+ }
tableName = getQualifiedName(schemaName, tableName);
// prevent table name conflict
@@ -276,3 +282,4 @@
+
Modified: trunk/src/site/xdoc/properties.xml
===================================================================
--- trunk/src/site/xdoc/properties.xml 2008-03-12 20:19:39 UTC (rev 582)
+++ trunk/src/site/xdoc/properties.xml 2008-03-12 20:38:16 UTC (rev 583)
@@ -75,7 +75,27 @@
<td>Description</td>
<td>Enable or disable the warning message displayed when DbUnit encounter an unsupported data type.</td>
</tr>
- </table>
+ </table>
+
+ <a name="skiporaclereyclebintables"></a>
+ <h4>Skip Oracle 10g Recyclebin tables</h4>
+ <table border="1">
+ <tr>
+ <td>Feature ID</td>
+ <td>http://www.dbunit.org/features/skipOracleRecycleBinTables</td>
+ </tr>
+ <tr>
+ <td>Default</td>
+ <td>false</td>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>Enable or disable the processing of oracle recycle bin tables (tables starting with BIN$).
+ Oracle 10g recyle bin tables may break DbUnit's assumption of tables name uniqueness within a schema
+ since these table are case sensitive. Enable this feature for Oracle 10g databases until the
+ bug in the oracle driver is fixed, which incorrectly reports this system tables to DbUnit.</td>
+ </tr>
+ </table>
<h3>Properties</h3>
<h4><a name="escapepattern">Escape pattern</a></h4>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-12 20:28:49
|
Revision: 581
http://dbunit.svn.sourceforge.net/dbunit/?rev=581&view=rev
Author: rlogiacco
Date: 2008-03-12 13:15:41 -0700 (Wed, 12 Mar 2008)
Log Message:
-----------
[ 1214536 ] ReplacementTable broken for multiple replacements
Submitted by: S?\195?\169bastien Le Callonec
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/dataset/ReplacementTable.java
trunk/src/test/org/dbunit/dataset/ReplacementTableTest.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-03-12 20:13:15 UTC (rev 580)
+++ trunk/src/changes/changes.xml 2008-03-12 20:15:41 UTC (rev 581)
@@ -19,6 +19,7 @@
<action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
<action dev="rlogiacco" type="fix" issue="1710743" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
<action dev="rlogiacco" type="fix" issue="1637089" due-to="Chuck Hill">Columns in ORDER BY Not Quoted</action>
+ <action dev="rlogiacco" type="fix" issue="1214536" due-to="Sebastien Le Callonec">ReplacementTable broken for multiple replacements</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Modified: trunk/src/java/org/dbunit/dataset/ReplacementTable.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/ReplacementTable.java 2008-03-12 20:13:15 UTC (rev 580)
+++ trunk/src/java/org/dbunit/dataset/ReplacementTable.java 2008-03-12 20:15:41 UTC (rev 581)
@@ -120,96 +120,40 @@
_endDelim = endDelimiter;
}
- private String replaceSubstrings(String value)
- {
- logger.debug("replaceSubstrings(value=" + value + ") - start");
+ /**
+ * Replace occurrences of source in text with target. Operates directly on text.
+ */
+ private void replaceAll(StringBuffer text, String source, String target) {
+ int index = 0;
+ while((index = text.toString().indexOf(source, index)) != -1)
+ {
+ text.replace(index, index+source.length(), target);
+ index += target.length();
+ }
+ }
+
+ private String replaceStrings(String value, String lDelim, String rDelim) {
+ StringBuffer buffer = new StringBuffer(value);
- StringBuffer buffer = null;
-
for (Iterator it = _substringMap.entrySet().iterator(); it.hasNext();)
{
Map.Entry entry = (Map.Entry)it.next();
String original = (String)entry.getKey();
String replacement = (String)entry.getValue();
-
- int startIndex = 0;
- int lastEndIndex = 0;
- for(;;)
- {
- startIndex = value.indexOf(original, lastEndIndex);
- if (startIndex == -1)
- {
- if (buffer != null)
- {
- buffer.append(value.substring(lastEndIndex));
- }
- break;
- }
-
- if (buffer == null)
- {
- buffer = new StringBuffer();
- }
- buffer.append(value.substring(lastEndIndex, startIndex));
- buffer.append(replacement);
- lastEndIndex = startIndex + original.length();
- }
+ replaceAll(buffer, lDelim + original + rDelim, replacement);
}
- return buffer == null ? value : buffer.toString();
+ return buffer == null ? value : buffer.toString();
}
+
+ private String replaceSubstrings(String value)
+ {
+ return replaceStrings(value, "", "");
+ }
private String replaceDelimitedSubstrings(String value)
{
- logger.debug("replaceDelimitedSubstrings(value=" + value + ") - start");
-
- StringBuffer buffer = null;
-
- int startIndex = 0;
- int endIndex = 0;
- int lastEndIndex = 0;
- for(;;)
- {
- startIndex = value.indexOf(_startDelim, lastEndIndex);
- if (startIndex != -1)
- {
- endIndex = value.indexOf(_endDelim, startIndex + _startDelim.length());
- if (endIndex != -1)
- {
- if (buffer == null)
- {
- buffer = new StringBuffer();
- }
-
- String substring = value.substring(
- startIndex + _startDelim.length(), endIndex);
- if (_substringMap.containsKey(substring))
- {
- buffer.append(value.substring(lastEndIndex, startIndex));
- buffer.append(_substringMap.get(substring));
- }
- else
- {
- buffer.append(value.substring(
- lastEndIndex, endIndex + _endDelim.length()));
- }
-
- lastEndIndex = endIndex + _endDelim.length();
- }
- }
-
- // No more delimited substring
- if (startIndex == -1 || endIndex == -1)
- {
- if (buffer != null)
- {
- buffer.append(value.substring(lastEndIndex));
- }
- break;
- }
- }
-
- return buffer == null ? value : buffer.toString();
+ return replaceStrings(value, _startDelim, _endDelim);
}
////////////////////////////////////////////////////////////////////////
@@ -256,3 +200,4 @@
}
}
+
Modified: trunk/src/test/org/dbunit/dataset/ReplacementTableTest.java
===================================================================
--- trunk/src/test/org/dbunit/dataset/ReplacementTableTest.java 2008-03-12 20:13:15 UTC (rev 580)
+++ trunk/src/test/org/dbunit/dataset/ReplacementTableTest.java 2008-03-12 20:15:41 UTC (rev 581)
@@ -164,6 +164,58 @@
Assertion.assertEquals(expectedTable, actualTable);
}
+ public void testSubstringReplacementWithMultipleReplacementStrings() throws Exception
+ {
+ String tableName = "TABLE_NAME";
+
+ Column[] columns = new Column[] {
+ new Column("ONLY_SUBSTRING", DataType.CHAR),
+ new Column("START_SUBSTRING", DataType.CHAR),
+ new Column("MIDDLE_SUBSTRING", DataType.CHAR),
+ new Column("END_SUBSTRING", DataType.CHAR),
+ new Column("MULTIPLE_SUBSTRING", DataType.CHAR),
+ new Column("NO_SUBSTRING", DataType.CHAR),
+ new Column("NOT_A_STRING", DataType.NUMERIC),
+ new Column("NULL_VALUE", DataType.CHAR),
+ };
+
+ // Setup actual table
+ Object[] actualRow = new Object[] {
+ "substring",
+ "substring_",
+ "_substring_",
+ "_substring",
+ "substringsubstring substring",
+ "this is a string",
+ new Long(0),
+ null,
+ };
+
+ DefaultTable originalTable = new DefaultTable(tableName, columns);
+ originalTable.addRow(actualRow);
+ ReplacementTable actualTable = new ReplacementTable(originalTable);
+ actualTable.addReplacementSubstring("aaaa", "value");
+ actualTable.addReplacementSubstring("substring", "replacement");
+ actualTable.addReplacementSubstring("zzzz", "value");
+
+ // Setup expected table
+ Object[] expectedRow = new Object[] {
+ "replacement",
+ "replacement_",
+ "_replacement_",
+ "_replacement",
+ "replacementreplacement replacement",
+ "this is a string",
+ new Long(0),
+ null,
+ };
+
+ DefaultTable expectedTable = new DefaultTable(tableName, columns);
+ expectedTable.addRow(expectedRow);
+
+ Assertion.assertEquals(expectedTable, actualTable);
+ }
+
public void testDelimitedSubstringReplacement() throws Exception
{
String tableName = "TABLE_NAME";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-12 20:19:56
|
Revision: 582
http://dbunit.svn.sourceforge.net/dbunit/?rev=582&view=rev
Author: rlogiacco
Date: 2008-03-12 13:19:39 -0700 (Wed, 12 Mar 2008)
Log Message:
-----------
[ 1721870 ] Null pointer exception in FlatXMLDataSet.write(compositeDS)
Submitted by: S?\195?\169bastien Le Callonec
Modified Paths:
--------------
trunk/src/changes/changes.xml
Added Paths:
-----------
trunk/src/test/org/dbunit/dataset/CompositeDataSetIterationTest.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-03-12 20:15:41 UTC (rev 581)
+++ trunk/src/changes/changes.xml 2008-03-12 20:19:39 UTC (rev 582)
@@ -20,6 +20,7 @@
<action dev="rlogiacco" type="fix" issue="1710743" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
<action dev="rlogiacco" type="fix" issue="1637089" due-to="Chuck Hill">Columns in ORDER BY Not Quoted</action>
<action dev="rlogiacco" type="fix" issue="1214536" due-to="Sebastien Le Callonec">ReplacementTable broken for multiple replacements</action>
+ <action dev="rlogiacco" type="fix" issue="1721870" due-to="Sebastien Le Callonec">Null pointer exception in FlatXMLDataSet.write(compositeDS)</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Added: trunk/src/test/org/dbunit/dataset/CompositeDataSetIterationTest.java
===================================================================
--- trunk/src/test/org/dbunit/dataset/CompositeDataSetIterationTest.java (rev 0)
+++ trunk/src/test/org/dbunit/dataset/CompositeDataSetIterationTest.java 2008-03-12 20:19:39 UTC (rev 582)
@@ -0,0 +1,102 @@
+/*
+ *
+ * The DbUnit Database Testing Framework
+ * Copyright (C)2002-2004, DbUnit.org
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+package org.dbunit.dataset;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.sql.Connection;
+
+import junit.framework.TestCase;
+
+import org.dbunit.HypersonicEnvironment;
+import org.dbunit.database.DatabaseConnection;
+import org.dbunit.database.IDatabaseConnection;
+import org.dbunit.database.QueryDataSet;
+import org.dbunit.dataset.Column;
+import org.dbunit.dataset.CompositeDataSet;
+import org.dbunit.dataset.DefaultDataSet;
+import org.dbunit.dataset.DefaultTable;
+import org.dbunit.dataset.datatype.DataType;
+import org.dbunit.dataset.xml.FlatXmlDataSet;
+
+
+/**
+ * Test Case for issue #1721870
+ * @author Sebastien Le Callonnec
+ * @version $Revision: 398 $
+ * @since Mar 11, 2008
+ */
+public class CompositeDataSetIterationTest extends TestCase {
+
+ private Connection jdbcConnection;
+ private final String sqlFile = "hypersonic_simple_dataset.sql";
+ private IDatabaseConnection connection;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ this.jdbcConnection = HypersonicEnvironment.createJdbcConnection("mem:tempdb");
+ HypersonicEnvironment.executeDdlFile(new File("src/sql/" + sqlFile), jdbcConnection);
+ this.connection = new DatabaseConnection(jdbcConnection);
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+
+ HypersonicEnvironment.shutdown(this.jdbcConnection);
+ this.jdbcConnection.close();
+ }
+
+ public void testMe() throws Exception {
+
+ // 1. QueryDataSet
+ QueryDataSet queryDataSet = new QueryDataSet(connection);
+ queryDataSet.addTable("B", "select * from B");
+ queryDataSet.addTable("C", "select * from C");
+
+ // 2. Hard-coded data set
+ DefaultDataSet plainDataSet = new DefaultDataSet();
+
+ Column id = new Column("id", DataType.DOUBLE);
+ Column name = new Column("name", DataType.VARCHAR);
+
+ Column[] cols = { id, name };
+
+ DefaultTable aTable = new DefaultTable("D", cols);
+ Object[] row1 = { new Long(1), "D1" };
+ Object[] row2 = { new Long(2), "D2" };
+
+ aTable.addRow(row1);
+ aTable.addRow(row2);
+
+ plainDataSet.addTable(aTable);
+
+ // 3. Composite
+ CompositeDataSet compositeDataSet = new CompositeDataSet(queryDataSet, plainDataSet);
+
+ // 4. Write
+ try {
+ FlatXmlDataSet.write(compositeDataSet, new FileOutputStream("full.xml"));
+ } catch (Exception e) {
+ fail(e.getMessage());
+ }
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-12 20:13:53
|
Revision: 580
http://dbunit.svn.sourceforge.net/dbunit/?rev=580&view=rev
Author: rlogiacco
Date: 2008-03-12 13:13:15 -0700 (Wed, 12 Mar 2008)
Log Message:
-----------
fixed issue 1637089 originator
Modified Paths:
--------------
trunk/src/changes/changes.xml
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-03-12 20:12:36 UTC (rev 579)
+++ trunk/src/changes/changes.xml 2008-03-12 20:13:15 UTC (rev 580)
@@ -18,8 +18,7 @@
<action dev="rlogiacco" type="fix" issue="1712122" due-to="Chris R. Salch">Misleading error reported by RowOutOfBoundsException</action>
<action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
<action dev="rlogiacco" type="fix" issue="1710743" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
- <action dev="rlogiacco" type="fix" issue="1637089" due-to="Sebastien Le Callonec">Columns in ORDER BY Not Quoted</action>
- <action dev="rlogiacco" type="fix" issue="1214536" due-to="Sebastien Le Callonec">ReplacementTable broken for multiple replacements</action>
+ <action dev="rlogiacco" type="fix" issue="1637089" due-to="Chuck Hill">Columns in ORDER BY Not Quoted</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-12 20:12:52
|
Revision: 579
http://dbunit.svn.sourceforge.net/dbunit/?rev=579&view=rev
Author: rlogiacco
Date: 2008-03-12 13:12:36 -0700 (Wed, 12 Mar 2008)
Log Message:
-----------
fixed issue 1637089 originator
Modified Paths:
--------------
trunk/src/changes/changes.xml
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-03-11 20:16:33 UTC (rev 578)
+++ trunk/src/changes/changes.xml 2008-03-12 20:12:36 UTC (rev 579)
@@ -18,7 +18,8 @@
<action dev="rlogiacco" type="fix" issue="1712122" due-to="Chris R. Salch">Misleading error reported by RowOutOfBoundsException</action>
<action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
<action dev="rlogiacco" type="fix" issue="1710743" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
- <action dev="rlogiacco" type="fix" issue="1637089" due-to="S\xE9bastien Le Callonec">Columns in ORDER BY Not Quoted</action>
+ <action dev="rlogiacco" type="fix" issue="1637089" due-to="Sebastien Le Callonec">Columns in ORDER BY Not Quoted</action>
+ <action dev="rlogiacco" type="fix" issue="1214536" due-to="Sebastien Le Callonec">ReplacementTable broken for multiple replacements</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-03-11 20:16:39
|
Revision: 578
http://dbunit.svn.sourceforge.net/dbunit/?rev=578&view=rev
Author: rlogiacco
Date: 2008-03-11 13:16:33 -0700 (Tue, 11 Mar 2008)
Log Message:
-----------
[ 1637089 ] Columns in ORDER BY Not Quoted
Submitted by: S?\195?\169bastien Le Callonec
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/database/DatabaseDataSet.java
trunk/src/test/org/dbunit/database/DatabaseDataSetTest.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-29 22:40:20 UTC (rev 577)
+++ trunk/src/changes/changes.xml 2008-03-11 20:16:33 UTC (rev 578)
@@ -18,6 +18,7 @@
<action dev="rlogiacco" type="fix" issue="1712122" due-to="Chris R. Salch">Misleading error reported by RowOutOfBoundsException</action>
<action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
<action dev="rlogiacco" type="fix" issue="1710743" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
+ <action dev="rlogiacco" type="fix" issue="1637089" due-to="S\xE9bastien Le Callonec">Columns in ORDER BY Not Quoted</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Modified: trunk/src/java/org/dbunit/database/DatabaseDataSet.java
===================================================================
--- trunk/src/java/org/dbunit/database/DatabaseDataSet.java 2008-02-29 22:40:20 UTC (rev 577)
+++ trunk/src/java/org/dbunit/database/DatabaseDataSet.java 2008-03-11 20:16:33 UTC (rev 578)
@@ -96,7 +96,8 @@
{
sqlBuffer.append(", ");
}
- sqlBuffer.append(primaryKeys[i].getColumnName());
+ sqlBuffer.append(DataSetUtils.getQualifiedName(null, primaryKeys[i]
+ .getColumnName(), escapePattern));
}
@@ -274,3 +275,4 @@
+
Modified: trunk/src/test/org/dbunit/database/DatabaseDataSetTest.java
===================================================================
--- trunk/src/test/org/dbunit/database/DatabaseDataSetTest.java 2008-02-29 22:40:20 UTC (rev 577)
+++ trunk/src/test/org/dbunit/database/DatabaseDataSetTest.java 2008-03-11 20:16:33 UTC (rev 578)
@@ -109,7 +109,25 @@
String sql = DatabaseDataSet.getSelectStatement(schemaName, metaData, "'?'");
assertEquals("select statement", expected, sql);
}
+
+ public void testGetSelectStatementWithEscapedNamesAndOrderBy() throws Exception
+ {
+ String schemaName = "schema";
+ String tableName = "table";
+ Column[] columns = new Column[]{
+ new Column("c1", DataType.UNKNOWN),
+ new Column("c2", DataType.UNKNOWN),
+ new Column("c3", DataType.UNKNOWN),
+ };
+ String expected = "select 'c1', 'c2', 'c3' from 'schema'.'table' order by 'c1', 'c2'";
+
+ String[] primaryKeys = { "c1", "c2" };
+ ITableMetaData metaData = new DefaultTableMetaData(tableName, columns, primaryKeys);
+ String sql = DatabaseDataSet.getSelectStatement(schemaName, metaData, "'?'");
+ assertEquals("select statement", expected, sql);
+ }
+
public void testGetSelectStatementWithPrimaryKeys() throws Exception
{
String schemaName = "schema";
@@ -277,3 +295,4 @@
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-29 22:40:36
|
Revision: 577
http://dbunit.svn.sourceforge.net/dbunit/?rev=577&view=rev
Author: rlogiacco
Date: 2008-02-29 14:40:20 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
reverting changes for issue 1600498
Modified Paths:
--------------
trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java
trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java
Removed Paths:
-------------
trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java
Modified: trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java
===================================================================
--- trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java 2008-02-29 22:25:29 UTC (rev 576)
+++ trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java 2008-02-29 22:40:20 UTC (rev 577)
@@ -49,8 +49,7 @@
public static final DataType ORACLE_NCLOB = new OracleNClobDataType();
public static final DataType LONG_RAW = new BinaryStreamDataType(
"LONG RAW", Types.LONGVARBINARY);
- public static final DataType ORACLE_LONG = new OracleLongDataType();
-
+
public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
{
logger.debug("createDataType(sqlType=" + sqlType + ", sqlTypeName=" + sqlTypeName + ") - start");
@@ -91,7 +90,7 @@
return DataType.VARCHAR;
}
- // NCHAR
+ // NCHAR
if (sqlTypeName.startsWith("NCHAR"))
{
return DataType.CHAR;
@@ -108,11 +107,7 @@
{
return LONG_RAW;
}
- // LONG
- if ("LONG".equals(sqlTypeName))
- {
- return ORACLE_LONG;
- }
+
return super.createDataType(sqlType, sqlTypeName);
}
}
Deleted: trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java
===================================================================
--- trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java 2008-02-29 22:25:29 UTC (rev 576)
+++ trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java 2008-02-29 22:40:20 UTC (rev 577)
@@ -1,55 +0,0 @@
-/*
- *
- * The DbUnit Database Testing Framework
- * Copyright (C)2002-2004, DbUnit.org
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
-
- package org.dbunit.ext.oracle;
-
-import java.io.StringReader;
-import java.sql.PreparedStatement;
-import java.sql.SQLException;
-import java.sql.Types;
-
-import org.dbunit.dataset.datatype.DataType;
-import org.dbunit.dataset.datatype.StringDataType;
-import org.dbunit.dataset.datatype.TypeCastException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
- public class OracleLongDataType extends StringDataType {
-
- /**
- * Logger for this class
- */
- private static final Logger logger = LoggerFactory.getLogger(OracleLongDataType.class);
-
- public OracleLongDataType() {
- super("LONGVARCHAR", Types.LONGVARCHAR);
- }
-
- public void setSqlValue(Object value, int column,
- PreparedStatement statement) throws SQLException,
- TypeCastException {
-
- logger.debug("setSqlValue(value=" + value + ", column=" + column + ", statement=" + statement + ") - start");
- String s = DataType.asString(value);
- statement.setCharacterStream(column, new StringReader(s),
- s.length());
- }
- }
\ No newline at end of file
Modified: trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java
===================================================================
--- trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java 2008-02-29 22:25:29 UTC (rev 576)
+++ trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java 2008-02-29 22:40:20 UTC (rev 577)
@@ -132,15 +132,5 @@
DataType actual = createFactory().createDataType(sqlType, sqlTypeName);
assertSame("type", expected, actual);
}
-
- public void testCreateLongDataType() throws Exception
- {
- int sqlType = Types.OTHER;
- String sqlTypeName = "LONG";
- DataType expected = DataType.LONGVARCHAR;
- DataType actual = createFactory().createDataType(sqlType, sqlTypeName);
- assertSame("type", expected, actual);
- }
-
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-29 22:25:32
|
Revision: 576
http://dbunit.svn.sourceforge.net/dbunit/?rev=576&view=rev
Author: rlogiacco
Date: 2008-02-29 14:25:29 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
tried to fix tests for [ 1600498 ]
Modified Paths:
--------------
trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java
trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java
Added Paths:
-----------
trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java
Removed Paths:
-------------
trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java
Modified: trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java
===================================================================
--- trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java 2008-02-29 21:43:25 UTC (rev 575)
+++ trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java 2008-02-29 22:25:29 UTC (rev 576)
@@ -49,7 +49,7 @@
public static final DataType ORACLE_NCLOB = new OracleNClobDataType();
public static final DataType LONG_RAW = new BinaryStreamDataType(
"LONG RAW", Types.LONGVARBINARY);
- public static final DataType LONG_VAR_CHAR = new OracleLongVarCharDataType();
+ public static final DataType ORACLE_LONG = new OracleLongDataType();
public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
{
@@ -91,7 +91,7 @@
return DataType.VARCHAR;
}
- // NCHAR
+ // NCHAR
if (sqlTypeName.startsWith("NCHAR"))
{
return DataType.CHAR;
@@ -108,10 +108,10 @@
{
return LONG_RAW;
}
-
- if (sqlType == Types.LONGVARCHAR || "LONG".equals(sqlTypeName))
+ // LONG
+ if ("LONG".equals(sqlTypeName))
{
- return LONG_VAR_CHAR;
+ return ORACLE_LONG;
}
return super.createDataType(sqlType, sqlTypeName);
}
Copied: trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java (from rev 575, trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java)
===================================================================
--- trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java (rev 0)
+++ trunk/src/java/org/dbunit/ext/oracle/OracleLongDataType.java 2008-02-29 22:25:29 UTC (rev 576)
@@ -0,0 +1,55 @@
+/*
+ *
+ * The DbUnit Database Testing Framework
+ * Copyright (C)2002-2004, DbUnit.org
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+ package org.dbunit.ext.oracle;
+
+import java.io.StringReader;
+import java.sql.PreparedStatement;
+import java.sql.SQLException;
+import java.sql.Types;
+
+import org.dbunit.dataset.datatype.DataType;
+import org.dbunit.dataset.datatype.StringDataType;
+import org.dbunit.dataset.datatype.TypeCastException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+ public class OracleLongDataType extends StringDataType {
+
+ /**
+ * Logger for this class
+ */
+ private static final Logger logger = LoggerFactory.getLogger(OracleLongDataType.class);
+
+ public OracleLongDataType() {
+ super("LONGVARCHAR", Types.LONGVARCHAR);
+ }
+
+ public void setSqlValue(Object value, int column,
+ PreparedStatement statement) throws SQLException,
+ TypeCastException {
+
+ logger.debug("setSqlValue(value=" + value + ", column=" + column + ", statement=" + statement + ") - start");
+ String s = DataType.asString(value);
+ statement.setCharacterStream(column, new StringReader(s),
+ s.length());
+ }
+ }
\ No newline at end of file
Deleted: trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java
===================================================================
--- trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java 2008-02-29 21:43:25 UTC (rev 575)
+++ trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java 2008-02-29 22:25:29 UTC (rev 576)
@@ -1,54 +0,0 @@
-/*
- *
- * The DbUnit Database Testing Framework
- * Copyright (C)2002-2004, DbUnit.org
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
-
- package org.dbunit.ext.oracle;
-
-import java.io.StringReader;
-import java.sql.PreparedStatement;
-import java.sql.SQLException;
-import java.sql.Types;
-
-import org.dbunit.dataset.datatype.DataType;
-import org.dbunit.dataset.datatype.StringDataType;
-import org.dbunit.dataset.datatype.TypeCastException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
- public class OracleLongVarCharDataType extends StringDataType {
-/**
- * Logger for this class
- */
- private static final Logger logger = LoggerFactory.getLogger(OracleLongVarCharDataType.class);
-
- public OracleLongVarCharDataType() {
- super("LONG", Types.LONGVARCHAR);
- }
-
- public void setSqlValue(Object value, int column,
- PreparedStatement statement) throws SQLException,
- TypeCastException {
-
- logger.debug("setSqlValue(value=" + value + ", column=" + column + ", statement=" + statement + ") - start");
- String s = DataType.asString(value);
- statement.setCharacterStream(column, new StringReader(s),
- s.length());
- }
- }
\ No newline at end of file
Modified: trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java
===================================================================
--- trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java 2008-02-29 21:43:25 UTC (rev 575)
+++ trunk/src/test/org/dbunit/ext/oracle/OracleDataTypeFactoryTest.java 2008-02-29 22:25:29 UTC (rev 576)
@@ -132,5 +132,15 @@
DataType actual = createFactory().createDataType(sqlType, sqlTypeName);
assertSame("type", expected, actual);
}
+
+ public void testCreateLongDataType() throws Exception
+ {
+ int sqlType = Types.OTHER;
+ String sqlTypeName = "LONG";
+ DataType expected = DataType.LONGVARCHAR;
+ DataType actual = createFactory().createDataType(sqlType, sqlTypeName);
+ assertSame("type", expected, actual);
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-29 21:43:26
|
Revision: 575
http://dbunit.svn.sourceforge.net/dbunit/?rev=575&view=rev
Author: rlogiacco
Date: 2008-02-29 13:43:25 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
fixed typo in issue id
Modified Paths:
--------------
trunk/src/changes/changes.xml
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-29 21:25:09 UTC (rev 574)
+++ trunk/src/changes/changes.xml 2008-02-29 21:43:25 UTC (rev 575)
@@ -17,8 +17,7 @@
<action dev="rlogiacco" type="fix" issue="1786425" >Database schema with escape pattern doesn't work</action>
<action dev="rlogiacco" type="fix" issue="1712122" due-to="Chris R. Salch">Misleading error reported by RowOutOfBoundsException</action>
<action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
- <action dev="rlogiacco" type="fix" issue="1600498" due-to="Maxx">Oracle "LONG" datatype NOT supported</action>
- <action dev="rlogiacco" type="fix" issue="1328956" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
+ <action dev="rlogiacco" type="fix" issue="1710743" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-29 21:25:22
|
Revision: 574
http://dbunit.svn.sourceforge.net/dbunit/?rev=574&view=rev
Author: rlogiacco
Date: 2008-02-29 13:25:09 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
updated news reporting a new developer and a snapshot release
Modified Paths:
--------------
trunk/src/site/xdoc/index.xml
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2008-02-29 21:19:27 UTC (rev 573)
+++ trunk/src/site/xdoc/index.xml 2008-02-29 21:25:09 UTC (rev 574)
@@ -24,6 +24,14 @@
<section name="News">
<table border="1">
+ <tr>
+ <td>2008-02-29</td>
+ <td>Release 2.2.1 is on it's first steps. Snapshot release available on <a href="http://dbunit.sourceforge.net/repo/snapshots">DbUnit Snapshots Maven Repo</a>.</td>
+ </tr>
+ <tr>
+ <td>2007-12-01</td>
+ <td>Roberto Lo Giacco joined the project team.</td>
+ </tr>
<tr>
<td>2006-12-28</td>
<td>Version 2.2 finally released!!!. See <a href="changes-report.html#2.2">changes</a>.</td>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-29 21:19:38
|
Revision: 573
http://dbunit.svn.sourceforge.net/dbunit/?rev=573&view=rev
Author: rlogiacco
Date: 2008-02-29 13:19:27 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
[ 1710743 ] DataSourceDatabaseTest does not use setSchema()
Submitted by: Will Sargent
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/DataSourceDatabaseTester.java
trunk/src/java/org/dbunit/JndiDatabaseTester.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-29 21:15:01 UTC (rev 572)
+++ trunk/src/changes/changes.xml 2008-02-29 21:19:27 UTC (rev 573)
@@ -18,6 +18,7 @@
<action dev="rlogiacco" type="fix" issue="1712122" due-to="Chris R. Salch">Misleading error reported by RowOutOfBoundsException</action>
<action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
<action dev="rlogiacco" type="fix" issue="1600498" due-to="Maxx">Oracle "LONG" datatype NOT supported</action>
+ <action dev="rlogiacco" type="fix" issue="1328956" due-to="Will Sargent">DataSourceDatabaseTest does not use setSchema()</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Modified: trunk/src/java/org/dbunit/DataSourceDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/DataSourceDatabaseTester.java 2008-02-29 21:15:01 UTC (rev 572)
+++ trunk/src/java/org/dbunit/DataSourceDatabaseTester.java 2008-02-29 21:19:27 UTC (rev 573)
@@ -60,6 +60,10 @@
logger.debug("getConnection() - start");
assertTrue( "DataSource is not set", dataSource!=null );
- return new DatabaseConnection( dataSource.getConnection() );
+ if( getSchema() != null ){
+ return new DatabaseConnection( dataSource.getConnection(), getSchema() );
+ }else{
+ return new DatabaseConnection( dataSource.getConnection() );
+ }
}
}
Modified: trunk/src/java/org/dbunit/JndiDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/JndiDatabaseTester.java 2008-02-29 21:15:01 UTC (rev 572)
+++ trunk/src/java/org/dbunit/JndiDatabaseTester.java 2008-02-29 21:19:27 UTC (rev 573)
@@ -75,7 +75,11 @@
initialize();
}
- return new DatabaseConnection( dataSource.getConnection() );
+ if( getSchema() != null ){
+ return new DatabaseConnection( dataSource.getConnection(), getSchema() );
+ }else{
+ return new DatabaseConnection( dataSource.getConnection() );
+ }
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-29 21:15:11
|
Revision: 572
http://dbunit.svn.sourceforge.net/dbunit/?rev=572&view=rev
Author: rlogiacco
Date: 2008-02-29 13:15:01 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
[ 1600498 ] Oracle "LONG" datatype NOT supported
Submitted by: maxxyme
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java
Added Paths:
-----------
trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-29 10:56:51 UTC (rev 571)
+++ trunk/src/changes/changes.xml 2008-02-29 21:15:01 UTC (rev 572)
@@ -17,6 +17,7 @@
<action dev="rlogiacco" type="fix" issue="1786425" >Database schema with escape pattern doesn't work</action>
<action dev="rlogiacco" type="fix" issue="1712122" due-to="Chris R. Salch">Misleading error reported by RowOutOfBoundsException</action>
<action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
+ <action dev="rlogiacco" type="fix" issue="1600498" due-to="Maxx">Oracle "LONG" datatype NOT supported</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Modified: trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java
===================================================================
--- trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java 2008-02-29 10:56:51 UTC (rev 571)
+++ trunk/src/java/org/dbunit/ext/oracle/OracleDataTypeFactory.java 2008-02-29 21:15:01 UTC (rev 572)
@@ -49,7 +49,8 @@
public static final DataType ORACLE_NCLOB = new OracleNClobDataType();
public static final DataType LONG_RAW = new BinaryStreamDataType(
"LONG RAW", Types.LONGVARBINARY);
-
+ public static final DataType LONG_VAR_CHAR = new OracleLongVarCharDataType();
+
public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
{
logger.debug("createDataType(sqlType=" + sqlType + ", sqlTypeName=" + sqlTypeName + ") - start");
@@ -107,7 +108,11 @@
{
return LONG_RAW;
}
-
+
+ if (sqlType == Types.LONGVARCHAR || "LONG".equals(sqlTypeName))
+ {
+ return LONG_VAR_CHAR;
+ }
return super.createDataType(sqlType, sqlTypeName);
}
}
Added: trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java
===================================================================
--- trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java (rev 0)
+++ trunk/src/java/org/dbunit/ext/oracle/OracleLongVarCharDataType.java 2008-02-29 21:15:01 UTC (rev 572)
@@ -0,0 +1,54 @@
+/*
+ *
+ * The DbUnit Database Testing Framework
+ * Copyright (C)2002-2004, DbUnit.org
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+ package org.dbunit.ext.oracle;
+
+import java.io.StringReader;
+import java.sql.PreparedStatement;
+import java.sql.SQLException;
+import java.sql.Types;
+
+import org.dbunit.dataset.datatype.DataType;
+import org.dbunit.dataset.datatype.StringDataType;
+import org.dbunit.dataset.datatype.TypeCastException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+ public class OracleLongVarCharDataType extends StringDataType {
+/**
+ * Logger for this class
+ */
+ private static final Logger logger = LoggerFactory.getLogger(OracleLongVarCharDataType.class);
+
+ public OracleLongVarCharDataType() {
+ super("LONG", Types.LONGVARCHAR);
+ }
+
+ public void setSqlValue(Object value, int column,
+ PreparedStatement statement) throws SQLException,
+ TypeCastException {
+
+ logger.debug("setSqlValue(value=" + value + ", column=" + column + ", statement=" + statement + ") - start");
+ String s = DataType.asString(value);
+ statement.setCharacterStream(column, new StringReader(s),
+ s.length());
+ }
+ }
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-29 10:56:55
|
Revision: 571
http://dbunit.svn.sourceforge.net/dbunit/?rev=571&view=rev
Author: rlogiacco
Date: 2008-02-29 02:56:51 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
removed cvs ignores
Removed Paths:
-------------
trunk/.cvsignore
Deleted: trunk/.cvsignore
===================================================================
--- trunk/.cvsignore 2008-02-21 16:23:48 UTC (rev 570)
+++ trunk/.cvsignore 2008-02-29 10:56:51 UTC (rev 571)
@@ -1,9 +0,0 @@
-*.log
-.classpath
-target
-*.ser
-junit*.properties
-.project
-spy.*
-tmp
-idea
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-21 16:24:11
|
Revision: 570
http://dbunit.svn.sourceforge.net/dbunit/?rev=570&view=rev
Author: rlogiacco
Date: 2008-02-21 08:23:48 -0800 (Thu, 21 Feb 2008)
Log Message:
-----------
updated with recent fixes: 1849219, 1849165, 1786425, 1712122 and 1328956
Modified Paths:
--------------
trunk/src/changes/changes.xml
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-21 16:19:55 UTC (rev 569)
+++ trunk/src/changes/changes.xml 2008-02-21 16:23:48 UTC (rev 570)
@@ -12,6 +12,11 @@
<action dev="felipeal" type="add" issue="1897612" >Created H2 data factory</action>
<action dev="felipeal" type="add" issue="1798605" due-to="Vera Wahler">New point Datatype on MySqlDataTypeFactory</action>
<action dev="felipeal" type="fix" issue="1735506" due-to="Greg Morgan">Improvements on M2 build - Additional files</action>
+ <action dev="rlogiacco" type="fix" issue="1849219" due-to="JensFransson">NPE in FlatDtdProducer.java at line 224</action>
+ <action dev="rlogiacco" type="fix" issue="1849165" due-to="Markus Thielen">Bug in XmlWriter / escapeXml</action>
+ <action dev="rlogiacco" type="fix" issue="1786425" >Database schema with escape pattern doesn't work</action>
+ <action dev="rlogiacco" type="fix" issue="1712122" due-to="Chris R. Salch">Misleading error reported by RowOutOfBoundsException</action>
+ <action dev="rlogiacco" type="fix" issue="1328956" due-to="Reuben Firmin">NPE In InsertIdentityOperation</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|