Changeset 7856
- Timestamp:
- Oct 20, 2020, 8:09:37 AM (3 years ago)
- Location:
- trunk/src/core/net/sf/basedb/core
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/File.java
r7714 r7856 85 85 */ 86 86 public class File 87 extends CommonItem87 extends AnnotatedItem 88 88 implements Transactional, DiskConsumable, Subtypable 89 89 { … … 507 507 // ------------------------------------------- 508 508 /* 509 From the Annotatable interface 510 ------------------------------------------- 511 */ 512 @Override 513 public Set<Annotatable> getAnnotatableParents() 514 { 515 return null; 516 } 517 // ------------------------------------------- 518 519 /* 509 520 From BasicItem 510 521 ------------------------------------------- … … 546 557 return used || super.isUsed(); 547 558 } 559 548 560 /** 549 561 Get all: -
trunk/src/core/net/sf/basedb/core/Install.java
r7816 r7856 118 118 method. 119 119 */ 120 public static final int NEW_SCHEMA_VERSION = Integer.valueOf(14 8).intValue();120 public static final int NEW_SCHEMA_VERSION = Integer.valueOf(149).intValue(); 121 121 122 122 public static synchronized int createTables(SchemaGenerator.Mode mode, ProgressReporter progress, -
trunk/src/core/net/sf/basedb/core/Update.java
r7816 r7856 441 441 </td> 442 442 </tr> 443 <tr> 444 <td>149</td> 445 <td> 446 Made {@link File} annotatable. No special database update is needed. 447 Only increase the schema version. 448 </td> 449 </tr> 443 450 </table> 444 451 … … 719 726 } 720 727 721 if (schemaVersion < 14 8)722 { 723 if (progress != null) progress.display((int)(progress_current), "--Updating schema version: " + schemaVersion + " -> 14 8...");724 schemaVersion = setSchemaVersionInTransaction(session, 14 8);725 progress_current += progress_step;728 if (schemaVersion < 149) 729 { 730 if (progress != null) progress.display((int)(progress_current), "--Updating schema version: " + schemaVersion + " -> 149..."); 731 schemaVersion = setSchemaVersionInTransaction(session, 149); 732 progress_current += 2 * progress_step; 726 733 } 727 734 -
trunk/src/core/net/sf/basedb/core/data/FileData.java
r7573 r7856 37 37 */ 38 38 public class FileData 39 extends CommonData39 extends AnnotatedData 40 40 implements DiskConsumableData, LoggableData, SubtypableData 41 41 {
Note: See TracChangeset
for help on using the changeset viewer.