On Sat, 12 Apr 2008 13:56:20 +0200, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote
Thanks Ruslan,
rssh wrote:
So, in 1.5 we have no javax.sql.RowId, javax.sql.NClob and so on :(
One quick solution: just comment out new JDBC-3.0 types in two cases in SqlPlugin.java and SqlTypes.java
As I've been able to find by googling, only java.sql.Types.DATALINK data type has been added to the JDBC 3.0 API. So, please, what exactly must I comment out? The whole import java.sql.Types line? Only case Types.DATALINK: return "DATALINK";?
JDK1.4 docs http://java.sun.com/j2se/1.4.2/docs/api/ (see java,sql.types) JDK1.6 docs http://java.sun.com/javase/6/docs/api/ So, all typoes which exists in J2SE1.6 but not in J2SE1.4 must be commented out.
As I am "a bit" lost in this arena, I do prefer to ask instead of doing no-sense things! Thanks for your patience!
If you agree, in future I will prepare special version for JDK-1.5 (i. e. prepare JPE rules for receiving version for JDBC-2.0 from generic and will ask you to test one.)
Of course I will try it. But, please, I don't know if I am the only one running XWiki in a Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03) box, but this is our production server and it will be difficult either to update Java or to have a new box in the following few months. Does this trick work also with 1.4? Or, do this plugin work in such an installation? Thanks!
I will test this.
Cheers,
Ricardo
-- Ricardo Rodri'guez Your EPEC Network ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua