db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ojb-...@db.apache.org
Subject [DB OJB Wiki] Updated: YourQuestionHere
Date Tue, 18 Jan 2005 14:22:52 GMT
   Date: 2005-01-18T06:22:52
   Editor: OliverBaum
   Wiki: DB OJB Wiki
   Page: YourQuestionHere
   URL: http://wiki.apache.org/db-ojb/YourQuestionHere

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -594,3 +594,39 @@
 
 Help!
 Thanks
+
+-------
+
+oliver.baum@wwk.de
+
+We're using OJB with the MSSQL DB. Now we have problems with the reconnect to the DB when
the DB was down. Can somebody tell me what we can do?
+
+Entry in the respository.xml:
+
+<jdbc-connection-descriptor
+jcd-alias="default"
+default-connection="true"
+platform="MsSQLServer"
+jdbc-level="2.0" 
+driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
+protocol="jdbc"
+subprotocol="microsoft:sqlserver"
+dbalias="//serv114:1433;SelectMethod=cursor;databasename=sqltest"
+username="***"
+password="***"
+batch-mode="false"
+useAutoCommit="2"
+ignoreAutoCommitExceptions="false" 
+>
+		
+<sequence-manager
+className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
+</sequence-manager>	
+
+<connection-pool
+maxActive="10"
+validationQuery="select count(*) from OJB_HL_SEQ"
+/>
+
+Thanks
+Olly

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message