Changeset 6989
- Timestamp:
- Nov 2, 2015, 8:46:40 AM (7 years ago)
- Location:
- trunk/src/core/net/sf/basedb/core
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/Install.java
r6988 r6989 118 118 method. 119 119 */ 120 public static final int NEW_SCHEMA_VERSION = Integer.valueOf(12 7).intValue();120 public static final int NEW_SCHEMA_VERSION = Integer.valueOf(128).intValue(); 121 121 122 122 public static synchronized int createTables(SchemaGenerator.Mode mode, ProgressReporter progress, -
trunk/src/core/net/sf/basedb/core/Update.java
r6988 r6989 53 53 import net.sf.basedb.core.data.ItemSubtypeData; 54 54 import net.sf.basedb.core.data.JobData; 55 import net.sf.basedb.core.data.KitData; 55 56 import net.sf.basedb.core.data.MeasuredBioMaterialData; 56 57 import net.sf.basedb.core.data.ParameterValueData; … … 285 286 </td> 286 287 </tr> 288 <tr> 289 <td>128</td> 290 <td> 291 Added {@link KitData} and other things related to it. 292 </td> 293 </tr> 287 294 </table> 288 295 … … 462 469 } 463 470 464 if (schemaVersion < 12 7)465 { 466 if (progress != null) progress.display((int)(progress_current), "--Updating schema version: " + schemaVersion + " -> 12 7...");467 // Schemaversion 127 only updates the version number468 schemaVersion = setSchemaVersionInTransaction(session, 12 7);469 progress_current += progress_step;471 if (schemaVersion < 128) 472 { 473 if (progress != null) progress.display((int)(progress_current), "--Updating schema version: " + schemaVersion + " -> 128..."); 474 // Schemaversion 127-128 only updates the version number 475 schemaVersion = setSchemaVersionInTransaction(session, 128); 476 progress_current += 2 * progress_step; 470 477 } 471 478 -
trunk/src/core/net/sf/basedb/core/data/BioMaterialEventData.java
r6279 r6989 178 178 } 179 179 180 private KitData kit; 181 /** 182 Get the kit used in this event. 183 @since 3.7 184 @hibernate.many-to-one column="`kit_id`" not-null="false" outer-join="false" 185 */ 186 public KitData getKit() 187 { 188 return kit; 189 } 190 public void setKit(KitData kit) 191 { 192 this.kit = kit; 193 } 194 180 195 private Date eventDate; 181 196 /** -
trunk/src/core/net/sf/basedb/core/data/BioPlateEventData.java
r5818 r6989 121 121 } 122 122 123 private KitData kit; 124 /** 125 Get the kit used in this event. 126 @since 3.7 127 @hibernate.many-to-one column="`kit_id`" not-null="false" outer-join="false" 128 */ 129 public KitData getKit() 130 { 131 return kit; 132 } 133 public void setKit(KitData kit) 134 { 135 this.kit = kit; 136 } 137 123 138 private Set<BioPlateEventParticipantData> participants; 124 139 /**
Note: See TracChangeset
for help on using the changeset viewer.