- This topic has 3 replies, 3 voices, and was last updated 16 years, 3 months ago by Brian Fernandes.
-
AuthorPosts
-
Gary FidlerMemberI am trying to use Hibernate 3.2 and Spring to reverse engineer annotated POJOs from Oracle 10g. I get a dialog box “Problem Occurred” with the following detail:
An internal error occurred during: “Generating Artifacts”.
unknown Oracle major version [0]I am using the ojdbc14.jar.
I have seen previous postings about this with no fix. I can’t go back to 6.0 without losing Hibernate Annotation support. What about a fix in 6.5+?
Here’s my install info:
*** Date: Thursday, October 2, 2008 11:19:31 AM MDT ** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_11 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 6.5.1 GA Build id: 6.5.1-GA-20080715 *** Eclipse details: MyEclipse Enterprise Workbench Version: 6.5.1 GA Build id: 6.5.1-GA-20080715 Eclipse Graphical Editing Framework Version: 3.3.2.v20080129 Build id: 20080221-1602 Eclipse Platform Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft Build id: M20080221-1800 Eclipse RCP Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc Build id: M20080221-1800 Eclipse Java Development Tools Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7 Build id: M20080221-1800 Eclipse Plug-in Development Environment Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL Build id: M20080221-1800 Eclipse Project SDK Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO Build id: M20080221-1800 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Programs\MyEclipse-6.5\eclipse\eclipse.exe -name Eclipse --launcher.library C:\Programs\MyEclipse-6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll -startup C:\Programs\MyEclipse-6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -exitdata 854_74 -clean -vm C:\Programs\MyEclipse-6.5\jre\bin\javaw.exe
Loyal WaterMemberGary,
Can you try this tip and check if it helps:-
http://forum.hibernate.org/viewtopic.php?p=2373597
Gary FidlerMemberIt turns out my server is not 10g, but 9i (9.2.0.6.0). I have tried multiple versions of oracle drivers:
ojdbc14.jar (9.2.0.8)
ojdbc14.jar (9.2.0.5)
ojdbc5.jar (11.1.0.7.0)I have also tried various dialects:
Oracle9Dialect
Oracle9iDialectSame result each time.
Brian FernandesModeratorGary,
I would like to know more about your project setup; since you mentioned you are working on a Spring-Hibernate project, if you go to your Project properties > MyEclipse > Hibernate do you have a Spring configuration file or a Hibernate configuration file specified as your active configuration file?
You mention you tried several dialects, I assume you specified the dialect as a property in the corresponding Spring or Hibernate configuration file?
If you open a connection to your database in MyEclipse, can you tell us exactly what the “Database Product Version” field says in the DB Connection Info view? (You will need to select your connection in the DB Browser view to populate this view)
This bug could have occurred because for some reason your database is not correctly reporting it’s version number. We have put a fallback solution in place for 7.0M2 and this will also be available in the upcoming 6.6 release.I would appreciate it if you could give 7.0M2 a try and tell me if it works for you, that will help ensure a working fix is in place for 6.6.
We appreciate your support, sorry for the inconvenience caused.
-
AuthorPosts