- This topic has 8 replies, 2 voices, and was last updated 18 years, 3 months ago by
shravaniam.
-
AuthorPosts
-
shravaniamMemberhai freinds
i am using oracle 8i as database after connecting to database from eclipse ide i can view the tables and also perform queries on that but when i wnat to generate hbm file,pojo class,dao class an eroor occured like
A pop window came like THE SELECTED PACKAGE MIGHT CONTAIN FILES TAHT WILL BE OVERWRITTEN BY ARTI CRAFT GENERATION” and if i press okanother pop up window came “AN INTERNAL ERROR OCCURED WHILE GENERATING ARTICRAFTS” AND so no pojo class, hbm filwe is generated……..
please help me to solve this issueeeeeMarch 30, 2007 at 6:56 am #268177
Haris PecoMemberCould you please you post error log (Window>Preferences>Show View>Other>PDE Runtime> Error Log View)
The most Oracle problems is caused with JDBC driver. You cant try latets JDBC driver form http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
Regards,
April 2, 2007 at 1:44 am #268224
shravaniamMemberthese are the errors i got
java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.supportsResultSetType(I)Z
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:80)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:73)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$6.execute(GenerateArtifactsJob.java:529)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:72)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:524)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:296)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)April 2, 2007 at 5:26 am #268226
Haris PecoMemberhave yoy tried newer jdbc driver ?
April 2, 2007 at 5:31 am #268227
shravaniamMemberyes i have tried with oracle 9i but same error
April 2, 2007 at 5:36 am #268228
Haris PecoMemberWhat is your MyEclipse version ?
Could you browse tables in Db Explorer ?April 3, 2007 at 10:42 pm #268385
shravaniamMembermy eclipse version is 5.1.1 GA and i could connect to oracle data base and also i can browse the tables in the oracle!
April 4, 2007 at 12:58 pm #268411
Haris PecoMemberIt looks as jdbc driver problem from your log.
Could you send some ddl (create table) commands for some table what throws exception in generate process ?Thanks,
April 10, 2007 at 6:52 am #268627
shravaniamMemberif i try to write any ddl command i am getting error i think the path is not set properly……. or else it may be the problem of the driver……. i will try to use oraclre 10 g driver…… and sent u the response……….
-
AuthorPosts