org.apache.jetspeed.components.rdbms.ojb
Class DatabasePlatformConfigurator

java.lang.Object
  extended by org.apache.jetspeed.components.rdbms.ojb.DatabasePlatformConfigurator

public class DatabasePlatformConfigurator
extends java.lang.Object

Dynamically configures Database Platform for OJB by looking at the connection string and figuring out the OJB platform using an OJB metadata utility Its important to get this right otherwise you will be sending the wrong (most likely HSQL) flavor of SQL statements to the backend database.

Version:
$Id: $
Author:
David Sean Taylor

Constructor Summary
DatabasePlatformConfigurator(javax.sql.DataSource ds, java.lang.String jndiName)
           
 
Method Summary
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabasePlatformConfigurator

public DatabasePlatformConfigurator(javax.sql.DataSource ds,
                                    java.lang.String jndiName)
Method Detail

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.