Thx Gerald :-)
After looking more into the problem myself I realized that you were right!
Fixing the problem I got a new one about the size permitted by the JavaDB:
org.apache.derby.client.am.SqlException: A truncation error was encountered trying to shrink BLOB 'XX-RESOLVE-XX' to length 64000.
I thought the limit had changed to 2 GB, however I guess I can solve this problem dimply by choosing another DBMS.
[Message sent by forum member 'slingblade' (slingblade)]
http://forums.java.net/jive/thread.jspa?messageID=247969