- This topic has 1 reply, 2 voices, and was last updated 14 years, 10 months ago by support-shalini.
-
AuthorPosts
-
shiva2agniMemberhello ,
I am using Myeclipse 6.0 version with jdk1.5 and oracle 9i.
So ,my problem here is when i was making hbm.xml file using hibernate reverse engineering its configuring with the database but it shows some errors while generating artifacts. it shows the following eroor msg.
Can any one pls solve this problem.An internal error occurred during: “Generating Artifacts”.
Could not get list of tables from database. Probably a JDBC driver problem.
Configured schema:SCOTT
Configured catalog:null
Available schemas:
ACC_CTRL
AURORA$ORB$UNAUTHENTICATED
BCARI
CGS
CTXSYS
DBAREP
DBEXP
DBSNMP
DFHR
DFHR3
DFLPROC
DOTNAVY
DYD
FHRD
FOF
GENSEC
GOOFYEXP
HRBAK
HRBAK2
HRMART
HRPLAN
HRTEST
IMPORT
ITS
JON
JSEC
JSEC_TMP
JTRACK
JTRACK_TMP
KTR
KTR_PAS
LOCNAVY
LOGIN
MDSYS
NAVREP
NLRD
OPP
ORDPLUGINS
ORDSYS
OUTLN
PHILINE
PUBS
REP
SDC
SDCFMU
SECURITY
SYS
SYSTEM
TEST
TOAD
TRCK
Available catalogs:
[quote]config file
Code:
<?xml version=’1.0′ encoding=’UTF-8′?>
<!DOCTYPE hibernate-configuration PUBLIC
“-//Hibernate/Hibernate Configuration DTD 3.0//EN”
“http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd”><!– Generated by MyEclipse Hibernate Tools. –>
<hibernate-configuration><session-factory>
<property name=”connection.username”>KTR</property>
<property name=”connection.url”>jdbc:oracle:thin:@localhost:1521:goofy</property>
<property name=”dialect”>org.hibernate.dialect.OracleDialect</property>
<property name=”myeclipse.connection.profile”>OracleClass12Driver</property>
<property name=”connection.password”>tiger</property>
<property name=”connection.driver_class”>oracle.jdbc.driver.OracleDriver</property>
<mapping resource=”com/myeclipse/hibernatespring/User.hbm.xml” /></session-factory>
support-shaliniMemberI have replied to your post here – https://www.genuitec.com/forums/topic/problem-while-generating-hbm-using-reverse-engineering-2/#post-305251
-
AuthorPosts