• Post Reply Bookmark Topic Watch Topic
  • New Topic

Middlegen and Hibernate  RSS feed

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to generate mapping documents(*.hbm.xml) from my oracle schema using middlegen.I have the latest version of Middlegen-Hibernate.I edited oracle.xml and made necessary changes according to my application.But when I give
"ant middlegen" I'm getting the following error.



Buildfile: build.xml

init:

fail-if-no-xdoclet-1.2:

check-driver-present:

panic-if-driver-not-present:

middlegen:
[echo] Class path = /tmp/Middlegen-Hibernate-r5
[middlegen] (middlegen.Middlegen 350 ) Registering plugin simple->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin java->middlegen.javax.JavaPlugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin plugin->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin hibernate->middlegen.plugins.hibernate.HibernatePlugin
[middlegen] Database URL:jdbc racle:thin:@192.168.0.252:1521 ev
[middlegen] No <table> elements specified. Reading all tables. This might take a while...

BUILD FAILED
/tmp/Middlegen-Hibernate-r5/build.xml:148: middlegen.MiddlegenException: Wow! Synonym MESSAGE_TEXT_WEEK1 not found. How can it happen?
Configured schema:APP_USER
Configured catalog:
Available schemas:
ANONYMOUS
APP_OWNER
APP_PLAN
APP_USER
DBSNMP
DELTA_USER
ELEVENPAST

Available catalogs:

anybody can tell me what is the reason for this error.

Please help me.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!