Dan Moore wrote:
The files that are you recommended for patching are not in the CVS. They are Torque generated files.In order to get the PSML working in Oracle, from the 1.5 binary distribution of Jetspeed, in addition to following the instructions here regarding importing, http://portals.apache.org/jetspeed-1/psml_db.html, I also had to make some changes to class files and sql files.
You need both the src and binary distributions. There's a diff of the relevant files below.
Modify the java files: Add _SEQ onto the value in setPrimaryKeyMethodInfo in each of the org/apache/jetspeed/om/dbpsml/map/Jetspeed* files.
To use Oracle, or any other database besides Hypersonic with Jetspeed-1, follow the steps here:
http://portals.apache.org/jetspeed-1/database.html
I believe that the Jetspeed team has made things unnecessarily complicated for end users to change their databsae. Asking people to dl the source and recompile just to change the database is not user friendly and a pain in the ass. Look at all the hell we've caused Dan.
Proposed solution:
Move the Torque generation into a separate sub-project of J1. Create a jar for the OM-mapping for each database. Put each of these jars on the distribution site with the release:
jetspeed-om-1.6-oracle.jar jetspeed-om-1.6-mysl.jar ...
-- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773 4646 [mobile] +01 707 529 9194
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
