facebook

problem while generatin bhm using reverse engineering

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #305245 Reply

    shiva2agni
    Member

    hello ,
    I am using Myeclipse 6.0 version with jdk1.5 and oracle 9i.
    So ,my problem here is when i was making hbm.xml file using hibernate reverse engineering its configuring with the database but it shows some errors while generating artifacts. it shows the following eroor msg.
    Can any one pls solve this problem.

    An internal error occurred during: “Generating Artifacts”.
    Could not get list of tables from database. Probably a JDBC driver problem.
    Configured schema:SCOTT
    Configured catalog:null
    Available schemas:
    ACC_CTRL
    AURORA$ORB$UNAUTHENTICATED
    BCARI
    CGS
    CTXSYS
    DBAREP
    DBEXP
    DBSNMP
    DFHR
    DFHR3
    DFLPROC
    DOTNAVY
    DYD
    FHRD
    FOF
    GENSEC
    GOOFYEXP
    HRBAK
    HRBAK2
    HRMART
    HRPLAN
    HRTEST
    IMPORT
    ITS
    JON
    JSEC
    JSEC_TMP
    JTRACK
    JTRACK_TMP
    KTR
    KTR_PAS
    LOCNAVY
    LOGIN
    MDSYS
    NAVREP
    NLRD
    OPP
    ORDPLUGINS
    ORDSYS
    OUTLN
    PHILINE
    PUBS
    REP
    SDC
    SDCFMU
    SECURITY
    SYS
    SYSTEM
    TEST
    TOAD
    TRCK
    Available catalogs:
    [quote]

    config file

    Code:

    <?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”&gt;

    <!– Generated by MyEclipse Hibernate Tools. –>
    <hibernate-configuration>

    <session-factory>
    <property name=”connection.username”>KTR</property>
    <property name=”connection.url”>jdbc:oracle:thin:@localhost:1521:goofy</property>
    <property name=”dialect”>org.hibernate.dialect.OracleDialect</property>
    <property name=”myeclipse.connection.profile”>OracleClass12Driver</property>
    <property name=”connection.password”>tiger</property>
    <property name=”connection.driver_class”>oracle.jdbc.driver.OracleDriver</property>
    <mapping resource=”com/myeclipse/hibernatespring/User.hbm.xml” />

    </session-factory>

    #305253 Reply
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: problem while generatin bhm using reverse engineering

You must be logged in to post in the forum log in