473,385 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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 = com.kazmier.om

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

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

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

# The JDBC database driver to use when connecting to your database.
torque.database.driver = COM.ibm.db2.jdbc.app.DB2Driver


# 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.
torque.database.host = 127.0.0.1

and what i need to write im project.xml?
for example in mysql i write:
<dependency>
<artifactId>mysql-connector-java<artifactId>
<groupId>mysql<groupId>
<version> 5.0.4version>
</dependency>
</dependencies>

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
0 1460

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

Similar topics

9
by: Steven M. Scotten | last post by:
Hi-- I seem to have the PHP Java Bridge (2.0.5 built from tarball) working with PHP 5.0.3 (also built from tarball) on my Fedora Core 1 server with Apache 2.0.50 and I'm pretty excited about it...
6
by: Robert Maas, see http://tinyurl.com/uh3t | last post by:
System login message says PHP is available, so I tried this: http://www.rawbw.com/~rem/HelloPlus/h.php It doesn't work at all. Browser just shows the source. What am I doing wrong?
34
by: yensao | last post by:
Hi, I have a hard time to understand difference and similarities between Relational database model and the Object-Oriented model. Can somebody help me with this? Thank you in advance. ...
1
by: Jens Mueller | last post by:
Hi there, this is a Java-XML Question, so I am not sure whether this is the right place, haven't found anything better .... I try to convert a Java object to XML via SAX and let the FOP...
1
by: jjouett | last post by:
I'm trying to setup an ASPX web page such that an existing Java Client can post form data, and I'm running into a problem. The existing Java Client doesn't set any credentials, and when I try to...
3
by: knightsmastergeneral | last post by:
Hi, I'm currently working on getting junit and junireport to take some java files, convert it to xml and then display error messages / success rates etc in html which is one of the features of...
0
by: mandarkraftware | last post by:
Hi All, Let me present you with list of consultants currently available. Name / Job Title Summary Ramchandran/Java · 7+ years experience in the field of Software Development. · Expertise...
1
by: liquidchaos | last post by:
hey, im trying to program a game that lets you buy weapons and sell them on and stuff. obviously more complicated than that but you get my drift. im getting a few errors i cant fix. function...
0
by: Yoav | last post by:
How does torque know whether a column,meaning a variable of the column is nullable or not? Is that determined in the code? Thanks in advanced, Yoav
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.