use of com.megagao.production.ssm.service.CustomService in project production_ssm by megagao.
the class test method test1.
@Test
public void test1() throws Exception {
@SuppressWarnings("resource") ApplicationContext context = new ClassPathXmlApplicationContext("spring/applicationContext-*.xml");
CustomService customService = (CustomService) context.getBean("customServiceImpl");
Custom custom = new Custom();
custom.setCustomId("1253");
custom.setCustomName("aaa");
customService.insert(custom);
}
Aggregations