Rafael Steil wrote:I have downloaded it but not tested yet. Can you say if the new jdbc driver will be compatible with older versions of postgresql?
Rafael Steil wrote:hehehe.. I just downloaded mysql 4.1 and the latest version of connector/j. It simply does not work. There are so many exceptions that I want to kill mysql developers.
I was able to run jforum under mysql 4.1 using an older version of the jdbc driver, though.
IMHO, to avoid the exeptions and frustrations with differend packages, there are thou a few things one could do(unfortunately for some of them some structural chages in JForum would be required):
- use the database driver only for the designated generation.
- do not use betas, especially in DB domain. They are much too important to be beta.
- change the build structure to allow more versions for the databases, e.g:
Of course, the SQL scritps need no duplication cause mostly they work for all the version of a specific database.
- use a property file to select the correct database, so that there could be more than one build target (this is not that complicated as it looks, and will help avoid most of the problems).
- if you use eclipse(or other IDE), use the ANT support from the IDE, and not the "simple compile".