Thomas,

I was just signaling the problem.
In my configuration, I do not have 2 schemas ... well, I had but just for a 
little while, and not anymore.
I suppose with the new parameters, it should not be a problem.


Cheers,
[EMAIL PROTECTED]
The Computing Froggy

----- Message d'origine ----
De : Thomas Dudziak <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 2 Janvier 2007, 4h24mn 00s
Objet : Re: schema mix up !

On 12/26/06, Laurent ROCHE <[EMAIL PROTECTED]> wrote:

> There is a little problem when doing an export of a PostgreSQL database where 
> there is two schema (say public and queries).
>
> The generation of schema.xml is OK.
>
> But when generating data.xml DDL Utils will fail as it will try to read the 
> content of tab1 in QUERIES with the SQL:
> select * from tab1
> instead of
> select * from queries.tab1

Please update DdlUtils and use both the schemapattern parameter
(http://db.apache.org/ddlutils/ant/org.apache.ddlutils.task.DatabaseToDdlTask.html#parameter-schemapattern)
and also set the new determineschema parameter to true
(http://db.apache.org/ddlutils/ant/org.apache.ddlutils.task.WriteDataToFileCommand.html#parameter-determineschema)

Tom




__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail

Reply via email to