For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 28 replies, 7 voices, and was last updated 19 years, 1 month ago by
Haris Peco.
-
AuthorPosts
-
rajapkpMemberHi I have installed MyEclipse 4.1 running on Eclipse 3.1
I am trying out the Hibernate Project and I am getting the following error. I have the database explorer setup and able to connect. I am using Oralce Dialect.
Pleae my hibernate config file. Please note that I am trying to use a local DTD because I am not sure if My eclipse can connect to hibernate.sourceforge.net/hibernate-configuration-3.0.dtd as it might require proxy settings.Also I see error
ERROR Worker-66 org.hibernate.util.XMLHelper – Error parsing XML: C:\development\eclipse\workspace\Hib\src\hibernate.cfg.xml(4) External entity not found: “file://c:/temp/hibernate-configuration-3.0.dtd”.<?xml version=’1.0′ encoding=’UTF-8′?>
<!DOCTYPE hibernate-configuration PUBLIC
“-//Hibernate/Hibernate Configuration DTD 3.0//EN”
“file://c:/temp/hibernate-configuration-3.0.dtd”><!– Generated by MyEclipse Hibernate Tools. –>
<hibernate-configuration><session-factory>
<property name=”connection.username”>checklist_app</property>
<property name=”connection.url”>jdbc:oracle:thin:@oradev:1523:ELLIS</property>
<property name=”dialect”>org.hibernate.dialect.OracleDialect</property>
<property name=”myeclipse.connection.profile”>ellis</property>
<property name=”connection.password”>checklist_app</property>
<property name=”connection.driver_class”>oracle.jdbc.driver.OracleDriver</property></session-factory>
</hibernate-configuration>
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:378)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:71)
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)July 17, 2006 at 11:07 am #254904
Riyad KallaMemberDid you add hibernate capabilities to this project? When you ran through the wizard did you setup the dialect for the wizard correctly? The error looks fairly straight forward…
July 17, 2006 at 11:53 am #254911
rajapkpMemberThis message has not been recovered.
July 17, 2006 at 12:46 pm #254916
Riyad KallaMemberThis message has not been recovered.
July 17, 2006 at 1:46 pm #254919
rajapkpMemberThis message has not been recovered.
July 17, 2006 at 3:09 pm #254928
Riyad KallaMemberThis message has not been recovered.
July 17, 2006 at 3:45 pm #254939
rajapkpMemberThis message has not been recovered.
July 17, 2006 at 3:48 pm #254940
rajapkpMemberThis message has not been recovered.
July 17, 2006 at 3:53 pm #254941
rajapkpMemberThis message has not been recovered.
July 17, 2006 at 5:50 pm #254943
Haris PecoMemberThis message has not been recovered.
July 18, 2006 at 9:39 am #254985
rajapkpMemberThis message has not been recovered.
July 18, 2006 at 10:12 am #254990
Brian FernandesModeratorThis message has not been recovered.
July 18, 2006 at 10:26 am #254997
Haris PecoMemberThis message has not been recovered.
July 18, 2006 at 11:12 am #255009
rajapkpMemberThis message has not been recovered.
July 18, 2006 at 1:38 pm #255021
rajapkpMemberThis message has not been recovered.
-
AuthorPosts