예제 #1
0
 @Test
 public void getSqlInsert() throws JAXBException, FileNotFoundException {
   XmlLoadType loader;
   XmlLoader xmlLoader;
   loader = ObjectFactoryUtil.getLoadTypeBySrcXml(L1X).getXml();
   xmlLoader = new XmlLoader(loader, DomUtil.srcToDocument(D1X));
   assertThat(xmlLoader.getSqlInsert(loader), is(SQL));
   loader = ObjectFactoryUtil.getLoadTypeBySrcXml(L2X).getXml();
   xmlLoader = new XmlLoader(loader, DomUtil.srcToDocument(D2X));
   assertThat(xmlLoader.getSqlInsert(loader), is(SQL));
 }
예제 #2
0
 @BeforeClass
 public static void initClass() throws JAXBException, FileNotFoundException {
   JdlConnection jdlConnection = new JdlConnection(ObjectFactoryUtil.getJdbcTypeBySrcXml(CX));
   jdlConnection.getClass();
 }