How to build persist

10 views
Skip to first unread message

gnufied

unread,
Jul 30, 2008, 10:46:44 AM7/30/08
to Persist
Hi,

I was planning to make some modifications in Persist for making it
work with Scala, and hence tried to build it from source without
success. I got:

[javac] /home/hemant/checkout/persist-read-only/persist/build/work/
src/tests/net/sf/persist/tests/framework/BytesBlob.java:16:
net.sf.persist.tests.framework.BytesBlob is not abstract and does not
override abstract method getBinaryStream(long,long) in java.sql.Blob
[javac] public class BytesBlob implements Blob {
[javac] ^
[javac] /home/hemant/checkout/persist-read-only/persist/build/work/
src/tests/net/sf/persist/tests/framework/StringClob.java:19:
net.sf.persist.tests.framework.StringClob is not abstract and does not
override abstract method getCharacterStream(long,long) in
java.sql.Clob
[javac] public class StringClob implements Clob {
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors


Also, on a sidenote, I would be pretty interested to have this working
under Scala. Does upstream coders have any such plans?

Julio Maia

unread,
Jul 31, 2008, 10:47:21 AM7/31/08
to per...@googlegroups.com
Hi,

Just use JDK 1.5, as the code expects the javax.sql libraries from that version (for better compatibility).
Pay attention that to run the tests you'll have to configure some test databases; unfortunately a good chunk of the code can only be properly tested using integration tests.
As for Scala, the library should be straightforward to use, please let me know if you find any problems integrating with the environment.

Cheers,

Julio
Reply all
Reply to author
Forward
0 new messages