/** * INTERNAL: * A call to this method will perform a platform based check on the connection and exception * error code to determine if the connection is still valid or if a communication error has occurred. * If a communication error has occurred then the query may be retried. * If this platform is unable to determine if the error was communication based it will return * false forcing the error to be thrown to the user. */ public boolean wasFailureCommunicationBased(SQLException exception, Accessor connection, AbstractSession sessionForProfile){ return getDatabaseSession().getPlatform().wasFailureCommunicationBased(exception, connection.getConnection(), sessionForProfile); }
/** * INTERNAL: * A call to this method will perform a platform based check on the connection and exception * error code to determine if the connection is still valid or if a communication error has occurred. * If a communication error has occurred then the query may be retried. * If this platform is unable to determine if the error was communication based it will return * false forcing the error to be thrown to the user. */ @Override public boolean wasFailureCommunicationBased(SQLException exception, Accessor connection, AbstractSession sessionForProfile){ return getDatabaseSession().getPlatform().wasFailureCommunicationBased(exception, connection.getConnection(), sessionForProfile); }
/** * INTERNAL: * A call to this method will perform a platform based check on the connection and exception * error code to determine if the connection is still valid or if a communication error has occurred. * If a communication error has occurred then the query may be retried. * If this platform is unable to determine if the error was communication based it will return * false forcing the error to be thrown to the user. */ @Override public boolean wasFailureCommunicationBased(SQLException exception, Accessor connection, AbstractSession sessionForProfile){ return getDatabaseSession().getPlatform().wasFailureCommunicationBased(exception, connection.getConnection(), sessionForProfile); }
/** * Return the class (interface) for the WebSphere JDBC connection wrapper. */ protected Class getWebsphereConnectionClass() { if (this.websphereConnectionClass == null) { try { this.websphereConnectionClass = (Class) getDatabaseSession().getPlatform().convertObject("com.ibm.ws.rsadapter.jdbc.WSJdbcConnection", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, exception); this.websphereConnectionClass = void.class; } } return this.websphereConnectionClass; }
/** * Return the class (interface) for the WebLogic JDBC connection wrapper. */ protected Class getWebLogicConnectionClass() { if (this.weblogicConnectionClass == null) { try { this.weblogicConnectionClass = (Class) getDatabaseSession().getPlatform().convertObject("weblogic.jdbc.extensions.WLConnection", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, SessionLog.SERVER, exception); this.weblogicConnectionClass = void.class; } } return this.weblogicConnectionClass; }
/** * Return the class (interface) for the WebSphere JDBC connection wrapper. */ protected Class getWebsphereUtilClass() { if (this.websphereUtilClass == null) { try { this.websphereUtilClass = (Class) getDatabaseSession().getPlatform().convertObject("com.ibm.ws.rsadapter.jdbc.WSJdbcUtil", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, exception); this.websphereUtilClass = void.class; } } return this.websphereUtilClass; }
/** * Return the class (interface) for the WebLogic JDBC connection wrapper. */ protected Class getWebLogicConnectionClass() { if (this.weblogicConnectionClass == null) { try { this.weblogicConnectionClass = (Class) getDatabaseSession().getPlatform().convertObject("weblogic.jdbc.extensions.WLConnection", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, exception); this.weblogicConnectionClass = void.class; } } return this.weblogicConnectionClass; }
/** * Return the class (interface) for the WebSphere JDBC connection wrapper. */ protected Class getWebsphereUtilClass() { if (this.websphereUtilClass == null) { try { this.websphereUtilClass = (Class) getDatabaseSession().getPlatform().convertObject("com.ibm.ws.rsadapter.jdbc.WSJdbcUtil", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, SessionLog.SERVER, exception); this.websphereUtilClass = void.class; } } return this.websphereUtilClass; }
/** * Return the class (interface) for the WebLogic JDBC connection wrapper. */ protected Class getWebLogicConnectionClass() { if (this.weblogicConnectionClass == null) { try { this.weblogicConnectionClass = (Class) getDatabaseSession().getPlatform().convertObject("weblogic.jdbc.extensions.WLConnection", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, SessionLog.SERVER, exception); this.weblogicConnectionClass = void.class; } } return this.weblogicConnectionClass; }
/** * Return the class (interface) for the WebSphere JDBC connection wrapper. */ protected Class getWebsphereConnectionClass() { if (this.websphereConnectionClass == null) { try { this.websphereConnectionClass = (Class) getDatabaseSession().getPlatform().convertObject("com.ibm.ws.rsadapter.jdbc.WSJdbcConnection", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, SessionLog.SERVER, exception); this.websphereConnectionClass = void.class; } } return this.websphereConnectionClass; }
/** * Return the class (interface) for the WebSphere JDBC connection wrapper. */ protected Class getWebsphereUtilClass() { if (this.websphereUtilClass == null) { try { this.websphereUtilClass = (Class) getDatabaseSession().getPlatform().convertObject("com.ibm.ws.rsadapter.jdbc.WSJdbcUtil", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, SessionLog.SERVER, exception); this.websphereUtilClass = void.class; } } return this.websphereUtilClass; }
/** * Return the class (interface) for the WebSphere JDBC connection wrapper. */ protected Class getWebsphereConnectionClass() { if (this.websphereConnectionClass == null) { try { this.websphereConnectionClass = (Class) getDatabaseSession().getPlatform().convertObject("com.ibm.ws.rsadapter.jdbc.WSJdbcConnection", Class.class); } catch (Throwable exception) { getDatabaseSession().getSessionLog().logThrowable(SessionLog.WARNING, SessionLog.SERVER, exception); this.websphereConnectionClass = void.class; } } return this.websphereConnectionClass; }
final DatabasePlatform platform = session.getPlatform(); if (platform.supportsConnectionUserName()) { qualifier = platform.getConnectionUserName(); if (fieldName != null && fieldName.length() > 0) { DatabaseField column = new DatabaseField(fieldName); if (session.getPlatform().shouldForceFieldNamesToUpperCase()) { column.useUpperCaseForComparisons(true);
if (fieldName != null && fieldName.length() > 0) { DatabaseField column = new DatabaseField(fieldName); if (session.getPlatform().shouldForceFieldNamesToUpperCase()) { column.useUpperCaseForComparisons(true);