By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,760 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,760 IT Pros & Developers. It's quick & easy.

hello i need help with torque (java )to setup him to db2

P: 1
i dont the prpopties file withe db2 is this ok:?

# The target database platform.
torque.database = db2

# The target package to put the generated classes in.
torque.targetPackage =

# The JDBC URL that Torque can use to create and
# drop databases if instructed to do so.
torque.database.createUrl = jdbc:db2://

# The JDBC URL that will be used to create tables in your database.
torque.database.buildUrl = jdbc:db2://

# The JDBC URL that will be used to access your database.
torque.database.url = jdbc:db2://

# The JDBC database driver to use when connecting to your database.
torque.database.driver =

# The administrative username that has sufficient privileges to create
# and drop databases and tables that Torque executes at generation time.
torque.database.user = yoach

# The administrative password for the supplied username.
torque.database.password = 123

# The hostname or IP address of your database server. =

and what i need to write im project.xml?
for example in mysql i write:
<version> 5.0.4version>

in db2 what i need to write in:artifactId,groupId,version?

i think i have db2 type 4 the new.
thanks for your help yoach.
Jul 17 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.