Joined: Tue Nov 22, 2005 5:29 am Posts: 1
|
Hibernate version: 3.0.5 ; tools 3.1.0 beta1
Mapping documents: n/a
Code between sessionFactory.openSession() and session.close(): n/a
Full stack trace of any exception that occurs:
Error 2005-11-22 16:30:03.321 Problem while reading database schema
org.hibernate.cfg.JDBCBinderException: Duplicate names found for primarykey. Existing name: name JDBC name: type on table org.hibernate.mapping.Table(siteworx.dbo.EXCLUDEOBJECT)
at org.hibernate.cfg.reveng.JDBCReader.processPrimaryKey(JDBCReader.java:277)
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:57)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(Unknown Source)
at org.hibernate.console.execution.DefaultExecutionContext.execute(Unknown Source)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(Unknown Source)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(Unknown Source)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(Unknown Source)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(Unknown Source)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Name and version of the database you are using: Sybase Anywhere 6
When I create a session factory from within eclipse 3.1 I get the exception above and while my tables are displayed under the database branch, almost all of the tables have no column metadata.
Any clues appreciated
Regards
Mark
|
|