(no subject)

View: New views
2 Messages — Rating Filter:   Alert me  

(no subject)

by kalpana prakasam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,
   This is my table definition.
   create table example(name varchar(25),id int(50) not null,m1 tinyint(1))
   This is my XML file
   
    <?xml version='1.0' encoding='UTF-8'?>
    <dataset>
    <table name="example">
    <column>name</column>
    <column>id</column>
    <column>m1</column>
    <row>
     <value>robi</value>
     <value>1</value>
     <value></value>
   </row>
   </table>
   </dataset>

   while populating data dbunit expect a value for m1, but it is a nullable column.Only for type tinyint dbunit expect a value even if it is a nullable column. But i want to populate data without a value for the column m1.please try and reply me.


Thanks



      See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
dbunit-user mailing list
dbunit-user@...
https://lists.sourceforge.net/lists/listinfo/dbunit-user

Parent Message unknown Re: (no subject)

by Matthias Gommeringer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Kalpana,

I was able to reproduce this problem and created a bug report #2831696 on the sourceforge tracker. I am currently working on a fix and will keep you up-to-date via the tracker comments.

rgds,
matthias

> -----Ursprüngliche Nachricht-----
> Von: "kalpana prakasam" <kalpanaprakasam@...>
> Gesendet: 03.08.09 11:11:44
> An: dbunit-user@...
> Betreff: [dbunit-user] (no subject)


>
> Hi,
>    This is my table definition.
>    create table example(name varchar(25),id int(50) not null,m1 tinyint(1))
>    This is my XML file
>    
>     <?xml version='1.0' encoding='UTF-8'?>
>     <dataset>
>     <table name="example">
>     <column>name</column>
>     <column>id</column>
>     <column>m1</column>
>     <row>
>      <value>robi</value>
>      <value>1</value>
>      <value></value>
>    </row>
>    </table>
>    </dataset>
>
>    while populating data dbunit expect a value for m1, but it is a nullable column.Only for type tinyint dbunit expect a value even if it is a nullable column. But i want to populate data without a value for the column m1.please try and reply me.
>
>
> Thanks
>
>
>
>       See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> dbunit-user mailing list
> dbunit-user@...
> https://lists.sourceforge.net/lists/listinfo/dbunit-user
>


________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
dbunit-user mailing list
dbunit-user@...
https://lists.sourceforge.net/lists/listinfo/dbunit-user