Solved

Dbunit Blob

Posted on 2008-10-03
2
1,938 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 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn different types of Android Layout and some basics of an Android App.
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 will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

733 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