ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Shpak <o...@rap-x.com>
Subject Re: A shot in the dark about unit testing.
Date Fri, 19 Aug 2005 08:20:18 GMT

Just use a file name,

  <issue_attachments id="1" issue_id="100" description="Description 1"
              filename="file1" mimetype="mime/type1" size="115" 
data="data/files/1.gif"/>

where
`data` column is of BLOB type
and "data/files/1.gif" is a path relative to process's current path, not 
to the xml file.


Oleg

Nathan Maves wrote:

> We have been using DBUnit for a while now, but seeing as it is as  
> close to a dead project we are looking for something comparable.
>
> What is everyone else using?
>
> If you are using DBUnit and know how to use BLOB's with it you can be  
> my new hero.
>
> Nathan


Mime
View raw message