hi,
i m using hibernate tool to regenerate the mappings and pojos(for jdk5) but it is not working with oracle 10g i tested the same script with mysql 5 and it works perfectly right
my and build.xml is as follows
Code:
<?xml version="1.0"?>
<!--
Hibernate Tools Ant Script.
-->
<project default="build" basedir=".">
<target name="build" depends="cfgxml">
<echo>Hibernate Reverse Engineering Ant Script</echo>
</target>
<taskdef
name="hibernatetool"
classname="org.hibernate.tool.ant.HibernateToolTask"
classpathref="libs"
>
</taskdef>
<property name="mainbuilddir" value="build" />
<property name="builddir" value="build/com/my/entity" />
<property name="hibernatecfg" value="hibernate.cfg.xml" />
<property name="hibernateprop" value="hibernate.properties" />
<property name="mappings" value="com/my/entity" />
<path id="libs">
<fileset dir="../libs">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="clean">
<delete dir="${mainbuilddir}" verbose="no" />
</target>
<target name="init" depends="clean">
<mkdir dir="${builddir}" />
</target>
<target name="hbm" depends="init">
<hibernatetool destdir="${builddir}" >
<jdbcconfiguration configurationfile="${hibernatecfg}"/>
<hbm2hbmxml destdir="${builddir}" />
</hibernatetool>
</target>
<target name="pojo" depends="hbm">
<hibernatetool destdir="${builddir}">
<jdbcconfiguration configurationfile="${hibernatecfg}">
<!--
<configuration propertyfile="${hibernateprop}">
<fileset dir="${mappings}" id="id">
<include name="**/*.hbm.xml"/>
</fileset>
</configuration>
-->
</jdbcconfiguration>
<hbm2java jdk5="true"/>
</hibernatetool>
</target>
<target name="cfgxml" depends="pojo">
<hibernatetool destdir="${builddir}">
<jdbcconfiguration configurationfile="${hibernatecfg}"/>
<hbm2cfgxml />
</hibernatetool>
</target>
</project>
and it generates the output as
Code:
Buildfile: E:\WORK\EclipseWrokspace\POJO-Generator\src\build2.xml
Warning: Reference libs has not been set at runtime, but was found during
build file parsing, attempting to resolve. Future versions of Ant may support
referencing ids defined in non-executed targets.
clean:
[delete] Deleting directory E:\WORK\EclipseWrokspace\POJO-Generator\src\build
init:
[mkdir] Created dir: E:\WORK\EclipseWrokspace\POJO-Generator\src\build\com\my\entity
hbm:
[hibernatetool] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
[hibernatetool] 1. task: hbm2hbmxml (Generates a set of hbm.xml files)
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: Hibernate 3.2.5
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: hibernate.properties not found
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.Environment buildBytecodeProvider
[hibernatetool] INFO: Bytecode provider name : cglib
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: using JDK 1.4 java.sql.Timestamp handling
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.Configuration configure
[hibernatetool] INFO: configuring from file: hibernate.cfg.xml
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.JDBCMetaDataConfiguration parseMappingElement
[hibernatetool] INFO: Ignoring null mapping
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.cfg.Configuration doConfigure
[hibernatetool] INFO: Configured SessionFactory: null
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: Using Hibernate built-in connection pool (not for production use!)
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: Hibernate connection pool size: 20
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: autocommit mode: false
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@127.0.0.1:1521:orcl
[hibernatetool] Oct 7, 2008 9:18:27 AM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: connection properties: {user=xxx, password=****}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
[hibernatetool] With the Partitioning, OLAP and Data Mining options
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.dialect.Dialect <init>
[hibernatetool] INFO: Using dialect: org.hibernate.dialect.Oracle9Dialect
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.dialect.Oracle9Dialect <init>
[hibernatetool] WARNING: The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
[hibernatetool] INFO: Using default transaction strategy (direct JDBC transactions)
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
[hibernatetool] INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Automatic flush during beforeCompletion(): disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Automatic session close at end of transaction: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC batch size: 15
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC batch updates for versioned data: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Scrollable result sets: enabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC3 getGeneratedKeys(): disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Connection release mode: auto
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Default batch fetch size: 1
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Generate SQL with comments: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Order SQL updates by primary key: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Order SQL inserts for batching: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
[hibernatetool] INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
[hibernatetool] INFO: Using ASTQueryTranslatorFactory
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Query language substitutions: {}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JPA-QL strict compliance: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Second-level cache: enabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Query cache: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory createCacheProvider
[hibernatetool] INFO: Cache provider: org.hibernate.cache.NoCacheProvider
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Optimize cache for minimal puts: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Structured second-level cache entries: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Statistics: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Deleted entity synthetic identifier rollback: disabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Default entity-mode: pojo
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Named query checking : enabled
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=DUAL, REMARKS=null, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=SYSTEM_PRIVILEGE_MAP, REMARKS=Description table for privilege type codes. Maps privilege type numbers to type names, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=TABLE_PRIVILEGE_MAP, REMARKS=Description table for privilege (auditing option) type codes. Maps privilege (auditing option) type numbers to type names, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=STMT_AUDIT_OPTION_MAP, REMARKS=Description table for auditing option type codes. Maps auditing option type numbers to type names, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=AUDIT_ACTIONS, REMARKS=Description table for audit trail action type codes. Maps action type numbers to action type names, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=PSTUBTBL, REMARKS=null, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=WRI$_ADV_ASA_RECO_DATA, REMARKS=null, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
[hibernatetool] Oct 7, 2008 9:18:28 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
[hibernatetool] INFO: {TABLE_NAME=ODCI_SECOBJ$, REMARKS=null, TABLE_TYPE=TABLE, TABLE_SCHEM=SYS, TABLE_CAT=null}
.
.
.
.
[hibernatetool] Oct 7, 2008 9:16:44 AM org.hibernate.cfg.reveng.JDBCReader processPrimaryKey
[hibernatetool] WARNING: The JDBC driver didn't report any primary key columns in DATABASE_SUMMARY. Asking rev.eng. strategy
[hibernatetool] Oct 7, 2008 9:16:44 AM org.hibernate.cfg.reveng.JDBCReader processPrimaryKey
[hibernatetool] WARNING: Rev.eng. strategy did not report any primary key columns for DATABASE_SUMMARY
[hibernatetool] Oct 7, 2008 9:17:03 AM org.hibernate.connection.DriverManagerConnectionProvider close
[hibernatetool] INFO: cleaning up connection pool: jdbc:oracle:thin:@127.0.0.1:1521:orcl
[hibernatetool] An exception occurred while running exporter #2:hbm2hbmxml (Generates a set of hbm.xml files)
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] 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)'
BUILD FAILED
E:\WORK\EclipseWrokspace\POJO-Generator\src\build2.xml:45: 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)'
Total time: 53 seconds
i dont know that y it is going for the other schemas (SYS) when i m still connecting with my particular user what i have missed ???