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: <mla...@us...> - 2003-08-01 02:31:54
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/oracle In directory sc8-pr-cvs1:/tmp/cvs-serv8792/java/org/dbunit/ext/oracle Added Files: OracleDataTypeFactory.java Log Message: Added Oracle data types factory. --- NEW FILE: OracleDataTypeFactory.java --- package org.dbunit.ext.oracle; import org.dbunit.dataset.datatype.DataType; import org.dbunit.dataset.datatype.DataTypeException; import org.dbunit.dataset.datatype.DefaultDataTypeFactory; import java.sql.Types; /** * Specialized factory that recognizes Oracle data types. * * <p> Copyright (c) 2002 OZ.COM. All Rights Reserved. </p> * @author manuel.laflamme * @since Jul 17, 2003 */ public class OracleDataTypeFactory extends DefaultDataTypeFactory { public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException { if (sqlType == Types.OTHER) { // BLOB if ("BLOB".equals(sqlTypeName)) { return DataType.BLOB; } // CLOB if ("CLOB".equals(sqlTypeName)) { return DataType.CLOB; } // TIMESTAMP if (sqlTypeName.startsWith("TIMESTAMP")) { return DataType.TIMESTAMP; } } return super.createDataType(sqlType, sqlTypeName); } } |
From: <mla...@us...> - 2003-08-01 02:31:14
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/oracle In directory sc8-pr-cvs1:/tmp/cvs-serv8713/oracle Log Message: Directory /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/oracle added to the repository |
From: <mla...@us...> - 2003-07-23 01:04:54
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/dataset/datatype In directory sc8-pr-cvs1:/tmp/cvs-serv20909/src/java/org/dbunit/dataset/datatype Modified Files: StringDataType.java Log Message: Fixed empty CLOB issue. Index: StringDataType.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/java/org/dbunit/dataset/datatype/StringDataType.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** StringDataType.java 18 Jul 2003 11:02:17 -0000 1.16 --- StringDataType.java 23 Jul 2003 01:04:52 -0000 1.17 *************** *** 100,104 **** { Clob clobValue = (Clob)value; ! return clobValue.getSubString(1, (int)clobValue.length()); } catch (SQLException e) --- 100,109 ---- { Clob clobValue = (Clob)value; ! int length = (int)clobValue.length(); ! if (length > 0) ! { ! return clobValue.getSubString(1, length); ! } ! return ""; } catch (SQLException e) |
From: <fsp...@us...> - 2003-07-22 06:33:22
|
Update of /cvsroot/dbunit/dbunit/docs In directory sc8-pr-cvs1:/tmp/cvs-serv27404/docs Modified Files: faq.html Log Message: Added a FAQ about p6spy Index: faq.html =================================================================== RCS file: /cvsroot/dbunit/dbunit/docs/faq.html,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** faq.html 26 Feb 2003 22:52:46 -0000 1.21 --- faq.html 22 Jul 2003 06:33:17 -0000 1.22 *************** *** 55,58 **** --- 55,59 ---- <li><a href="#AmbiguousTableNameException">Why do I get a AmbiguousTableNameException?</a></li> <li><a href="#flatxmlnull">How to specify NULL values with flat XML dataset?</a> + <li><a href="#p6spy">How to use DbUnit with p6spy?</a></li> <font color="#FF0000">(new)</font> </li> </ul> *************** *** 106,109 **** --- 107,140 ---- <h3><a name="flatxmlnull">How to specify NULL values with flat XML dataset</a></h3> <p>See FlatXmlDataSet documentation <a href="components.html#FlatXmlDataSet">here</a>.</p> + <h3><a name="p6spy">How to use DbUnit with p6spy</a></h3> + <p><cite>p6spy</cite> is a trasparent JDBC proxy-driver + specialized to log the statements performed against the actual driver you normally would use. + Using p6spy would allow to log the SQL statements issued by DbUnit. + See more at (<a href="http://www.p6spy.com">www.p6spy.com</a>). It could be useful to stick with version 1.1 + as 1.2 as some reported minor problems.</p> + <p>To install P6Spy, complete the following steps: + <ol> + <li>Put the p6spy.jar file in your classpath. + <li>Move spy.properties into a directory listed in your classpath. Unlike + JAR files, you do not directly reference your property file in the + classpath (e.g.: if you have the file c:\r\proj\confspy.properties make sure you + put c:\r\proj\conf in the classpath). + <li>Modify your application to use the P6Spy database driver i.e. + com.p6spy.engine.spy.P6SpyDriver. + <li>Modify the realdriver line in the spy.properties file to reflect the + wrapped database driver. An example of a modified realdriver line follows: + realdriver = oracle.jdbc.driver.OracleDriver + </ol> + Installation is complete. When you run your application, a spy.log file is + generated in the same directory from where you run the application. + The log file contains a list of all of the database statements + executed. You can change both the destination of spy.log and what it logs by + editing the spy.properties file.</p> + + + + + + <!-- #EndEditable --> <hr> |
From: <mla...@us...> - 2003-07-21 21:01:06
|
Update of /cvsroot/dbunit/dbunit/lib In directory sc8-pr-cvs1:/tmp/cvs-serv2991/lib Modified Files: junit.jar Log Message: Updated JUnit JAR to version 3.8.1 and added new default constructor in DatabaseTestCase. Index: junit.jar =================================================================== RCS file: /cvsroot/dbunit/dbunit/lib/junit.jar,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsYfvhKK and /tmp/cvskpLnFm differ |
From: <mla...@us...> - 2003-07-21 21:01:06
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit In directory sc8-pr-cvs1:/tmp/cvs-serv2991/src/java/org/dbunit Modified Files: DatabaseTestCase.java Log Message: Updated JUnit JAR to version 3.8.1 and added new default constructor in DatabaseTestCase. Index: DatabaseTestCase.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/java/org/dbunit/DatabaseTestCase.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** DatabaseTestCase.java 13 Jun 2002 17:24:55 -0000 1.8 --- DatabaseTestCase.java 21 Jul 2003 21:01:03 -0000 1.9 *************** *** 35,38 **** --- 35,42 ---- public abstract class DatabaseTestCase extends TestCase { + public DatabaseTestCase() + { + } + public DatabaseTestCase(String name) { |
From: <fsp...@us...> - 2003-07-21 06:45:50
|
Update of /cvsroot/dbunit/dbunit/src/sql In directory sc8-pr-cvs1:/tmp/cvs-serv18973/src/sql Added Files: db2xml.sql Log Message: --- NEW FILE: db2xml.sql --- -- DROP TABLE TEST_TABLE; -- DROP TABLE SECOND_TABLE; -- DROP TABLE EMPTY_TABLE; -- DROP TABLE PK_TABLE; -- DROP TABLE ONLY_PK_TABLE; -- DROP TABLE EMPTY_MULTITYPE_TABLE; -- DROP TABLE IDENTITY_TABLE; -- DROP TABLE TEST_IDENTITY_NOT_PK; -- DROP TABLE XMLTYPES; -- CREATE TABLE XMLTYPES -- (XMLVARCHAR DB2XML.XMLVARCHAR, -- XMLCLOB DB2XML.XMLCLOBNOT LOGGED NOT COMPACT, -- XMLFILE DB2XML.XMLFILE); ----------------------------------------------------------------------------- -- TEST_TABLE ----------------------------------------------------------------------------- -- DROP TABLE TEST_TABLE CREATE TABLE TEST_TABLE (COLUMN0 VARCHAR(32), COLUMN1 VARCHAR(32), COLUMN2 VARCHAR(32), COLUMN3 VARCHAR(32)); ----------------------------------------------------------------------------- -- SECOND_TABLE ----------------------------------------------------------------------------- -- DROP TABLE SECOND_TABLE CREATE TABLE SECOND_TABLE (COLUMN0 VARCHAR(32), COLUMN1 VARCHAR(32), COLUMN2 VARCHAR(32), COLUMN3 VARCHAR(32)); ----------------------------------------------------------------------------- -- EMPTY_TABLE ----------------------------------------------------------------------------- -- DROP TABLE EMPTY_TABLE CREATE TABLE EMPTY_TABLE (COLUMN0 VARCHAR(32), COLUMN1 VARCHAR(32), COLUMN2 VARCHAR(32), COLUMN3 VARCHAR(32)); ----------------------------------------------------------------------------- -- PK_TABLE ----------------------------------------------------------------------------- -- DROP TABLE PK_TABLE CREATE TABLE PK_TABLE (PK0 DECIMAL(31, 0) NOT NULL, PK1 DECIMAL(31, 0) NOT NULL, PK2 DECIMAL(31, 0) NOT NULL, NORMAL0 VARCHAR(32), NORMAL1 VARCHAR(32), PRIMARY KEY (PK0, PK1, PK2)); ----------------------------------------------------------------------------- -- ONLY_PK_TABLE ----------------------------------------------------------------------------- -- DROP TABLE ONLY_PK_TABLE CREATE TABLE ONLY_PK_TABLE (PK0 NUMERIC(31, 0) NOT NULL PRIMARY KEY); ----------------------------------------------------------------------------- -- EMPTY_MULTITYPE_TABLE ----------------------------------------------------------------------------- -- DROP TABLE EMPTY_MULTITYPE_TABLE CREATE TABLE EMPTY_MULTITYPE_TABLE (VARCHAR_COL VARCHAR(32), NUMERIC_COL DECIMAL(31, 0), TIMESTAMP_COL TIMESTAMP, VARBINARY_COL VARCHAR(254) FOR BIT DATA); ----------------------------------------------------------------------------- -- IDENTITY_TABLE ----------------------------------------------------------------------------- -- DROP TABLE IDENTITY_TABLE CREATE TABLE IDENTITY_TABLE (IDENTITY_TABLE_ID BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY ( START WITH +0 , INCREMENT BY +1 , NO CACHE ) NOT NULL, COLUMN0 VARCHAR(32), COLUMN1 VARCHAR(32), PRIMARY KEY (IDENTITY_TABLE_ID)); ----------------------------------------------------------------------------- -- IDENTITY_TABLE ----------------------------------------------------------------------------- -- DROP TABLE TEST_IDENTITY_NOT_PK CREATE TABLE TEST_IDENTITY_NOT_PK (COL01 BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY ( START WITH +0 , INCREMENT BY +1 , NO CACHE ) NOT NULL, COL02 VARCHAR(64)); |
From: <de...@us...> - 2003-07-18 11:02:20
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/dataset/datatype In directory sc8-pr-cvs1:/tmp/cvs-serv21572/src/java/org/dbunit/dataset/datatype Modified Files: StringDataType.java Log Message: Had to make public so that the ..db2.xmlextender.XmlExtenderDataType would compile under jdk1.4.2 Index: StringDataType.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/java/org/dbunit/dataset/datatype/StringDataType.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** StringDataType.java 17 May 2003 15:38:52 -0000 1.15 --- StringDataType.java 18 Jul 2003 11:02:17 -0000 1.16 *************** *** 32,36 **** public class StringDataType extends AbstractDataType { ! StringDataType(String name, int sqlType) { super(name, sqlType, String.class, false); --- 32,36 ---- public class StringDataType extends AbstractDataType { ! public StringDataType(String name, int sqlType) { super(name, sqlType, String.class, false); |
From: <de...@us...> - 2003-07-17 16:07:11
|
Update of /cvsroot/dbunit/dbunit In directory sc8-pr-cvs1:/tmp/cvs-serv32093 Modified Files: project.xml Log Message: Adding changes log Index: project.xml =================================================================== RCS file: /cvsroot/dbunit/dbunit/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** project.xml 17 Jul 2003 00:54:50 -0000 1.1 --- project.xml 17 Jul 2003 16:07:08 -0000 1.2 *************** *** 9,13 **** <!-- a short but descriptive name for the project --> ! <name>Maven example projects</name> <!-- The version of the project under development, e.g. --- 9,13 ---- <!-- a short but descriptive name for the project --> ! <name>DbUnit</name> <!-- The version of the project under development, e.g. *************** *** 119,125 **** <includes> <include>**/*Test.java</include> </includes> <excludes> ! <exclude></exclude> </excludes> </unitTest> --- 119,127 ---- <includes> <include>**/*Test.java</include> + <include>**/DbUnitTask*</include> </includes> <excludes> ! <exclude>**/TaskdefsTest*</exclude> ! <exclude>**/Abstract*Test*</exclude> </excludes> </unitTest> |
From: <de...@us...> - 2003-07-17 16:07:11
|
Update of /cvsroot/dbunit/dbunit/xdocs In directory sc8-pr-cvs1:/tmp/cvs-serv32093/xdocs Added Files: changes.xml Log Message: Adding changes log --- NEW FILE: changes.xml --- <?xml version="1.0"?> <document> <properties> <title>Changes</title> <author email="ep...@up...">Eric Pugh</author> </properties> <body> <release version="1.5.5" date="July 16, 2003"> <action dev="" type="update"> DatabaseDataSet improvements: faster access to metadata cache and keep original database table ordering. </action> <action dev="" type="update"> Better handling of the various data types in general. <B>WARNING!</B> New abstract methods have been added to the DataType class. This change may break your environment if you have implemented your own data types. </action> <action dev="" type="add"> New FlatXmlDataSet constructors that take an URL. </action> <action dev="" type="fix"> Fixed table name issue with case sensitive database. </action> <action dev="" type="fix"> <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=615636&group_id=47439&atid=449491">615636</a> & <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=735095&group_id=47439&atid=449491">735095</a> - Incorrect XML encoding. Better handling of the XML encoding while writing and reading XML datasets. InputStream and OutputStream methods in XML dataset implementations are no more deprecated. </action> <action dev="" type="fix"> <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736439&group_id=47439&atid=449491">736439</a> - Problems with InsertOperation and triggers. </action> <action dev="" type="fix"> <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736967&group_id=47439&atid=449491">736967</a> - Wrong scale for numeric value with the jConnect driver for Sybase ASE. </action> </release> </body> </document> |
From: <de...@us...> - 2003-07-17 16:07:04
|
Update of /cvsroot/dbunit/dbunit/xdocs In directory sc8-pr-cvs1:/tmp/cvs-serv32052/xdocs Log Message: Directory /cvsroot/dbunit/dbunit/xdocs added to the repository |
From: <de...@us...> - 2003-07-17 16:06:36
|
Update of /cvsroot/dbunit/dbunit/src/test/org/apache/tools/ant/taskdefs In directory sc8-pr-cvs1:/tmp/cvs-serv31951/src/test/org/apache/tools/ant/taskdefs Modified Files: TaskdefsTest.java Log Message: Tweaking the URL as it causes the CheckLinks plugin from Maven to fail... Ugh Index: TaskdefsTest.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/test/org/apache/tools/ant/taskdefs/TaskdefsTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TaskdefsTest.java 1 Mar 2003 06:51:17 -0000 1.3 --- TaskdefsTest.java 17 Jul 2003 16:06:33 -0000 1.4 *************** *** 20,24 **** * any, must include the following acknowlegement: * "This product includes software developed by the ! * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowlegement may appear in the software itself, * if and wherever such third-party acknowlegements normally appear. --- 20,24 ---- * any, must include the following acknowlegement: * "This product includes software developed by the ! * Apache Software Foundation (http://www.apache.org /)." * Alternately, this acknowlegement may appear in the software itself, * if and wherever such third-party acknowlegements normally appear. *************** *** 50,54 **** * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see ! * <http://www.apache.org/>. */ --- 50,54 ---- * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see ! * <http://www.apache.org />. */ |
From: <de...@us...> - 2003-07-17 16:06:36
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/util/xml In directory sc8-pr-cvs1:/tmp/cvs-serv31951/src/java/org/dbunit/util/xml Modified Files: XmlWriter.java Log Message: Tweaking the URL as it causes the CheckLinks plugin from Maven to fail... Ugh Index: XmlWriter.java =================================================================== RCS file: /cvsroot/dbunit/dbunit/src/java/org/dbunit/util/xml/XmlWriter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XmlWriter.java 19 Jun 2003 03:17:17 -0000 1.2 --- XmlWriter.java 17 Jul 2003 16:06:33 -0000 1.3 *************** *** 22,26 **** * if any, must include the following acknowledgment: * "This product includes software developed by the ! * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. --- 22,26 ---- * if any, must include the following acknowledgment: * "This product includes software developed by the ! * Apache Software Foundation (http://www.apache.org /)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. *************** *** 52,56 **** * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see ! * <http://www.apache.org/>. */ --- 52,56 ---- * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see ! * <http://www.apache.org />. */ |
From: <fsp...@us...> - 2003-07-17 12:07:00
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/db2/xmlextender In directory sc8-pr-cvs1:/tmp/cvs-serv23771/src/java/org/dbunit/ext/db2/xmlextender Added Files: XmlExtenderDataType.java Log Message: --- NEW FILE: XmlExtenderDataType.java --- /* * XmlExtenderDataType.java * * The DbUnit Database Testing Framework * Copyright (C)2002, Manuel Laflamme * * 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.db2.xmlextender; import org.dbunit.dataset.datatype.*; import java.util.*; public final class XmlExtenderDataType extends DefaultDataTypeFactory{ protected static final int SQL_TYPE = 2001; protected static final DataType DB2XML_XMLVARCHAR = new StringDataType( "DB2XML.XMLCLOB", SQL_TYPE); protected static final DataType DB2XML_XMLCLOB = new StringDataType( "DB2XML.XMLVARCHAR", SQL_TYPE); protected static final DataType DB2XML_XMLFILE = new StringDataType( "DB2XML.XMLFILE", SQL_TYPE); protected static Map TYPE_MAP = new HashMap(); static { TYPE_MAP.put("DB2XML.XMLCLOB", DB2XML_XMLCLOB); TYPE_MAP.put("DB2XML.XMLVARCHAR", DB2XML_XMLVARCHAR); TYPE_MAP.put("DB2XML.XMLFILE", DB2XML_XMLFILE); } /** * Wether or not DB2 XML Extender defines a datatype * @param name identifies the sql data type by name * (e.g.: DB2XML.XMLCLOB) * @param sqlType identifies the sql data type by the value * of the <code>TYPE_NAME</code> field returned by a call * like <code>connection.getDatabaseMetaData().getColumns(..)</code>. * @return true if both <code>sqlType</code> and <code>name</code> have * identify a type defined by the DB2 XML Extender - v8. * Currently these are the types defined: * <pre> * DATA_TYPE TYPE_NAME COLUMN_SIZE * 2001 "DB2XML"."XMLVARCHAR" 3000 * 2001 "DB2XML"."XMLCLOB" 2147483647 * 2001 "DB2XML"."XMLFILE" 512 * </pre> */ public static boolean defineDataType (String name, int sqlType) { if (sqlType == SQL_TYPE) { return TYPE_MAP.containsKey(name); } return false; } public static DataType createDataType(String name, int sqlType) { return (DataType) TYPE_MAP.get(name); } } |
From: <fsp...@us...> - 2003-07-17 12:07:00
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv23771/src/java/org/dbunit/ext/db2 Added Files: Db2Connection.java Db2DataTypeFactory.java Log Message: --- NEW FILE: Db2Connection.java --- /* * Db2Connection.java * * The DbUnit Database Testing Framework * Copyright (C)2002, Manuel Laflamme * * 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.db2; import org.dbunit.database.*; import org.dbunit.dataset.datatype.IDataTypeFactory; import java.sql.Connection; public class Db2Connection extends DatabaseConnection { private final IDataTypeFactory _dataTypeFactory = new Db2DataTypeFactory(); public Db2Connection(Connection connection, String schema) { super(connection, schema); } protected IDataTypeFactory getDataTypeFactory() { return _dataTypeFactory; } } --- NEW FILE: Db2DataTypeFactory.java --- /* * Db2DataTypeFactory.java * * The DbUnit Database Testing Framework * Copyright (C)2002, Manuel Laflamme * * 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.db2; import org.dbunit.dataset.datatype.DefaultDataTypeFactory; import org.dbunit.dataset.datatype.DataType; import org.dbunit.dataset.datatype.DataTypeException; import org.dbunit.ext.db2.xmlextender.*; public class Db2DataTypeFactory extends DefaultDataTypeFactory { public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException { if (XmlExtenderDataType.defineDataType(sqlTypeName, sqlType)) { return XmlExtenderDataType.createDataType(sqlTypeName, sqlType); } return super.createDataType(sqlType, sqlTypeName); } } |
From: <fsp...@us...> - 2003-07-17 12:06:37
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2/xmlextender In directory sc8-pr-cvs1:/tmp/cvs-serv23719/src/test/org/dbunit/ext/db2/xmlextender Added Files: XmlExtenderTest.java Log Message: --- NEW FILE: XmlExtenderTest.java --- package org.dbunit.ext.db2.xmlextender; import junit.framework.TestCase; public class XmlExtenderTest extends TestCase { public XmlExtenderTest(String s) { super(s); } public void testDefineDataType () { assertTrue(XmlExtenderDataType.defineDataType("DB2XML.XMLCLOB", 2001)); assertTrue(XmlExtenderDataType.defineDataType("DB2XML.XMLVARCHAR", 2001)); assertTrue(XmlExtenderDataType.defineDataType("DB2XML.XMLFILE", 2001)); } public void testCreateDataType () { assertEquals(XmlExtenderDataType.createDataType("DB2XML.XMLVARCHAR", 2001), XmlExtenderDataType.DB2XML_XMLVARCHAR); assertEquals(XmlExtenderDataType.createDataType("DB2XML.XMLCLOB", 2001), XmlExtenderDataType.DB2XML_XMLCLOB); assertEquals(XmlExtenderDataType.createDataType("DB2XML.XMLFILE", 2001), XmlExtenderDataType.DB2XML_XMLFILE); } public void testTheTypes () { assertEquals(3, XmlExtenderDataType.TYPE_MAP.size()); } } |
From: <fsp...@us...> - 2003-07-17 12:06:37
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv23719/src/test/org/dbunit/ext/db2 Added Files: AllTests.java Db2Test.java Log Message: --- NEW FILE: AllTests.java --- /* * AllTests.java Feb 18, 2002 * * DbUnit Database Testing Framework * Copyright (C)2002, Manuel Laflamme * * 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.db2; import junit.framework.Test; import junit.framework.TestSuite; import org.dbunit.dataset.*; /** * @author Manuel Laflamme * @version $Revision: 1.1 $ */ public class AllTests { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(new TestSuite(org.dbunit.ext.db2.xmlextender.XmlExtenderTest.class)); return suite; } } --- NEW FILE: Db2Test.java --- package org.dbunit.ext.db2; import junit.framework.TestCase; public class Db2Test extends TestCase { public Db2Test(String s) { super(s); } } |
From: <fsp...@us...> - 2003-07-17 12:03:41
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2/xmlextender In directory sc8-pr-cvs1:/tmp/cvs-serv23334/xmlextender Log Message: Directory /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2/xmlextender added to the repository |
From: <fsp...@us...> - 2003-07-17 12:03:32
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv23315/db2 Log Message: Directory /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext/db2 added to the repository |
From: <fsp...@us...> - 2003-07-17 12:03:13
|
Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext In directory sc8-pr-cvs1:/tmp/cvs-serv23276/ext Log Message: Directory /cvsroot/dbunit/dbunit/src/test/org/dbunit/ext added to the repository |
From: <fsp...@us...> - 2003-07-17 09:08:35
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/db2/xmlextender In directory sc8-pr-cvs1:/tmp/cvs-serv27994/xmlextender Log Message: Directory /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/db2/xmlextender added to the repository |
From: <fsp...@us...> - 2003-07-17 09:07:18
|
Update of /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv27833/db2 Log Message: Directory /cvsroot/dbunit/dbunit/src/java/org/dbunit/ext/db2 added to the repository |
From: <de...@us...> - 2003-07-17 00:54:53
|
Update of /cvsroot/dbunit/dbunit In directory sc8-pr-cvs1:/tmp/cvs-serv24559 Added Files: project.properties project.xml LICENSE.txt Log Message: First cut of Maven based build. It builds the code, and run's most or the testcases. Try it with the new maven b10 build! --- NEW FILE: project.properties --- maven.xdoc.date=left maven.xdoc.version=${pom.currentVersion} --- NEW FILE: project.xml --- <?xml version="1.0" encoding="ISO-8859-1"?> <project> <!-- the version of maven's project object model --> <pomVersion>3</pomVersion> <!-- a unique name for this project --> <id>dbunit</id> <!-- a short but descriptive name for the project --> <name>Maven example projects</name> <!-- The version of the project under development, e.g. 1.1, 1.2, 2.0-dev --> <currentVersion>1.6-dev</currentVersion> <!-- details about the organization that 'owns' the project --> <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org/</url> <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo> </organization> <!-- the year the project started --> <inceptionYear>2002</inceptionYear> <package>org.dbunit</package> <logo>http://www.dbunit.org/images/logo.jpg</logo> <description> DbUnit is a JUnit extension (also usable from 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. </description> <!-- a short description of what the project does --> <shortDescription> DbUnit is a JUnit extension targeted for database-driven projects </shortDescription> <!-- the project home page --> <url>http://www.dbunit.org</url> <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=47439&atid=449491</issueTrackingUrl> <siteAddress>www.dbunit.org</siteAddress> <siteDirectory></siteDirectory> <distributionDirectory></distributionDirectory> <!-- the version control repository and http url for online access the connection element has the form: scm:<system>:<system specific connection string> --> <repository> <connection>scm:cvs:pserver:an...@cv...:/cvsroot/dbunit:dbunit</connection> <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dbunit/dbunit</url> </repository> <!-- any mailing lists for the project --> <mailingLists/> <!-- who the developers are for the project --> <developers> <developer> <name>David Eric Pugh</name> <id>dep4b</id> <email>ep...@up...</email> <organization>Upstate</organization> <roles> <role>Java Developer</role> </roles> </developer> </developers> <!-- jar files the project is dependent on --> <dependencies> <dependency> <id>ant</id> <version>1.5.3-1</version> </dependency> <dependency> <id>crimson</id> <version>1.1.3</version> </dependency> <dependency> <id>junit</id> <version>3.8.1</version> </dependency> <dependency> <id>hsqldb</id> <version>1.7.1</version> </dependency> <dependency> <id>servletapi</id> <version>2.3</version> </dependency> <dependency> <id>poi</id> <version>1.8.0-dev-20020919</version> </dependency> <dependency> <id>mockobjects:mockobjects-0.07-core</id> <jar>mockobjects-0.07-core.jar</jar> </dependency> <dependency> <id>mockobjects:mockobjects-0.07-jdk1.3</id> <jar>mockobjects-0.07-jdk1.3.jar</jar> <version/> </dependency> <dependency> <id>mm-mysql</id> <version>2.0.13-bin</version> </dependency> </dependencies> <!-- build information for the project --> <build> <nagEmailAddress></nagEmailAddress> <sourceDirectory>${basedir}/src/java</sourceDirectory> <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory> <unitTest> <includes> <include>**/*Test.java</include> </includes> <excludes> <exclude></exclude> </excludes> </unitTest> <resources> <resource> <directory>${basedir}/src/conf</directory> <includes> <include>*.properties</include> </includes> </resource> </resources> </build> </project> --- NEW FILE: LICENSE.txt --- The DbUnit Database Testing Framework Copyright (C)2002, Manuel Laflamme 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 |
From: <mla...@us...> - 2003-07-16 21:13:46
|
Update of /cvsroot/dbunit/dbunit/docs In directory sc8-pr-cvs1:/tmp/cvs-serv22281/docs Modified Files: Tag: branch-1-5 changes.html index.html Log Message: Doc update for DbUnit 1.5.5 Index: changes.html =================================================================== RCS file: /cvsroot/dbunit/dbunit/docs/changes.html,v retrieving revision 1.27.2.4 retrieving revision 1.27.2.5 diff -C2 -d -r1.27.2.4 -r1.27.2.5 *** changes.html 15 Jul 2003 20:54:43 -0000 1.27.2.4 --- changes.html 16 Jul 2003 21:13:44 -0000 1.27.2.5 *************** *** 46,50 **** <h2>History of Changes</h2> <a name="1.5.5"> ! <h3>Version 1.5.5 (July 1?, 2003)</h3> </a> <ul> --- 46,50 ---- <h2>History of Changes</h2> <a name="1.5.5"> ! <h3>Version 1.5.5 (July 16, 2003)</h3> </a> <ul> Index: index.html =================================================================== RCS file: /cvsroot/dbunit/dbunit/docs/index.html,v retrieving revision 1.28.2.3 retrieving revision 1.28.2.4 diff -C2 -d -r1.28.2.3 -r1.28.2.4 *** index.html 15 Jul 2003 20:54:43 -0000 1.28.2.3 --- index.html 16 Jul 2003 21:13:44 -0000 1.28.2.4 *************** *** 59,63 **** </a> <ul> ! <li>2003-07-1? - Version 1.5.5 released. See <a href="changes.html#1.5.5">changes</a>.</li> <li>2003-04-04 - Version 1.5.1 released. See <a href="changes.html#1.5.1">changes</a>.</li> <li>2003-03-01 - Version 1.5 released. See <a href="changes.html#1.5">changes</a>.</li> --- 59,64 ---- </a> <ul> ! <li>2003-07-16 - Federico Spinazzi joined the DbUnit developement team.</li> ! <li>2003-07-16 - Version 1.5.5 released. See <a href="changes.html#1.5.5">changes</a>.</li> <li>2003-04-04 - Version 1.5.1 released. See <a href="changes.html#1.5.1">changes</a>.</li> <li>2003-03-01 - Version 1.5 released. See <a href="changes.html#1.5">changes</a>.</li> |
From: <mla...@us...> - 2003-07-15 20:54:47
|
Update of /cvsroot/dbunit/dbunit/docs In directory sc8-pr-cvs1:/tmp/cvs-serv4548/docs Modified Files: Tag: branch-1-5 changes.html download.html index.html Log Message: Update for 1.5.5 release. Index: changes.html =================================================================== RCS file: /cvsroot/dbunit/dbunit/docs/changes.html,v retrieving revision 1.27.2.3 retrieving revision 1.27.2.4 diff -C2 -d -r1.27.2.3 -r1.27.2.4 *** changes.html 5 Apr 2003 02:27:17 -0000 1.27.2.3 --- changes.html 15 Jul 2003 20:54:43 -0000 1.27.2.4 *************** *** 45,48 **** --- 45,76 ---- <td class="body" valign="top"> <!-- #BeginEditable "body" --> <h2>History of Changes</h2> + <a name="1.5.5"> + <h3>Version 1.5.5 (July 1?, 2003)</h3> + </a> + <ul> + <li>Changes: </li> + <ul> + <li>DatabaseDataSet improvements: faster access to metadata cache and keep original database table ordering.</li> + <li>Better handling of the various data types in general. <b>WARNING!</b> New abstract methods have been added to the DataType class. This change may break your environment if you have implemented your own data types.</li> + <li>Do not enable batched statement by default anymore. Many JDBC drivers have problems with this feature.</li> + <li>New FlatXmlDataSet constructors that take an URL.</li> + </ul> + <li>Multiple bugfixes:</li> + <ul> + <li>Fixed table name issue with case sensitive database.</li> + <li> + <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=615636&group_id=47439&atid=449491">615636</a> & <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=735095&group_id=47439&atid=449491">735095</a> + - Incorrect XML encoding. Better handling of the XML encoding while writing and reading XML datasets. InputStream and OutputStream methods in XML dataset implementations are no more deprecated. + </li> + <li> + <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736439&group_id=47439&atid=449491">736439</a> + - Problems with InsertOperation and triggers. + </li> + <li> + <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=736967&group_id=47439&atid=449491">736967</a> + - Wrong scale for numeric value with the jConnect driver for Sybase ASE. + </li> + </ul> + </ul> <a name="1.5.1"> <h3>Version 1.5.1 (Apr 4, 2003)</h3> Index: download.html =================================================================== RCS file: /cvsroot/dbunit/dbunit/docs/download.html,v retrieving revision 1.22.2.1 retrieving revision 1.22.2.2 diff -C2 -d -r1.22.2.1 -r1.22.2.2 *** download.html 4 Apr 2003 13:14:31 -0000 1.22.2.1 --- download.html 15 Jul 2003 20:54:43 -0000 1.22.2.2 *************** *** 45,52 **** <td class="body" valign="top"> <!-- #BeginEditable "body" --> <h2>Download</h2> ! <p>The current Dbunit release is version 1.5.1. The distribution archive contains the compiled classes, the java code and the java API documentation.</p> ! <p><a href="http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=150554">Download ! version 1.5.1</a></p> <p>If your are not reading this page online, please visit the <a href="http://www.dbunit.org/">online version</a> of this site since a more recent version of Dbunit might be --- 45,52 ---- <td class="body" valign="top"> <!-- #BeginEditable "body" --> <h2>Download</h2> ! <p>The current Dbunit release is version 1.5.5. The distribution archive contains the compiled classes, the java code and the java API documentation.</p> ! <p><a href="http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=171703">Download ! version 1.5.5</a></p> <p>If your are not reading this page online, please visit the <a href="http://www.dbunit.org/">online version</a> of this site since a more recent version of Dbunit might be Index: index.html =================================================================== RCS file: /cvsroot/dbunit/dbunit/docs/index.html,v retrieving revision 1.28.2.2 retrieving revision 1.28.2.3 diff -C2 -d -r1.28.2.2 -r1.28.2.3 *** index.html 5 Apr 2003 02:27:17 -0000 1.28.2.2 --- index.html 15 Jul 2003 20:54:43 -0000 1.28.2.3 *************** *** 59,62 **** --- 59,63 ---- </a> <ul> + <li>2003-07-1? - Version 1.5.5 released. See <a href="changes.html#1.5.5">changes</a>.</li> <li>2003-04-04 - Version 1.5.1 released. See <a href="changes.html#1.5.1">changes</a>.</li> <li>2003-03-01 - Version 1.5 released. See <a href="changes.html#1.5">changes</a>.</li> |