org.ow2.petals.bc.sql
Class DriverResolver

java.lang.Object
  extended by org.ow2.petals.bc.sql.DriverResolver

public class DriverResolver
extends java.lang.Object

Author:
alouis

Field Summary
protected static java.util.Properties _staticMapping
           
 
Constructor Summary
DriverResolver()
           
 
Method Summary
static java.lang.String resolveDriverClassname(java.lang.String jdbcConnectionURI)
          Resolve JDBC Driver className with the connection URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_staticMapping

protected static java.util.Properties _staticMapping
Constructor Detail

DriverResolver

public DriverResolver()
Method Detail

resolveDriverClassname

public static java.lang.String resolveDriverClassname(java.lang.String jdbcConnectionURI)
Resolve JDBC Driver className with the connection URI.
  • mysql
  • oracle
  • hsql
  • sqlserver
  • derby
  • postgresql
  • db2
  • Parameters:
    jdbcConnectionURI -
    Returns:
    driver className


    Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.