Java code to import xml to DB