Author: tfischer
Date: Thu Feb 11 16:16:47 2010
New Revision: 909052
URL: http://svn.apache.org/viewvc?rev=909052&view=rev
Log:
- remove old information
- change wording for jdbc -> xml part
- add torque4 as development version
Modified:
db/torque/torque4/trunk/torque-site/src/site/xdoc/index.xml
Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/index.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/index.xml?rev=909052&r1=909051&r2=909052&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/index.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/index.xml Thu Feb 11
16:16:47 2010
@@ -29,9 +29,6 @@
</properties>
<body>
- <!-- source>
- Please see the <a href="status.html">News and Status Page</a> for
- information about a Maven 1.0.x repository change.</source -->
<section name="What is Torque?">
<p>
Torque is an object-relational mapper for java. In other words, Torque
@@ -40,8 +37,8 @@
Unlike most other object-relational mappers, Torque does not use
reflection to access user-provided classes, but it generates the
necessary classes (including the Data Objects) from an XML schema
- describing the database layout (which can either be written by hand
- or generated from an existing database).
+ describing the database layout. The XML file can either be written
+ by hand or a starting point can be generated from an existing database.
The XML schema can also be used to generate and execute a SQL script
which creates all the tables in the database.
</p>
@@ -55,14 +52,8 @@
<p>
Usage of autogeneration eases the customization of the database layer,
as you can override the autogenerated methods and thus easily change
- their behaviour.
- </p>
-
- <p>
- Torque was developed as part of the
- <a href="http://turbine.apache.org/">Turbine Framework</a>.
- It is now decoupled and can be used by itself. Starting with version
- 2.2 Turbine uses the decoupled Torque.
+ their behaviour. A modularized template structure allows inclusion
+ of your own code generation templates during the code generation
process.
</p>
</section>
@@ -78,35 +69,23 @@
</dd>
<dt>generator</dt>
<dd>
- The generator contains ant tasks which do all the work for the
- Maven plugin. If you use the Maven plugin, you do not need to use
the
+ The generator generates the java sources for the database access
+ classes used in your application.
+ If you use the Maven plugin, you do not need to use the
generator directly.
- However, the generator can also be invoked directly using ant.
</dd>
<dt>maven-plugin</dt>
<dd>
- The Maven plugin creates the O/R peer and object classes for accessing
- and storing data from the database. It can also generate the XML
- description of an existing database and (in reverse) create an SQL
- script to create the tables in the database. Internally,
- the Maven plugin uses the generator to accomplish these tasks.
+ The Torque Maven 2 plugin generates the java sources for the
+ database access classes. Internally,
+ the Maven plugin uses the generator to accomplish this.
</dd>
<dt>templates</dt>
<dd>
The templates contain the building blocks used by the generator
to create the O/R peer and object classes, SQL scripts and the like.
You can change the templates if you want to customize the output
- of the generator (this is only necessary in very special
- circumstances).
- Up to release 3.1.x, the templates were a part of the generator.
- Starting with the 3.2 release of Torque, the templates have been
- separated into their own jar archive.
- </dd>
- <dt>village</dt>
- <dd>
- Village is a 100% Pure Java API that sits on top of the JDBC
- API. The purpose of this API is to make it easier to interact with
- a JDBC compliant relational database.
+ of the generator.
</dd>
</dl>
</p>
@@ -116,11 +95,14 @@
<p>
<ul>
<li>
- Most recent <i>production</i> release of Torque is Torque 3.3
+ Most recent <i>production</i> release of Torque is
+ <a href="http://db.apache.org/torque">Torque 3.3</a>.
+ </li>
+ <li>
+ Most recent <i>development</i> release of Torque is Torque
+ 4.0-alpha1-SNAPSHOT. Torque4 is under heavy development, so
+ everything may be subject to change.
</li>
- <!-- li>
- Most recent <i>development</i> release of Torque is Torque 3.4-dev
- </li -->
</ul>
</p>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]