Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: dbunit
    • Labels:
      None

      Description

      I would like to use friendly unitils, dbunit, oacle and blobs

      So i have a dataset with blob that i use in a test.

      The unitils-default.properties defines the following properties
      org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.oracle=org.dbunit.ext.oracle.OracleDataTypeFactory
      org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.oracle9=org.dbunit.ext.oracle.OracleDataTypeFactory
      org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.oracle10=org.dbunit.ext.oracle.OracleDataTypeFactory

      dbunit introduces org.dbunit.ext.oracle.Oracle10DataTypeFactory in the 2.3.0 version
      unitils 3.3 uses dbunit version 2.2.0

      If i only add the following properties in my own unitils.properties
      database.dialect=oracle10
      org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.oracle10=org.dbunit.ext.oracle.Oracle10DataTypeFactory
      ...It is not took into account and does not work

      But if i add the following properties in my own unitils.properties
      database.dialect=oracle10
      org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.oracle=org.dbunit.ext.oracle.Oracle10DataTypeFactory
      org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.oracle10=org.dbunit.ext.oracle.Oracle10DataTypeFactory
      ...It does work with dbunit 2.3.0
      the blob is correctly inserted and i can retrieve it.

      ...but not with any of the more recent dbunit versions.

      I would appreciate to use unitils with dbunit 2.4.7 or 2.4.8, because some part of my code uses dbunit directly with FlatXmlDataSetBuilder, introduced in 2.4.7

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wokier Francois Wauquier
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: