props.load(new FileInputStream(new File(this.getClass()
.getResource("/com/eatle/persistent/generator/generatorConfig.properties").toURI())));
XmlElement selectKeyElement = new XmlElement("selectKey");
selectKeyElement.addAttribute(new Attribute("resultType", "long"));
selectKeyElement.addAttribute(new Attribute("keyProperty", "id"));
selectKeyElement.addAttribute(new Attribute("order", "BEFORE"));
selectKeyElement.addElement(new TextElement("select "
+ props.getProperty("sequenceName")
+ ".NEXTVAL as ID from dual "));
element.addElement(selectKeyElement);