-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Middlegen with multiple database schema
PostPosted: Thu Jun 10, 2004 5:03 am 
Newbie

Joined: Thu Mar 18, 2004 3:56 am
Posts: 13
Hi to all!

I need some help on how to specify to middlegen, that a table come from a different schema, and not from the one specified in the DB configuration file.

Example:

I've two tables coming from 2 schemas:

A -> SchemaA
B -> SchemaB

Table B has a reference to table A.

So in the middlegen DB conf file, i write:

<property name="database.schema" value="SchemaA"/>

and in the middlegen ant file:

<table name="A"/>

<table name="B"/>

But, obviously this do not work... i've tryed to use

<table name="SchemaB.B"/>

also this do not work, and even don't specify the schema (writing <property name="database.schema" value=""/>) do not work...

How can i do?

Thaks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.