Solved

Dbunit Blob

Posted on 2008-10-03
2
1,910 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
2 Comments
 
LVL 17

Accepted Solution

by:
contactkarthi earned 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Getting missing rows 16 58
how do i compare an object based on two fields 6 53
find age for two dates 5 49
DB2 VBA - How to use Form instead of InputBox? 2 55
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now