Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1504200
  • 博文数量: 3500
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 43870
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-03 20:31
文章分类

全部博文(3500)

文章存档

2008年(3500)

我的朋友

分类:

2008-05-04 21:00:12

一起学习
jianglibo 于 2004年 07月27日 发表 既然在eclipse环境下工作,最好所有相关的工作都能在它里面完成。hibernate自带了一个工具schemaExport,可以让你从map文件产生数据库的ddl。 在eclipse project中新建一个目录,schemae,然后新建两个文件。schemae.xml,schema.properties。 schema.properties的内容: neededClassPath=c:/hibernate-2.1.4/hibernate-2.1/hibernate2.jar;c:/hibernate-2.1.4/hibernate-2.1/lib/dom4j-1.4.jar;c:/hibernate-2.1.4/hibernate-2.1/lib/commons-collections-2.1.jar;c:/hibernate-2.1.4/hibernate-2.1/lib/commons-logging-1.0.3.jar;c:/hsqldb_1_7_1/hsqldb/lib/hsqldb.jar;D:/eclipse-SDK-2.1.2-win32/eclipse/workspace/fhjsj/bin/;D:/eclipse-SDK-2.1.2-win32/eclipse/workspace/fhjsj/fhjsj/WEB-INF/classes/ schema.xml的内容: 下载本文示例代码


用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具用ant来执行hibernate所自带sechmaExport的工具
阅读(133) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~