Hello, The code in the file mentioned in the compilation error below should be:
assertSame( hia.getFolder(), s.load(Folder.class, new Long(fol.getId().longValue())) ); or something similar. You can find more information here. http://www.spikesource.com/spikewatch.logs/fedora-3-i386/759/hibernate/logs/hibernate.test.junit.log compiletest: [mkdir] Created dir: /opt/ossmon-build-root/759/hibernate/hibernate/build/testclasses [javac] Compiling 458 source files to /opt/ossmon-build-root/759/hibernate/hibernate/build/testclasses [javac] /opt/ossmon-build-root/759/hibernate/hibernate/test/org/hibernate/test/instrument/InstrumentTest.java:258: cannot resolve symbol [javac] symbol : constructor Long (java.lang.Long) [javac] location: class java.lang.Long [javac] assertSame( hia.getFolder(), s.load(Folder.class, new Long(fol.getId())) ); [javac] ^ Cheers. -- Surendra Singhi http://www.spikesource.com http://www.public.asu.edu/~sksinghi/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel