From: <one...@us...> - 2003-01-22 13:32:23
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/test In directory sc8-pr-cvs1:/tmp/cvs-serv1093/hibernate/test Modified Files: FooBarTest.java Log Message: update() support for embedded composite ids Index: FooBarTest.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/test/FooBarTest.java,v retrieving revision 1.238 retrieving revision 1.239 diff -C2 -d -r1.238 -r1.239 *** FooBarTest.java 30 Dec 2002 13:11:42 -0000 1.238 --- FooBarTest.java 22 Jan 2003 13:32:19 -0000 1.239 *************** *** 2761,2764 **** --- 2761,2770 ---- s.close(); s = sessions.openSession(); + l.setDescription("sick're"); + s.update(l); + s.flush(); + s.connection().commit(); + s.close(); + s = sessions.openSession(); l = new Location(); l.setCountryCode("AU"); |