Re: [appfuse-user] [solution] Inserting blobs using external files using DBUnit

2007-12-31 Thread Joachim Ansorg
Hi. thanks for your reply. The problem is the size of the binary data I use for the dbunit tests. Putting several megabytes into the xml wouldn't be usefule, I think :) The current solution works quite well for me. I can live with the path problem for now, I think. Regards, Joachim Hi there

Re: [appfuse-user] [solution] Inserting blobs using external files using DBUnit

2007-12-30 Thread Allan Ang
Hi there. This probably does not answer your question but why don't you try converting your binary data to Base64 strings and putting these strings in the XML and loading them the conventional way You will obviously need to reconvert the Base64 String back to the binary data again when you need

[appfuse-user] [solution] Inserting blobs using external files using DBUnit

2007-12-28 Thread Joachim Ansorg
Hi all, just for the archive. I found an old post in this list about this topic but no solution was found. Here it is now. Q: How do I insert binary data into the DB using dbunit? Without inserting the data in the xml itself, of course. A: It's simple. Although DBUnit claims to have support