- This topic has 3 replies, 2 voices, and was last updated 17 years, 1 month ago by Florian Knirsch.
-
AuthorPosts
-
Florian KnirschMemberhi,
when trying to do a reverse engineering for an oracle table it get the following error:
An internal error occured during: “Generating Artifacts.”
Hibernate Dialect mus be explicitly set.any ideas ?
Loyal WaterMemberWhat version of MyEclipse are you using ? What were you trying to do when you ran into this error ? I need some more details.
Florian KnirschMemberhi nipun,
i just downloaded yesterday the latest version (),
because i wanted to tray out the new hibernate 3.2 libraries.then i wanted to add hibernate 3.2 capabilites to a project and was wondering why only 2, 3.0, 3.1 were available.
in the support forum i found a post that i have to add jpa capabilites in order to use hibernate 3.2.then i switched to the jpa perspective,
opened a connection to a oracle database,
right clicked on a table,
selected the java package,
selected entity bean generation
and pressed the finished button,
confirmed the “…. will be overwritten artificat ..” msg
and then i get the error message:
An internal error occured during: “Generating Artifacts.”
Hibernate Dialect mus be explicitly set.my installation details:
*** Date:
Tuesday, September 11, 2007 8:38:55 AM CEST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.0 GA
Build id: 6.0.0-GA-200708*** some information from the workspace .log file
!ENTRY com.tikal.eclipse.updatemanager.quicksetup 4 4 2007-09-10 17:09:43.328
!MESSAGE Network connection problems encountered during search.
!SESSION 2007-09-11 08:34:25.642 ———————————————–
eclipse.buildId=I20070625-1500
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_DE
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY com.tikal.eclipse.updatemanager.quicksetup 4 4 2007-09-11 08:35:41.368
!MESSAGE Network connection problems encountered during search.!ENTRY org.eclipse.osgi 2 1 2007-09-11 08:38:52.494
!MESSAGE NLS missing message: MyEclipsePreferencePage_label_buildID in: com.genuitec.myeclipse.product.messages!ENTRY org.eclipse.osgi 2 1 2007-09-11 08:38:52.494
!MESSAGE NLS missing message: MyEclipsePreferencePage_label_installationRoot in: com.genuitec.myeclipse.product.messages!ENTRY org.eclipse.osgi 2 1 2007-09-11 08:38:52.494
!MESSAGE NLS missing message: MyEclipsePreferencePage_label_version in: com.genuitec.myeclipse.product.messages!ENTRY org.eclipse.osgi 2 1 2007-09-11 08:38:52.494
!MESSAGE NLS missing message: MyEclipsePreferencePage_message_buildIDUnavailable in: com.genuitec.myeclipse.product.messages!ENTRY org.eclipse.osgi 2 1 2007-09-11 08:38:52.494
!MESSAGE NLS missing message: MyEclipsePreferencePage_message_copyright in: com.genuitec.myeclipse.product.messages!ENTRY org.eclipse.osgi 2 1 2007-09-11 08:38:52.494
!MESSAGE NLS missing message: MyEclipsePreferencePage_message_pleaseSeeHelpAbout in: com.genuitec.myeclipse.product.messages!ENTRY org.eclipse.osgi 2 1 2007-09-11 08:38:52.494
!MESSAGE NLS missing message: MyEclipsePreferencePage_title in: com.genuitec.myeclipse.product.messages!ENTRY org.eclipse.core.jobs 4 2 2007-09-11 08:41:32.080
!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:409)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:119)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1929)
at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:73)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$7.execute(GenerateArtifactsJob.java:855)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:56)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:89)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:836)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:401)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.0 GA
Build id: 6.0.0-GA-200708Eclipse Graphical Editing Framework
Version: 3.3.0.v20070620
Build id: 20070620-1021Eclipse Platform
Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
Build id: I20070625-1500Eclipse RCP
Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
Build id: I20070625-1500Eclipse Java Development Tools
Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
Build id: I20070625-1500Eclipse Plug-in Development Environment
Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
Build id: I20070625-1500Eclipse Project SDK
Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
Build id: I20070625-1500Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\eclipse\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\eclipse\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
-startup
C:\eclipse\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-exitdata
638_70
-vm
C:\eclipse\jre\bin\javaw.exe
Florian KnirschMemberupdate:
i’ve just installed again version 5.5.1 GA.
now jpa rev eng and also hibernate (3.1.) rev eng is working fine.for the next myeclipse version it would be nice to have
a working hibernate 3.2 (classic hibernate, not jpa style) as well
struts 2 integration.cheers,
f
-
AuthorPosts