You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by to...@apache.org on 2004/08/08 23:14:19 UTC
cvs commit: db-ojb build.properties
tomdz 2004/08/08 14:14:19
Modified: lib commons-sql-1.0-dev.jar
src/java/org/apache/ojb/broker/util/dbhandling
CommonsSqlDatabaseHandling.java
. build.properties
Added: profile firebird.profile mckoi.profile
Log:
Added profiles for Mckoi and Firebird which are usable with the commons-sql dbhandling task
Updated commons-sql which now includes initial support for Firebird
Revision Changes Path
1.1 db-ojb/profile/firebird.profile
Index: firebird.profile
===================================================================
#<!--
#/* Copyright 2002-2004 The Apache Software Foundation
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
# * you may not use this file except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.apache.org/licenses/LICENSE-2.0
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */
#-->
#
# Firebird is not supported by Torque (at least not by the version that comes with OJB)
# but only by the commons-sql database handling
# Therefore this profile does not contain Torque properties
#
project = ojbtest
dbmsName = Firebird
jdbcLevel = 3.0
urlProtocol = jdbc
urlSubprotocol = firebirdsql
urlDbalias = localhost/3050:OJB.gdb
databaseUrl = ${urlProtocol}:${urlSubprotocol}:${urlDbalias}
databaseDriver = org.firebirdsql.jdbc.FBDriver
databaseUser = sysdba
databasePassword = masterkey
databaseHost = 127.0.0.1
1.1 db-ojb/profile/mckoi.profile
Index: mckoi.profile
===================================================================
#<!--
#/* Copyright 2002-2004 The Apache Software Foundation
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
# * you may not use this file except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.apache.org/licenses/LICENSE-2.0
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */
#-->
#
# McKoi is not supported by Torque (at least not by the version that comes with OJB)
# but only by the commons-sql database handling
# Therefore this profile does not contain Torque properties
#
project = ojbtest
dbmsName = Mckoi
jdbcLevel = 2.0
urlProtocol = jdbc
urlSubprotocol = mckoi
urlDbalias = //localhost/OJB
databaseUrl = ${urlProtocol}:${urlSubprotocol}:${urlDbalias}
databaseDriver = com.mckoi.JDBCDriver
databaseUser = admin_user
databasePassword = aupass00
databaseHost = 127.0.0.1
1.8 +155 -150 db-ojb/lib/commons-sql-1.0-dev.jar
<<Binary file>>
1.7 +1 -1 db-ojb/src/java/org/apache/ojb/broker/util/dbhandling/CommonsSqlDatabaseHandling.java
Index: CommonsSqlDatabaseHandling.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/dbhandling/CommonsSqlDatabaseHandling.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- CommonsSqlDatabaseHandling.java 8 Aug 2004 11:28:02 -0000 1.6
+++ CommonsSqlDatabaseHandling.java 8 Aug 2004 21:14:18 -0000 1.7
@@ -75,7 +75,7 @@
private void initPlatformMapping()
{
_platformToDatabaseType.put("Db2", "db2");
- _platformToDatabaseType.put("Firebird", null);
+ _platformToDatabaseType.put("Firebird", "firebird");
_platformToDatabaseType.put("Hsqldb", "hsqldb");
_platformToDatabaseType.put("Informix", null);
_platformToDatabaseType.put("MaxDB", "maxdb");
1.68 +3 -1 db-ojb/build.properties
Index: build.properties
===================================================================
RCS file: /home/cvs/db-ojb/build.properties,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- build.properties 29 Jul 2004 20:33:43 -0000 1.67
+++ build.properties 8 Aug 2004 21:14:18 -0000 1.68
@@ -43,6 +43,8 @@
#profile=sybase
#profile=sapdb
#profile=maxdb
+#profile=mckoi
+#profile=firebird
###
#
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org