摘要:
子类会不会继承父类的静态方法?不会 静态方法只属于类本身 子类不可以重写父类的静态方法,但是可以通过子类对象访问父类静态方法 public class Parent { public static void staticMethod(){ System.out.println("staticpare 阅读全文
摘要:
开发环境:easyui,ssh2 背景:category(类别表),account(管理员表),product(商品表),category many to one account,product many to one category @Lazy="true"启动懒加载 今天做一个商品管理的模块, 阅读全文
摘要:
第一步:在sql的脚本上检查创建数据库的语句是否有设置utf8:create database shop default character set utf8; 第二步:在创建表的语句末尾加上:character set = utf8;使表格识别utf8; 第三步:因为操作系统是中文的,所以char 阅读全文