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
Solved

Dbunit Blob

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

839 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