mysql 一.基礎知識 1.創建表的時候寫注釋 create table test1 ( field_name int comment ‘字段的注釋’ )comment=‘表的注釋’; 2.修改表的注釋 alter table test1 comment ‘修改后的表的注釋’; 3.修改字段的注釋 alter table test1 modify column field_name int com
package test; import hibernate.News;import hibernate.NewsDAO; import java.io.UnsupportedEncodingException;import java.sql.Timestamp;import java.text.SimpleDateFormat;import java.util.Date;import java.util.Random; public class Main {//hibernate随机插入汉字