|
From: <vga...@us...> - 2010-02-11 16:37:13
|
Revision: 492
http://treebase.svn.sourceforge.net/treebase/?rev=492&view=rev
Author: vgapeyev
Date: 2010-02-11 16:37:07 +0000 (Thu, 11 Feb 2010)
Log Message:
-----------
Documenting the remaining use of hibernate_sequence.
Modified Paths:
--------------
trunk/treebase-core/db/TODO.txt
trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/Submission.java
Modified: trunk/treebase-core/db/TODO.txt
===================================================================
--- trunk/treebase-core/db/TODO.txt 2010-02-11 16:35:29 UTC (rev 491)
+++ trunk/treebase-core/db/TODO.txt 2010-02-11 16:37:07 UTC (rev 492)
@@ -4,8 +4,6 @@
* Drop geospot_id_sequence -- there is no corresponding sequence
-* Drop hibernate_sequence
-
* Correct PK name in stepmatrixelement and create stepmatrixelement_id_sequence
* Create indexes, as suggested by Bill 2010-02-03 (and maybe later)
Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/Submission.java
===================================================================
--- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/Submission.java 2010-02-11 16:35:29 UTC (rev 491)
+++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/Submission.java 2010-02-11 16:37:07 UTC (rev 492)
@@ -202,6 +202,7 @@
@CollectionId(columns = @Column(name = "COLLECTION_ID", nullable = false), type = @Type(type = "long"), generator = "sequence")
// @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE, region = "studyCache")
+ //VG 2010-02-11 This property causes, in DB, values for SUB_TREEBLOCK.COLLECTION_ID being drawn from hibernate_sequence.
protected Collection<TreeBlock> getSubmittedTreeBlocks() {
return mSubmittedTreeBlocks;
}
@@ -224,6 +225,7 @@
@CollectionId(columns = @Column(name = "COLLECTION_ID", nullable = false), type = @Type(type = "long"), generator = "sequence")
// @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE, region = "studyCache")
+ //VG 2010-02-11 This property causes, in DB, values for SUB_MATRIX.COLLECTION_ID being drawn from hibernate_sequence.
protected Collection<Matrix> getSubmittedMatrices() {
return mSubmittedMatrices;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|