//数据库配置
public void configPlugin(Plugins me) {
DruidPlugin dp = new DruidPlugin
("jdbc:sqlserver://localhost:1433;DatabaseName=Store","sa", "123456");
me.add(dp);
ActiveRecordPlugin arp = new ActiveRecordPlugin(dp);
me.add(arp);
arp.addMapping("Products","id", Products.class);//产品表model
}
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: '`' 附近有语法错误。
项目:JFinal