db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivano Luberti <lube...@archicoop.it>
Subject Re: jdbc task put username instead of db name in schema file
Date Tue, 27 Jan 2009 11:46:45 GMT
hmmmm, but then why make the torque user able to specify the

torque.database.name

property in build.properties ?

Thomas Fischer ha scritto:
>> When we tried at first to generate the schema file using the jdbc task,
>> we found that the database name put in the schema file was wrong.
>> Instead of the db name there was the  username used to connect to the 
>>     
> db.
>   
>> We worked around it changing the username.
>>
>> We use Torque 3.3
>> The DB server is postgres8.3
>> The jdbc driver is postgresql-8.3-603.jdbc4.jar
>>     
>
> There was a discussion way back on the user list (or maybe even in jira) 
> of how the database should be named by the jdbc task. And the outcome was: 
> how should the generator know ? Not every database has the concept of a 
> database name. And jdbc won't provide that information anyway. So using 
> the user name seems a sensible default.
>
> Maybe we should look into a way of automatically postprocessing the schema 
> after the jdbc task.
>
>    Thomas
>   

-- 
==================================================
Archimede Informatica NEWS!
==================================================

Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa:
prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso
alla Torre sia online che presso le biglietterie dislocate sulla piazza:

_http://www.opapisa.it/boxoffice

_Partner del Progetto Ci-Tel "Front office Telematico per il cittadino"
Ente Coordinatore Comune di Pisa

_http://www.comune.pisa.it/doc/e-government.htm


_==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
e-mail: archimede@archicoop.it
web: _http://www.archicoop.it


_ <http://www.archicoop.it/>__ <http://www.archicoop.it/>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message