Changeset 3544
- Timestamp:
- Jul 2, 2007, 9:41:49 AM (16 years ago)
- Location:
- trunk/src/core/net/sf/basedb/core
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/Install.java
r3528 r3544 101 101 method. 102 102 */ 103 public static final int NEW_SCHEMA_VERSION = Integer.valueOf(3 6).intValue();103 public static final int NEW_SCHEMA_VERSION = Integer.valueOf(37).intValue(); 104 104 105 105 public static synchronized void createTables(boolean update, final ProgressReporter progress) -
trunk/src/core/net/sf/basedb/core/Update.java
r3530 r3544 429 429 </td> 430 430 </tr> 431 432 <tr> 433 <td>37</td> 434 <td> 435 <ul> 436 <li>Implement {@link net.sf.basedb.core.data.ExtendableData} to {@link net.sf.basedb.core.data.UserData}</li> 437 </ul> 438 Only the schemaVersion number is increased in this class, the real update work is done when the database is re-build. 439 </td> 440 </tr> 431 441 432 442 </table> … … 613 623 } 614 624 615 /*625 616 626 if (schemaVersion < 37) 617 627 { 618 628 if (progress != null) progress.display((int)(36*progress_factor), "--Updating schema version: " + schemaVersion + " -> 37..."); 619 629 schemaVersion = setSchemaVersionInTransaction(session, 37); 630 } 631 632 /* 633 if (schemaVersion < 38) 634 { 635 if (progress != null) progress.display((int)(37*progress_factor), "--Updating schema version: " + schemaVersion + " -> 38..."); 636 schemaVersion = setSchemaVersionInTransaction(session, 38); 620 637 - or - 621 schemaVersion = updateToSchemaVersion3 7(session);638 schemaVersion = updateToSchemaVersion38(session); 622 639 } 623 640 ... etc... -
trunk/src/core/net/sf/basedb/core/User.java
r3535 r3544 710 710 @return An Object or 711 711 null if no extended property exists with the name 712 @since 2.4 712 713 */ 713 714 public Object getExtended(String name) … … 721 722 @throws PermissionDeniedException If the logged in user doesn't 722 723 have @link {Permission#WRITE} permission for the user. 724 @since 2.4 723 725 */ 724 726 public void setExtended(String name, Object value) -
trunk/src/core/net/sf/basedb/core/data/UserData.java
r3535 r3544 120 120 */ 121 121 private Map<String, Object> extendedProperties; 122 /** 123 @since 2.4 124 */ 122 125 public Object getExtended(String name) 123 126 { 124 127 return extendedProperties == null ? null : extendedProperties.get(name); 125 128 } 129 /** 130 @since 2.4 131 */ 126 132 public void setExtended(String name, Object value) 127 133 {
Note: See TracChangeset
for help on using the changeset viewer.