facebook

EJB3 Reverse Engineering on Oracle 9i/10g

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #287454 Reply

    I was able to reverse engineer some entities on 6.5M1. I installed 6.5GA and then I receive the following error:

    
    !ENTRY org.eclipse.core.jobs 4 2 2008-07-23 14:41:10.635
    !MESSAGE An internal error occurred during: "Generating Artifacts".
    !STACK 0
    org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
        at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
        at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
        at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2005)
        at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:72)
        at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$7.execute(GenerateArtifactsJob.java:877)
        at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
        at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:91)
        at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:858)
        at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:405)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    

    I installed 6.5.1 and the error changed, now I receive:

    
    !ENTRY org.eclipse.core.jobs 4 2 2008-07-23 15:38:59.042
    !MESSAGE An internal error occurred during: "Generating Artifacts".
    !STACK 0
    org.hibernate.HibernateException: unknown Oracle major version [0]
        at org.hibernate.dialect.DialectFactory$1.getDialectClass(DialectFactory.java:135)
        at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:65)
        at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
        at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2005)
        at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:72)
        at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$7.execute(GenerateArtifactsJob.java:877)
        at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
        at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:91)
        at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:858)
        at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:405)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    

    I have tried this on Oracle 9i and 10g databases.

    Any ideas what is happening?

    #287458 Reply

    I have re-installed 6.5M1, and I am able to reverse engineer from the database again.

    #287566 Reply

    Loyal Water
    Member

    Sorry for the hiccup. Glad its working now.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: EJB3 Reverse Engineering on Oracle 9i/10g

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in