Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister
In directory sc8-pr-cvs1:/tmp/cvs-serv2690/sf/hibernate/persister
Modified Files:
ClassPersister.java EntityPersister.java
NormalizedEntityPersister.java
Log Message:
made Query methods return this to allow chaining
added experimental find(Class, Map)
improved parsing of query imports, etc
fixed a bug in PS handling
Index: ClassPersister.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/ClassPersister.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ClassPersister.java 9 Feb 2003 06:28:15 -0000 1.7
--- ClassPersister.java 4 Mar 2003 10:53:47 -0000 1.8
***************
*** 46,50 ****
* instance are persisted. eg. table names.
*/
! public Serializable[] getPropertySpaces(Object instance);
/**
--- 46,50 ----
* instance are persisted. eg. table names.
*/
! public Serializable[] getPropertySpaces();
/**
Index: EntityPersister.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/EntityPersister.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** EntityPersister.java 2 Mar 2003 06:58:51 -0000 1.19
--- EntityPersister.java 4 Mar 2003 10:53:47 -0000 1.20
***************
*** 214,218 ****
}
! public Serializable[] getPropertySpaces(Object instance) {
return tableNames;
}
--- 214,218 ----
}
! public Serializable[] getPropertySpaces() {
return tableNames;
}
Index: NormalizedEntityPersister.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/NormalizedEntityPersister.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** NormalizedEntityPersister.java 2 Mar 2003 06:58:52 -0000 1.12
--- NormalizedEntityPersister.java 4 Mar 2003 10:53:47 -0000 1.13
***************
*** 205,210 ****
}
! public Serializable[] getPropertySpaces(Object instance) {
! return tableNames;
}
--- 205,210 ----
}
! public Serializable[] getPropertySpaces() {
! return tableNames; // don't need subclass tables, because they can't appear in conditions
}
|