db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hicnar_torque_l...@o2.pl
Subject The bookstore example with PostgreSQL - the battle is over...
Date Tue, 10 Feb 2004 22:36:03 GMT
...and I'm the winner taa daaaaa :D

It took one night with Eclipse all the time in the debug
perspective, (and I looked and felt like a zombie at work today
morning :)) but finally got it!!!

If you're trying to use PostgreSQL and got stuck in the same place I
did (everything generates and compiles - problems with running) the
clue is...

the Torque.properties are supossed to look somewhat like that:

log4j.rootCategory = ERROR, default
log4j.appender.default = org.apache.log4j.FileAppender
log4j.appender.default.file = ./torque.log
log4j.appender.default.layout = org.apache.log4j.SimpleLayout


torque.dsfactory.bookstore.connection.driver = org.postgresql.Driver
torque.dsfactory.bookstore.connection.url =
torque.dsfactory.bookstore.connection.user = DBUser
torque.dsfactory.bookstore.connection.password = passwd

BTW - Make sure the DBUser has been defined and is privileged to
create databases in your system.


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

View raw message