From: <ste...@us...> - 2006-02-24 16:52:51
|
Update of /cvsroot/hibernate/Hibernate3/test/org/hibernate/test/proxy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4499/test/org/hibernate/test/proxy Modified Files: ProxyTest.java Log Message: try to protect HSQLDB from itself ;) Index: ProxyTest.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate3/test/org/hibernate/test/proxy/ProxyTest.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- ProxyTest.java 22 Feb 2006 21:45:23 -0000 1.13 +++ ProxyTest.java 24 Feb 2006 16:52:48 -0000 1.14 @@ -234,7 +234,9 @@ for ( int dp_indx = 0; dp_indx < nestedDataPointCount; dp_indx++ ) { DataPoint dp = new DataPoint(); dp.setDescription( "data-point [" + c_indx + ", " + dp_indx + "]" ); - dp.setX( new BigDecimal( c_indx ) ); +// more HSQLDB fun... +// dp.setX( new BigDecimal( c_indx ) ); + dp.setX( new BigDecimal( c_indx + dp_indx ) ); dp.setY( new BigDecimal( dp_indx ) ); container.getDataPoints().add( dp ); } |