portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Le Strat (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-431) Remove PropertyManager for Preferences
Date Sat, 26 Nov 2005 20:46:55 GMT
Remove PropertyManager for Preferences
--------------------------------------

         Key: JS2-431
         URL: http://issues.apache.org/jira/browse/JS2-431
     Project: Jetspeed 2
        Type: Improvement
  Components: Portlet Entities and Preferences  
    Versions: 2.0-FINAL    
    Reporter: David Le Strat
 Assigned to: David Le Strat 
     Fix For: 2.0-FINAL


Remove the PropertyManager and PropertyKey from the Preferences implementation.  This simplifies
the implementation a bit.  The PropertyManager was not used and was left as a configurable
value of the PreferencesProvider.  As a result of this change, the configurable flag has been
removed.

The database schema has also be changed to reflect the removal of PropertyManager:

* The PREFS_NODE_PROPERTY_KEY table has been removed.
* The PREFS_PROPERTY_KEY table has been removed.
* The PREFS_PROPERTY_VALUE table has been changed.  The following columns have been removed:
       - PROPERTY_KEY_ID INTEGER,
       - BOOLEAN_VALUE INTEGER,
       - DATETIME_VALUE TIMESTAMP,
       - LONG_VALUE INTEGER,
       - DOUBLE_VALUE DOUBLE,
       - TEXT_VALUE VARCHAR(254)
The following columns have been added:
       - PROPERTY_NAME VARCHAR(100),
       - PROPERTY_VALUE VARCHAR(254)

The foreign key FOREIGN KEY (NODE_ID) REFERENCES PREFS_NODE (NODE_ID) on PREFS_PROPERTY_VALUE
 has not been added.  It still causes foreign key violations with OJB 1.0.3 for cascade deletes.




-- 
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message