Why does primrose 3.10 not comple  
guest Mon Dec 31 17:13:34 GMT 2007
 
Downloaded Primrose 3.10 and tried to compile it and it does not. For example PoolCallableStatement does not implement setNCharacterStream(Reader, int). There are quite a few errors like this
 
sedj Mon Dec 31 18:24:00 GMT 2007
 
I can assure you the source code compiles. How are you compiling it ?
sedj Mon Dec 31 18:27:01 GMT 2007
 
Also ... there is no such method called setNCharacterStream in CallableStatement ... so not quite sure what you are doing.

Make sure you've got Sun's JDK 1.4 or above, and it should be fine.
guest Mon Dec 31 19:41:31 GMT 2007
 
Hi there. Have created a brand new Eclipse project, using JRE 6.0 I get loads of errors.

Have a look at here

http://java.sun.com/javase/6/docs/api/java/sql/CallableStatement.html

Seems that even if you set the compatability to JRE 5.0 these JRE 6.0 interfaces are still required.
sedj Wed Jan 02 07:38:17 GMT 2008
 
Ah, I see your point !
Primrose only supports up to JDK 1.5 when compiling. The binaries created by a 1.5 JDK will run in a JRE that is version 1.6, but not when compiling.
guest Wed Jan 02 10:01:08 GMT 2008
 
Do you have plans to upgrade so that the latest JDK is supported?
sedj Wed Jan 02 21:30:10 GMT 2008
 
Not currently .. as it would mean branching the code due to the incompatibilties of the 1.5 and 1.6 interfaces (and there is no pre-processer that I know of for javac which you could do some #ifdef in).
(And there are more people using 1.4/1.5 than 1.6) ...

If you can think of a way to keep from branching the source code, yet supporing both 1.4/1.5 and 1.6 then I would be happy to entertain the idea.