?
Solved

Dbunit Blob

Posted on 2008-10-03
2
Medium Priority
?
1,979 Views
Last Modified: 2012-05-05
I declared an Entity that contains a blob,
and I need to include a file inside the dbunit file.

I alredy checked the dbunit that they added support for
blobs in their  2.1 release
(Ability to import external file for binary data types like BLOB; the value
can be either a qualified URL or a file path name.).  I've been trying to
use that function, but is i not documented anywhere in the site.
0
Comment
Question by:ms_webtimize
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
contactkarthi earned 2000 total points
ID: 22670132
see if this comment from nhoj_p helps you

http://markmail.org/message/leg6tck5h5w6c5os?q=dbunit+blob+
0
 

Author Comment

by:ms_webtimize
ID: 22671697
Thank you for your comment contactkarthi. This might be a way to accomplish it. However we actually would like to leave the test data in the XML-files. I tried it with Base64 encoded binary data. This worked on Windows, however on the Sun-Server it didn't.  Do you know, how the dbunit people suggest to solve it?
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question