db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Kannegiesser (JIRA)" <j...@apache.org>
Subject [jira] Created: (TORQUE-101) Torques Maven2 Plugin is lacking IDBroker-Features (which the maven1 version provided)
Date Tue, 18 Sep 2007 11:39:44 GMT
Torques Maven2 Plugin is lacking IDBroker-Features (which the maven1 version provided)

                 Key: TORQUE-101
                 URL: https://issues.apache.org/jira/browse/TORQUE-101
             Project: Torque
          Issue Type: New Feature
          Components: Maven 2 Plugin
         Environment: mvn --version
Maven version: 2.0.7
Java version: 1.6.0_02
OS name: "linux" version: "2.6.17-12-generic" arch: "i386"

                 <version>3.3-RC2</version> [...]</plugin>
            Reporter: Marc Kannegiesser

As already discussed with Thomas Fischer on the list torque-user@db.apache.org it seems that
the Maven2 plugin for Torque is lacking the feature of creating the init-statements for the

I am currently porting an application to build with maven2. Everything seems to be fine except
the creation of the IDBrokers ID_TABLE:

Torques maven1 plugin provided a goal named torque:id-table-init-sql which created .sql files
for the initialisation of the IDBroker-Table. The content was like that: 

insert into ID_TABLE (id_table_id, table_name, next_id, quantity) VALUES (5101, 'poll', 1000,
10); [...]

These files dont get generated with the Maven2 version of the plugin. The only config-option
which could have to do sth with this is idTableXmlFile of the sql-Mojo. Thomas sais this is
needed by the underlaying ant-task but he also does not know where it is for exactly.

Please have a look at the mailinglist for more details: http://mail-archives.apache.org/mod_mbox/db-torque-user/200709.mbox/browser

Would it be possible to add this missing feature ( porting the maven1 plugins goal torque:id-table-init-sql
) soon? Then i could easily port my applications build-process to maven2.

Thanks in advance, 



My config is like this (i tried several versions):

      <id>Creating .sql files</id>
      <id>OM Goal (Generating Classes, Beans, ...)</id>
      <id>Fire sql to the database!!!</id>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message