package com.xdmz.business.publicservice.applyonline.product.action;
import java.util.Date;
import javax.faces.application.Application;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;
public class TEST {
public static void main(String[] args) {
ApplicationContext apc = new ClassPathXmlApplicationContext("spring.xml");
JdbcTemplate jdbc = apc.getBean(JdbcTemplate.class);
String sql = "update t_business_072_broker set creatime=?";
Object o = new Date();
int i = jdbc.update(sql , o);
System.out.println(i);
}
}