• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Middlegen and Hibernate

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Evacuate the building! Here, take this tiny ad with you:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic