Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping
In directory sc8-pr-cvs1:/tmp/cvs-serv32602/sf/hibernate/mapping
Modified Files:
Collection.java
Log Message:
fixed a bug wrapping sorted collections
don't ever update mutable=false objects
added where attribute to collection mappings
Index: Collection.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping/Collection.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Collection.java 27 Jan 2003 12:51:50 -0000 1.12
--- Collection.java 15 Feb 2003 01:00:55 -0000 1.13
***************
*** 24,27 ****
--- 24,28 ----
private CacheConcurrencyStrategy cache;
private String orderBy;
+ private String where;
private PersistentClass owner;
private boolean sorted;
***************
*** 36,43 ****
}
- public String getOrderByString() {
- return orderBy;
- }
-
public Value getKey() {
return key;
--- 37,40 ----
***************
*** 214,217 ****
--- 211,230 ----
public void setOwner(PersistentClass owner) {
this.owner = owner;
+ }
+
+ /**
+ * Returns the where.
+ * @return String
+ */
+ public String getWhere() {
+ return where;
+ }
+
+ /**
+ * Sets the where.
+ * @param where The where to set
+ */
+ public void setWhere(String where) {
+ this.where = where;
}
|