做项目时,有时需要用hibernate反向映射表,很多时候会出现no entries available,无法选择项目文件夹进行生成,网上有一种说法是没有加入hibernate的特性,但我们明明就是用了hibernate的项目。解决方法就是,在工程的.project文件中,加上如下文字,说明此项目是hibernate项目。
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.hibernate.HibernateBuilder</name>
<arguments>
</arguments>
</buildCommand>
和
<natures>
<nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
如果映射过程中出现path must include project and resource name,则需要在.myhibernatedata中增加hibernate.cfg.xml的路径。
如:configFile=/Test/src/hibernate.cfg.xml
如果手动添加的hibernate 版本为3 以上,修改.myhibernatedata中的
version=3.0
如果myeclipse不能连接数据库,把 MyEclipse.sh 中的 Duser.language=en --> Duser.language=zh
分享到:
相关推荐
hibernate.query.substitutions yes 'Y', no 'N' ## select the classic query parser #hibernate.query.factory_class org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory #################...
支持对所有版本的excel的操作,4.0.0版本的poi的jar包
java学习笔记hibernate Note: Newer entries are automatically generated and the description might not match the actual issue resolution (i.e. a bug might not be a bug). Please refer to the particular ...
ABAP for all entries使用中注意的问题
这个东西是从别人的成果,我只是把它从网页上面复制到word里面了。不过根据本人实际测试for all entries 能不用就尽量不要用,如果是key field的时候可以考虑一下
Registry entries and MFC class that associates a file extension with a program.(20KB)
docker run -v /var/run/docker.sock:/var/run/docker.sock \ --read-only \ --security-opt=no-new-privileges \ logentries/docker-logentries \ -t < TOKEN> \ -j \ -a host= ` uname -n ` 您还可以使用不同的...
日志条目设置docker 镜像是一台 Linux 机器,就像任何其他机器一样,因此设置 LogEntries 就像在标准服务器上一样简单。 诀窍是知道在哪里输入命令。 如果您宁愿跳过该示例,而是在您自己的 Docker 容器上设置 Log...
这是Hadoop实战手册中提供的例子所需要的数据
Add entries to combo box.
可处理解压如下异常问题 only DEFLATED entries can have EXT descriptor
NULL 博文链接:https://zhenghuazhi.iteye.com/blog/1553347
entries
温斯顿-logentries-简单 简单的logentries winston 运输。 安装 $ winston-logentries-simple 用法 var winston = require ( 'winston' ) ; var logentries = require ( 'winston-logentries-simple' ) ; winston ...
Snapshots are available using the clever "snapshot" feature of the git server (see the "snapshot" link after all commit entries). NOTE: even though the download will be a bzip2 compressed tarball, ...
ErrorLog allows web developers quick and easy access to clearly formatted entries from the apache error_log file, viewable through a standard browser. It is designed with the developer in mind, with a...
python-logentries-api 这是Logentries API的Python包装器。 API对象术语遵循Logentries网站(而不是Logentries API)的语义。 和类模拟用户登录以创建适当的警报。 Logentries不认可或提供此功能,并且不提供任何...
array.prototype.entries 符合ES2015规范的Array.prototype.entries / polyfill / replacement可以使用到ES3。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 因为Array.prototype.entries依赖于...
How to Create Monitor Entries from a Transformation Routine
如果不可用或不Object.entries则调用其“填充”方法对Object.entries进行填充。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 最常见的用法: var assert = require ( 'assert' ) ; var entries =...