eclipse使用hibernate插件生成反向工程问题
2012-04-20 00:46
483 查看
如果 hibernate的配置文件写成这样
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:ORCL</property>
<property name="hibernate.connection.username">gisway</property>
<property name="hibernate.connection.password">gisway</property>
<property name="hibernate.default_schema">gisway</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
</session-factory>
</hibernate-configuration>
红色部分. schema 小写的 schema 会造成 sys.log***什么什么表重复..要么没有. 如果改成 大写.就可以了
GISWAY
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:ORCL</property>
<property name="hibernate.connection.username">gisway</property>
<property name="hibernate.connection.password">gisway</property>
<property name="hibernate.default_schema">gisway</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
</session-factory>
</hibernate-configuration>
红色部分. schema 小写的 schema 会造成 sys.log***什么什么表重复..要么没有. 如果改成 大写.就可以了
GISWAY
相关文章推荐
- Eclipse使用hibernate插件反向生成实体类和映射文件
- 使用Eclipse的hibernate插件进行工程反转生成po类Could not initialize class org.hibernate.cfg.reveng.OverrideReposity
- 在Eclipse下手动搭建SSH框架,并使用Hibernate插件反向生成实体类和关系映射文件。
- 【SSH (九)】Eclipse使用hibernate插件反向生成实体类和映射文件
- Hibernate Tools for Eclipse插件的安装和反向工程的使用
- Eclipse使用hibernate插件反向生成实体类和映射文件
- 关于eclipse没有hibernate包的问题及更改反向工程文件生成的属性类型问题
- eclipse使用Hibernate tools反向工程插件遇到的几个问题
- 在Eclipse中使用Hibernate插件 *******生成代码
- 使用myeclipse的反向工程来生成相应的hibernate映射文件和POJO类
- 使用myeclipse的反向工程来生成相应的hibernate映射文件和POJO类
- 使用myeclipse的反向工程来生成相应的hibernate映射文件和POJO类
- 使用myeclipse的反向工程来生成相应的hibernate映射文件和POJO类
- eclipse使用jpa实现数据库反向生成Hibernate实体
- 使用myeclipse的反向工程来生成相应的hibernate映射文件和POJO类
- 使用myeclipse的反向工程来生成相应的hibernate映射文件和POJO类
- 使用myeclipse的hibernate reverse engineering(反向工程)的两个问题
- 使用myeclipse的反向工程来生成相应的hibernate映射文件和POJO类
- HibernateSynchronizer的安装与使用 eclipse hibernate 生成dao的插件使用方法
- 用HIBERNATE反向工程生成POJO后配置文件没有更新的问题