/** * INTERNAL: Return the database platform specific information. This allows TopLink to configure * certain advanced features for the database desired. NOTE: this must only be used for relational * specific usage and will not work for non-relational datasources. */ public DatabasePlatform getPlatform() { try { return (DatabasePlatform) getDatasourcePlatform(); } catch (ClassCastException wrongType) { throw ValidationException.notSupportedForDatasource(); } }