Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
IDE 1.5 alpha
Full stack trace of any exception that occurs:
org.hibernate.MappingException:duplicate import: com.llic.business.Userauth
Name and version of the database you are using:
IBM DB2 UDB
Debug level Hibernate log excerpt:
Code:
!SUBENTRY 2 org.hibernate.eclipse.console.HibernateConsolePlugin 4 150 2005-03-04 14:23:37.686
!MESSAGE duplicate import: com.llic.business.Userauth
!STACK 0
org.hibernate.MappingException: duplicate import: com.llic.business.Userauth
at org.hibernate.cfg.Mappings.addImport(Mappings.java:99)
at org.hibernate.cfg.JDBCBinder.createPersistentClasses(JDBCBinder.java:180)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:123)
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$3.execute(ArtifactGeneratorWizard.java:213)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:76)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:210)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:147)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:105)
!ENTRY org.eclipse.pde.core 1 1 2005-03-04 14:32:21.264
!MESSAGE Problems encountered while PDE was scanning the Target Platform
!SUBENTRY 1 org.apache.lucene 1 1 2005-03-04 14:32:21.264
!MESSAGE This plug-in (located at "c:\eclipse\plugins\org.apache.lucene_1.3.0") was ignored because another version of the same plug-in (located at "c:\eclipse\plugins\org.apache.lucene_1.4.3") was picked
I have 77 tables in the database I need to map. The utility runs for about 2 minutes, then I receive this exception.