|
David Sean Taylor made changes - 18/Apr/05 01:44 PM
David Sean Taylor made changes - 18/Apr/05 02:23 PM
> - 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. > The Torque build is set as a pregoal to java:compile.
> Wonder why that isn't enough, since it does a jar:install Because the jar is defined as dependency in the main project.xml and maven first it to be resolved before it even starts with the java:compile >> 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. Sorry, I only tested it out yet with the buildin users so I missed that one! It certainly is a killer... Do already have an idea how to handle that? > Because the jar is defined as dependency in the main project.xml and > maven first it to be resolved before it even starts with the
> java:compile The jar is in the remote repo, should work as is >> 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. Sorry, I only tested it out yet with the buildin users so I missed that one! It certainly is a killer... Do already have an idea how to handle that? Well thats the whole point. There needs to be one jar per database. So you change the torque-om/project.properties: torque.database = oracle and then rebuild For the 1.6 release, I was planning on prebuilding each and every database (and signing), ... i know
Jeremy Ford made changes - 26/May/05 12:09 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
if anyone else could test against other database much appreciated