Solved

Dbunit Blob

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.

696 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