facebook

An internal error occurred during: "Generating Artifact

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

    adrobins
    Member

    Im receiving the following error when trying to generate mappings for a database containing 15 tables (with primary and foriegn key constraints) …….

    An internal error occurred during: “Generating Artifacts”.
    Foreign key name (0) mapped to different tables! previous: org.hibernate.mapping.Table(db_NBA_ELIAS.dbo.COACHOFTEAM) current:org.hibernate.mapping.Table(db_NBA_ELIAS.dbo.COACHSTATS)

    but I am not sure what the error is saying ? My configurations are as follows can someon e give me more details on this error message ?

    Eclipse Version: 6.0.1-GA-200710
    OS: Windows XP SP2
    Database: Sybase Anywhere 12.5
    Driver Jar: JTDS1.2
    Hibernate Config:

    <?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">
    
    <!-- Generated by MyEclipse Hibernate Tools.                   -->
    <hibernate-configuration>
    
        <session-factory>
            <property name="connection.username">USERNAME</property>
            <property name="connection.url">jdbc:jtds:sybase://njpsybdb5:4100</property>
            <property name="dialect">org.hibernate.dialect.SybaseDialect</property>
            <property name="myeclipse.connection.profile">PROD-F01</property>
            <property name="connection.password">PASSWORD</property>
            <property name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
        
        </session-factory>
    
    </hibernate-configuration>
    #278793 Reply

    Loyal Water
    Member
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: An internal error occurred during: "Generating Artifact

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