[ http://issues.apache.org/jira/browse/JS1-542?page=comments#action_63056 ]
     
David Sean Taylor commented on JS1-542:
---------------------------------------

> - With a clean setup (meaning no jetspeed-torque-om jar ever generated before 
> you can't build or clean from > the root project because it fails with a 
> missing dependency. I resolved this by building the jar once from  > the 
> torque-om subproject but this should be handled better I think 

The Torque build is set as a pregoal to java:compile.
Wonder why that isn't enough, since it does a jar:install

> I tested this with Oracle9i and can confirm it working.

The big gotcha here is when you go to create a new user.
Thats when Torque fails miserably: since the generated code for Oracle requires 
sequences.
A certain percentage of database operations actually work, even know the code 
was generated for Hypersonic.



> Torque OM jar generation per backend database
> ---------------------------------------------
>
>          Key: JS1-542
>          URL: http://issues.apache.org/jira/browse/JS1-542
>      Project: Jetspeed
>         Type: New Feature
>   Components: Database
>     Versions: 1.6-dev
>     Reporter: David Sean Taylor
>     Assignee: David Sean Taylor
>      Fix For: 1.6-dev

>
> Creates torque specific bindings for the selected database.
> Goal: end users will no longer have to recompile the source to get support 
> for a different database than hypersonic. This requirement has been the 
> source to a large number of problems reported on the user list.
> on the distribution site, I'd like to provide several small jars for each 
> torque-supported database:
> + 1.6-binary
>   + torque
>       + hypersonic
>           jetspeed-torque-om-1.6.jar
>       + mysql
>           jetspeed-torque-om-1.6.jar
>       + axion
>           jetspeed-torque-om-1.6.jar
>       + sybase
>           jetspeed-torque-om-1.6.jar
> ...
> prefer to have all the jars named the same to lessen the chance of someone 
> accidently having 2 jars installed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to