- This topic has 19 replies, 6 voices, and was last updated 19 years, 2 months ago by
lovethief.
-
AuthorPosts
-
Riyad KallaMemberxwkp,
Did you install 4.1.1 clean or did you have a previous install that you upgraded? If you upgraded, how did you perform the install (Update manager) or did you run the 4.1.1 install ontop of an existing install?Also is this a Java Project or a Web project? When you walk through the wizard what directory are you trying to generate the artifacts too? (they should be generated into your source folder somewhere).
lovethiefMemberi change a new windows xp system,so my installing must be cleaning.
but i still got the erro “An internal error occurred during: “Gerating Artifacts”my log says :
ENTRY org.eclipse.core.runtime 4 2 2006-03-22 16:34:31.187
!MESSAGE An internal error occurred during: “Generating Artifacts”.
!STACK 0
org.hibernate.exception.GenericJDBCException: Could not get list of tables from database. Probably a JDBC driver problem.
Configured schema:LY_TEMP
Configured catalog:null
Available schemas:
AURORA$JIS$UTILITY$
AURORA$ORB$UNAUTHENTICATED
CTXSYS
CWB
CWB_TMP
DBSNMP
DXGL
DXGL96
GCBAS
GCGC
GCGL
GCKCGL
HGGXJ
HR
JSKF
LYJ
LY_TEMP
MDSYS
NEW_XGGCGL
NEW_XGGCGL_BJ
NEW_XGGCGL_LW
NEW_XGGCGL_ZX
ORDPLUGINS
ORDSYS
OSE$HTTP$ADMIN
OUTLN
PUBDATA
QTGC
SETMENU
SYS
SYSTEM
USER012000
USER012005
USER012006
WKSYS
WXGL
XGDXGL2005
XGFYGL
XGTGXCB
XGWXGL2005
XGYSGC2005
YSGC
ZJGC
ZJZBC
ZXGC
Available catalogs:at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect$1.handleSQLException(JDBCMetaDataDialect.java:86)
at org.hibernate.cfg.reveng.dialect.ResultSetIterator.next(ResultSetIterator.java:50)
at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:400)
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:65)
at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration$1.readDatabaseSchema(MEJDBCMetaDataConfiguration.java:102)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:87)
at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:129)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$5.execute(GenerateArtifactsJob.java:405)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:68)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:400)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:266)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: java.sql.SQLException: Invalid column name
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:285)
at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:5278)
at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:698)
at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1505)
at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect$1.convertRow(JDBCMetaDataDialect.java:79)
at org.hibernate.cfg.reveng.dialect.ResultSetIterator.next(ResultSetIterator.java:47)
… 11 more
lovethiefMembermy driver is class12 in oracle9i
cloud you tell me it is the problem?
Haris PecoMemberlovethief,
Please, remove classes12.zip from driver definition (it is for java 1.2/1.3) and add ojdbc14.jar
Choose thin driver (url like jdbc:oracle:thin://@YOUR_HOST:YOUR_PORT:YOUR_SID ) and try againBest regards
lovethiefMemberi have changed my drivers ,and my myeclipse is running!~~~~
thanks all the time………….. -
AuthorPosts