public String findPlatformFor ( String jdbcSubProtocol , String jdbcDriver ) { String platform = ( String ) jdbcSubProtocolToPlatform . get ( jdbcSubProtocol ) ; if ( platform == null ) { platform = ( String ) jdbcDriverToPlatform . get ( jdbcDriver ) ; } return platform ; }
Derives the OJB platform to use for a database that is connected via a url using the specified subprotocol and where the specified jdbc driver is used .