Sounds great, thanks Manuel.

 

 

From: manuel aldana [mailto:aldana@gmx.de]
Sent: Thursday, September 16, 2010 5:00 AM
To: dbunit-user@lists.sourceforge.net
Subject: Re: [dbunit-user] Changing delimiter for CsvDataSet

 

I filed a ticket: https://sourceforge.net/tracker/?func=detail&aid=3067480&group_id=47439&atid=449491

Am working on a patch (I really need this feature). I will create private-library patch first (because I also need it quickly) but also attach patch to the feature-request-ticket.

On 09/15/2010 10:19 PM, John Hurst wrote:

Judging from the code it doesn't look like it's easy to configure the delimiter with CsvDataSet.

 

However, the CSV parser it uses does support an escape character, with default '\'. You could try escaping your commas.

 

Regards

 

John Hurst

 

On Thu, Sep 16, 2010 at 6:16 AM, manuel aldana <aldana@gmx.de> wrote:

Current delimiter for CsvDataSet is ',' which is not optimal, because several
strings can contain ','. I much prefer ';'. How can I reset the delimiter
for CsvDataSet?

thanks


--
 manuel aldana
 aldana@gmx.de
 software-engineering blog: http://www.aldana-online.de


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
dbunit-user mailing list
dbunit-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbunit-user




--
Life is interfering with my game

 
 
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
 
 
_______________________________________________
dbunit-user mailing list
dbunit-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbunit-user
  




-- 
 manuel aldana
 mail: aldana@gmx.de | manuel@aldana-online.de
 blog: www.aldana-online.de