Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/05/2014, 05:22
d82ej9du7
 
Fecha de Ingreso: noviembre-2009
Mensajes: 7
Antigüedad: 14 años, 5 meses
Puntos: 0
Error entre Hibernate y Oracle: duplicate class name

Hola a todos.

Estoy intentando conectar Eclipse con Oracle usando Hibernate. He creado el fichero
hibernate.cfg.xml, su consola e hibernate.reveng.xml. Pero cuando voy a usar el motor de ingeniería inversa (Hibernate code Generation), al llegar al 57% del proceso, me da el siguiente error:

org.hibernate.cfg.JDBCBinderException: Duplicate class name 'AllFileGroups' generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS) '. Same name where generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS) '

En el fichero reveng no tengo tablas repetidas, este es su contenido:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >

<hibernate-reverse-engineering>
<table-filter match-name=".*"/>
<table-filter match-schema="AEROPUERTOORACLE" match-name="CONMPANIA_AEREA"/>
<table-filter match-schema="AEROPUERTOORACLE" match-name="AEROPUERTO"/>
<table-filter match-schema="AEROPUERTOORACLE" match-name="MODELOAVION_AEROPUERTO"/>
<table-filter match-schema="AEROPUERTOORACLE" match-name="MODELO_AVION"/>
<table-filter match-schema="AEROPUERTOORACLE" match-name="PAISES"/>
<table-filter match-schema="AEROPUERTOORACLE" match-name="PROGRAMA_VUELO"/>
<table-filter match-schema="AEROPUERTOORACLE" match-name="VUELO"/>
</hibernate-reverse-engineering>


¿Alguna idea? Desde ya, muchas gracias