The error "Generating artifacts" is thrown when hibernate3.2 is used to map pojo,
Note: I use oracle. If mysql is used, no error occurs.
Open the workspace/. metadata/. log file and find the exception log information thrown by eclipse as follows:
! ENTRY org.eclipse.core.jobs 4 2 2008-04-02 15:22:23. 031
! MESSAGE An internal error occurred :"Generating Artifacts".
! STACK 0
Org. hibernate. exception. GenericJDBCException: cocould not get list of tables from database. Probably a JDBC driver problem.
Configured schema: BST114
Configured catalog: null
Available schemas:
ANONYMOUS
BST114
CTXSYS
D114
DBSNMP
DEVELOP
DG114
DGBST
DGTEST
GAMEDB
HR
LOUSHANG
MDSYS
ODM
ODM_MTR
OE
OLAPSYS
ORDPLUGINS
ORDSYS
OUTLN
PM
QS
QS_ADM
QS_CB
QS_CBADM
QS_CS
QS_ES
QS_ OS
QS_WS
SCOTT
SH
SYS
SYSTEM
TESTZTC
WKPROXY
WKSYS
WMSYS
XDB
Available catalogs:
At org. hibernate. exception. SQLStateConverter. handledNonSpecificException (SQLStateConverter. java: 103)
At org. hibernate. exception. SQLStateConverter. convert (SQLStateConverter. java: 91)
At org. hibernate. cfg. reveng. dialect. JDBCMetaDataDialect $1. handleSQLException (JDBCMetaDataDialect. java: 40)
At org. hibernate. cfg. reveng. dialect. ResultSetIterator. next (ResultSetIterator. java: 62)
At org. hibernate. cfg. reveng. JDBCReader. processTables (JDBCReader. java: 433)
At org. hibernate. cfg. reveng. JDBCReader. readDatabaseSchema (JDBCReader. java: 67)
At com. genuitec. eclipse. hibernate. wizards. MEJDBCMetaDataConfiguration $1. readDatabaseSchema (MEJDBCMetaDataConfiguration. java: 104)
At org. hibernate. cfg. JDBCBinder. readFromDatabase (JDBCBinder. java: 89)
At com. genuitec. eclipse. hibernate. wizards. MEJDBCMetaDataConfiguration. readFromJDBC (MEJDBCMetaDataConfiguration. java: 137)
At com. genuitec. eclipse. hibernate. wizards. GenerateArtifact
<