This project has retired. For details please refer to its
        
        Attic page .
      
DatabasePlatformConfigurator (Jetspeed-2 RDBMS Components 2.1.3 API)
 
 
org.apache.jetspeed.components.rdbms.ojb 
 
java.lang.Object 
  org.apache.jetspeed.components.rdbms.ojb.DatabasePlatformConfigurator 
 
public class DatabasePlatformConfigurator  extends 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  
 
Methods inherited from class java.lang.Object   
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
log 
private static final org.apache.commons.logging.Log log  
 
 
ds 
private DataSource  ds  
 
 
jcdAlias 
private String  jcdAlias  
 
 
DatabasePlatformConfigurator 
public DatabasePlatformConfigurator (DataSource  ds,
                                    String  jndiName) 
 
init 
public void init ()
          throws Exception  
Throws: 
Exception  
 
updateOraclePlatform 
private String  updateOraclePlatform (org.apache.ojb.broker.metadata.JdbcConnectionDescriptor jcd,
                                    DataSource  ds,
                                    String  platform)
                             throws org.apache.ojb.broker.accesslayer.LookupException,
                                    IllegalAccessException ,
                                    InstantiationException ,
                                    SQLException  
Parameters: jcd - 
Throws: 
org.apache.ojb.broker.accesslayer.LookupException
IllegalAccessException InstantiationException SQLException