Here's how to get hibernate-tools 3.1beta4 to work, disabling any MyEclipse Hibernate functionality (NOTE: This is only meant as a workaround if you absolutely NEED hibernate-tools, following the steps below might seriously screw your Eclipse/MyEclipse installation. So please only proceed if you really know what you're doing!)
OK, on to the gory details...
以下翻译开始
- Locate the MyEclipse install location, it should contain two folders "plugins" and "features". Let's call this $MYECLIPSE.
进入MyEclipse目录,然后将找到plugins和feature两个目录,下面我们将MyEclipse的目录叫做$MYECLIPSE
- Create two folders named "disabled_plugins" and "disabled_features" in $MYECLIPSE.
在$MYECLIPSE建立两个空白目录disabled_plugins和disabled_feature
- Move the MyEclipse Hibernate feature (folder: $MYECLIPSE/features/com.genuitec.myeclipse.hibernate_4.0.100 ) to the "disabled_features" folder
把“$MYECLIPSE/features/com.genuitec.myeclipse.hibernate_4.0.100”目录移动到disabled_features中
- Move the following folders from $MYECLIPSE/plugins to "disabled_plugins":
- com.genuitec.eclipse.hibernate_4.0.100
- com.genuitec.myeclipse.hibernate_4.0.100
- org.hibernate.eclipse.console_4.0.100
- org.hibernate.eclipse.mapper_4.0.100
- org.hibernate.eclipse_4.0.100
把$MYECLIPSE/plugins 中以上的五个目录或文件拷贝到 disabled_plugins目录中
- Last step: remove the dependency from the main MyEclipse feature. Open the file $MYECLIPSE/features/com.genuitec.myeclipse.enterprise.workbench_4.0.100/feature.xml.
Locate the following snippet:
最后一步,修改“$MYECLIPSE/features/com.genuitec.myeclipse.enterprise.workbench_4.0.100/feature.xml”这个文件,找到下列代码
Code: |
<includes id="com.genuitec.myeclipse.hibernate" version="4.0.100" name="MyEclipse Hibernate Support"/>
|
... and comment it out, like:
注解它,修改后的代码如下
Code: |
<!-- <includes id="com.genuitec.myeclipse.hibernate" version="4.0.100" name="MyEclipse Hibernate Support"/> -->
|
Now restart Eclipse (preferably using "-clean" switch), install hibernate-tools 3.1 (if you have not already done so) and enjoy!
重新启动MyEcliplse然后按照正常安装插件的方式安装 Hibernate tools 3.1
分享到:
相关推荐
Myeclipse中hibernate反转
myEclipse使用hibernate图解
myeclipse下hibernate的用法,不需要写代码一步一步往下设置即可。
该文档详细讲述了在Myeclipse环境下的Hibernate配置方法,在文章的最后还给出了一个demo,是初学hibernate的利器。中文版更有利于大家的理解,翻译的还是很不错的。
myeclipse开发hibernate最新版,使用插件自动生成的,我希望能给大家,带来很大的帮助,我希望大家不要依赖只是了解一下好吗?开发的话还是要练得。
Myeclipse生成Hibernate映射文件
和JDBC比较一下,同样都是数据库中间件(DM,Database Middleware),JDBC利用SQL语言操作的是数据,而Hibernate则是利用自己的查询语言Hibernate Query Language(HQL虽然底层还是要转换成sql语言)操作的是持久化对象...
myeclipse+hibernate项目配置包 把包解压后倒入项目后 实现hibernate配置
myeclipse配置hibernate时出错
该例子可以先通过mysql建立数据库 利用myeclipse的逆向工程生成pojo(java简单对象),dao(数据库操作对象),hibernateSession类 快速构建数据库操作架构,适合初学者参考. 关于myeclipse的逆向工程视频可以参考myeclipse...
在Myeclipse中Hibernate配置Orcale10g
This quickstart presents the basic features, concepts, and techniques for getting started with Hibernate development using MyEclipse Enterprise Workbench. We do this while walking you through the ...
myeclipse搭建hibernate文档
摘要: 是位于帮助文件中的 MyEclipse Hibernate Quickstart 的中文翻译
myeclipse使用hibernate正向工程和逆向工程
myeclipse下hibernate入门,很不错的hibernate学习材料
在myeclipse中配置hibernate 自动生成配置文件在myeclipse中配置hibernate 自动生成配置文件
MyEclipse,Hibernate,视频介绍,相当详细
Myeclipse 环境下 Spring 集成Hibernate 示例
myeclipse下hibernate入门实例介绍