hibernate与servlet连接数据库
/* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50018 Source Host : localhost:3306 Source Database : oa_sys Target Server Type : MYSQL Target Server Version : 50018 File Encoding : 65001 Date: 2013-02-27 21:23:33 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `user` -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL auto_increment, `username` varchar(255) NOT NULL , `password` varchar(255) NOT NULL, `address` varchar(255) default NULL, `age` int(11) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; , `password` varchar(255) NOT NULL, `address` varchar(255) default NULL, `age` int(11) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
文件列表
test1.zip
(预估有个32文件)
test1
.myhibernatedata
625B
.settings
org.eclipse.jdt.core.prefs
330B
src
com
org
core
dao
UserDAO.java
4KB
用户评论