Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

when using JNDI, will try to discover the real adapter. #25

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Feb 19, 2012

  1. when using JNDI, will try to discover the real adapter.

    and centralize the special handling of the adapter for Sqlserver so we don't get error when using transaction.
    patcheng committed Feb 19, 2012
    Configuration menu
    Copy the full SHA
    2e65f4c View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2012

  1. conn needs to be outside begin-ensure-end otherwise, conn inside ensu…

    …re block would be nil
    patcheng committed Feb 22, 2012
    Configuration menu
    Copy the full SHA
    b37a48f View commit details
    Browse the repository at this point in the history
  2. When using DBCP, the Statement returned is a DBCP's DelegatingStateme…

    …nt which cannot be casted as a OracleStatement.
    
    Need to unwrap it first.
    patcheng committed Feb 22, 2012
    Configuration menu
    Copy the full SHA
    d01e45f View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2012

  1. broke data mapper to sqlite.

    DataMapper expects Sqlite adapter, but DataObject expects Sqlite3.
    
    There is code in dm-sqlite-adapter to change the adapter from sqlite to sqlite3, and the dm-do-adapter to create URI using adapter instead of scheme….
    
    but that breaks JNDI case, when we want to scheme to stay 'java', but adapter to be whatever the underlying adapter is.
    
    consolidated more of the logic that maps DM constants to DO constants
    
    and changing DriverDefinition's verifyScheme to check for both scheme and jdbcScheme (in the case of 'sqlite' vs. 'sqlite3').
    patcheng committed Feb 24, 2012
    Configuration menu
    Copy the full SHA
    2cd6d12 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2012

  1. now works with Oracle JDBC driver 10.2.0.1.0.

    Avoided references to OraclePreparedStatement completely. Apparently there are multiple definition of the class, and it moves around.
    patcheng committed Mar 13, 2012
    Configuration menu
    Copy the full SHA
    e5ea5f6 View commit details
    Browse the repository at this point in the history