Oracle12c + Hibernate Tools4.4.2 の組み合わせで、Eclipse4.6よりDTOソースの自動生成を行っていますが、下記のエラーが出て生成されません。
org.jboss.tools.hibernate.runtime.spi.HibernateException: org.hibernate.mapping.Column(DUMMY) already exists in SYS.DUAL
Hibernate.cfg.xmlの内容は以下の通りです。(抜粋)
<hibernate-configuration> <session-factory> <property name="hibernate.bytecode.use_reflection_optimizer">true</property> <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property> <property name="hibernate.connection.password">kibou</property> <property name="hibernate.connection.url">jdbc:oracle:thin:@//localhost:1521/ChapDB</property> <property name="hibernate.connection.username">ycchn</property> <property name="hibernate.dialect">org.hibernate.dialect.Oracle12cDialect</property> <property name="hibernate.default_schema">ycchn</property> <property name="hibernate.show_sql">true</property> <mapping class="chap06app.Address" /> <mapping class="chap06app.Pref" /> </session-factory> </hibernate-configuration>もしお分かりになる方はご教示お願い致します。
あなたの回答
tips
プレビュー