Main > Programming > Libraries >

Xmldoom::doc::UsingTorque 0.0.16

Xmldoom::doc::UsingTorque 0.0.16

Sponsored Links

Xmldoom::doc::UsingTorque 0.0.16 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.10 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 861
Date added: 2007-06-15
Publisher: Xmldoom team

Xmldoom::doc::UsingTorque 0.0.16 description

Xmldoom::doc::UsingTorque Perl module contains a how to about making Torque generator to work with your database.xml.

Because the format used in the database definition (commonly named database.xml) is the same as Apache Torque, we can use their tools to automatically generate database.xml from the database, or automatically create the database from a database.xml.

Basically, the Torque Generator is a set of Ant scripts that call into the Torque engine. So, you need to install Ant as well.

SETTING UP THE TORQUE GENERATOR

First, you must download the Torque Generator from their project page:

http://db.apache.org/torque/download.html

Make sure you are downloading the Generator (the page is a little confusing). Youll see that there is a table there with versions going down the Y-axis and product names going across the X-axis. If the page hasnt since this writing, you want the top-cell over to the right one.

Once youve got it:

1. Extract the archive somewhere. Youll end up with directory named like torque-gen-3.2. Go there.
2. Edit a file named build.properties. Most of the setting dont matter for us, so you can skip down to the section labeled "DATABASE SETTINGS" (with a space between each letter). Configuring this section should be pretty self explanitory if you have ever used JDBC in Java before. In case you havent you can check out the explanation at the end of this document named "BUILD PROPERTIES".
3. You need to find and copy the JDBC drivers for your database into the lib/ directory. More on this in the "BUILD PROPERTIES" section.

Now you are ready to give it a go.

ANT TARGETS

To generate an XML schema from your database, run:

ant -f build-torque.xml jdbc

Most likely you wont want to use the generated file directly, because it lacks foreign-keys and any of the groovy Xmldoom special features. But it does provide a quick spring-board to allow to copy-paste and modify to get started quickly.

To create your database based on the XML description, run:

# to initially create the databas
ant -f build-torque.xml create-db

# will drop and re-create all tables in the database
ant -f build-torque.xml insert-sql

Xmldoom::doc::UsingTorque 0.0.16 Screenshot

Advertisements

Xmldoom::doc::UsingTorque 0.0.16 Keywords

Bookmark Xmldoom::doc::UsingTorque 0.0.16

Hyperlink code:
Link for forum:

Xmldoom::doc::UsingTorque 0.0.16 Copyright

WareSeeker periodically updates pricing and software information of Xmldoom::doc::UsingTorque 0.0.16 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Xmldoom::doc::UsingTorque 0.0.16 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Xmldoom::doc::GettingStarted is a step-by-step tutorial to setting up Xmldoom. Free Download
Xmldoom package contains the XML Document Object-Oriented Model. Free Download
XML::SAX::Intro is an Introduction to SAX Parsing with Perl. Free Download
XML::Generator::Essex is a Perl module that can generate XML with Essex. Free Download
dtRdr::User.pm is a user class as a Perl module. Free Download
Algorithm::Combinatorics Perl module is an efficient generator of combinatorial sequences. Free Download
Autodia::Handler::Torque Perl module contains an AutoDia handler for Torque xml database schema. Free Download
dtRdr::Plugins::Library is a Perl module that can handle library plugins. Free Download