Hi preddy98!
Can You tell me how have You finally resolved?
I want to be generated just a simple POJO without foreign keys mapping. (Oracle)
I make the generation with Ant.
So my code looks like:
Code:
        <hibernatetool destdir="${project.src}">
            <jdbcconfiguration
                    configurationfile="${project.etc}\hibernate.cfg.xml"
                    revengfile="${project.etc}\hibernate.reveng.xml"
                    packagename="${package.name}"
                    reversestrategy="org.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategy"
                    detectmanytomany="false">
            </jdbcconfiguration>
            <hbm2java jdk5="${hibernate.jdk5}" ejb3="false"/>
        </hibernatetool>
..and the taskdef: 
Code:
    <taskdef name="hibernatetool"
             classname="org.hibernate.tool.ant.HibernateToolTask"
             classpathref="toolslib"/>
But it seems to not work.
So I still have in pojo the Set-s at foreign keys.
Or have You writted your own class which implements MetaDataDialect?
Or this can made by changing the reverse engineering strategy?