Is it possible to add Document objects (org.w3c.dom) directly to the database without using TransformerFactory to convert it first to string? 

And what if you have a File object?