[Kontor-user] Re: Kontor-user digest, Vol 1 #116 - 2 msgs
Brought to you by:
rtfm
|
From: Marco H. <mh...@qu...> - 2004-05-28 08:43:17
|
Hi Christoph,
I attach my corrected sql file (I don't on which line the missing comma was).
In addition to that I added a codeline in
/source/ext/kontor/IoS/framework/java/de/ios/framework/db2/
DBTransactionServer.java
I added the line Class.forName("org.postgresql.Driver") because there was a
change in the postgresql-jar for the version 7.4.x (I think since version 7.x
but I'm not sure). See the code below.
private final Connection getNewConnection( boolean initMetaData )
throws de.ios.framework.basic.ServerException
{
Connection dbcon;
try {
if (Debug.DBG)
Debug.println( Debug.SQLINFO, this, "Getting 1 new Connection...");
try {
if (dbConFactory != null)
dbcon = dbConFactory.createConnection();
else{
Class.forName("org.postgresql.Driver"); // Package-path for
Postgres 7.4.x
dbcon = DriverManager.getConnection(dbUrl, dbUid, dbPassword);}
} catch (SQLException s) {
if ( (databaseName != null) && ....
What are your plans with Linux Kontor?
Are you planing to keep the project alive?
Where will you post the fixes and infos ? On the sourceforge page ?
Regards,
Marco
|