|
| 1 | +# |
| 2 | +# Copyright (c) 1998, 2024 Oracle and/or its affiliates. All rights reserved. |
| 3 | +# Copyright (c) 1998, 2024 IBM Corporation. All rights reserved. |
| 4 | +# |
| 5 | +# This program and the accompanying materials are made available under the |
| 6 | +# terms of the Eclipse Public License v. 2.0 which is available at |
| 7 | +# http://www.eclipse.org/legal/epl-2.0, |
| 8 | +# or the Eclipse Distribution License v. 1.0 which is available at |
| 9 | +# http://www.eclipse.org/org/documents/edl-v10.php. |
| 10 | +# |
| 11 | +# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| 12 | +# |
| 13 | + |
| 14 | +# Contributors: |
| 15 | +# Oracle - initial API and implementation from Oracle TopLink |
| 16 | +# 03/02/2015-2.6.0 Dalia Abo Sheasha |
| 17 | +# - 461236: Running EclipseLink with Informix using a DB2 jdbc driver doesn't work |
| 18 | +# 03/19/2015 - Rick Curtis |
| 19 | +# - 462586 : Add national character support for z/OS. |
| 20 | +# 04/30/2015 - Will Dazey |
| 21 | +# - 465063 : Updated platform regex to match productName returned from a DB2/I connection. |
| 22 | +# 05/22/2018 - Will Dazey |
| 23 | +# - 532160 : Add support for non-extension OracleXPlatform classes |
| 24 | +# 05/06/2019 - Jody Grassel |
| 25 | +# - 547023 : Add LOB Locator support for core Oracle platform. |
| 26 | + |
| 27 | +# Key-Value file containing mappings between DB product name, major version, product version and |
| 28 | +# database platform class name. |
| 29 | +# |
| 30 | +# The key of the property is in the form of a java regular expression. |
| 31 | +# At runtime, DatabaseMetaData.getDatabaseProductName() is concatenated with DatabaseMetaData.getDatabaseMajorVersion() |
| 32 | +# and DatabaseMetaData.getDatabaseProductVersion(). That String is matched |
| 33 | +# against the regular expression to determine which DatabasePlaform to set. |
| 34 | +# |
| 35 | +# This file is parsed sequentially, top to bottom; More specific regular expression |
| 36 | +# to platform class entries should be placed before less specific entries. Each |
| 37 | +# platform entry must be on its own line, an entry cannot span multiple lines. |
| 38 | + |
| 39 | +(?is)oracle.*23.*=org.eclipse.persistence.platform.database.oracle.Oracle23Platform |
| 40 | +(?is)oracle.*21.*=org.eclipse.persistence.platform.database.oracle.Oracle21Platform |
| 41 | +(?is)oracle.*19.*=org.eclipse.persistence.platform.database.oracle.Oracle19Platform |
| 42 | +(?is)oracle.*18.*=org.eclipse.persistence.platform.database.oracle.Oracle18Platform |
| 43 | +(?is)oracle.*12.*=org.eclipse.persistence.platform.database.oracle.Oracle12Platform |
| 44 | +(?is)oracle.*11.*=org.eclipse.persistence.platform.database.oracle.Oracle11Platform |
| 45 | +(?is)oracle.*10.*=org.eclipse.persistence.platform.database.oracle.Oracle10Platform |
| 46 | +(?is)oracle.*9.*=org.eclipse.persistence.platform.database.oracle.Oracle9Platform |
| 47 | +(?is)core.oracle.*23.*=org.eclipse.persistence.platform.database.Oracle23Platform |
| 48 | +(?is)core.oracle.*21.*=org.eclipse.persistence.platform.database.Oracle21Platform |
| 49 | +(?is)core.oracle.*19.*=org.eclipse.persistence.platform.database.Oracle19Platform |
| 50 | +(?is)core.oracle.*18.*=org.eclipse.persistence.platform.database.Oracle18Platform |
| 51 | +(?is)core.oracle.*12.*=org.eclipse.persistence.platform.database.Oracle12Platform |
| 52 | +(?is)core.oracle.*11.*=org.eclipse.persistence.platform.database.Oracle11Platform |
| 53 | +(?is)core.oracle.*10.*=org.eclipse.persistence.platform.database.Oracle10Platform |
| 54 | +(?is)core.oracle.*9.*=org.eclipse.persistence.platform.database.Oracle9Platform |
| 55 | +(?is)oracle.*=org.eclipse.persistence.platform.database.oracle.OraclePlatform |
| 56 | +SQL\ Anywhere.*=org.eclipse.persistence.platform.database.SQLAnywherePlatform |
| 57 | +(?i)(sybase.*)|(adaptive\ server\ enterprise.*)|(SQL\ Server.*)=org.eclipse.persistence.platform.database.SybasePlatform |
| 58 | +(?i)microsoft.*=org.eclipse.persistence.platform.database.SQLServerPlatform |
| 59 | +#Use JavaDBPlatform as the platform for Derby |
| 60 | +(?i).*derby.*=org.eclipse.persistence.platform.database.JavaDBPlatform |
| 61 | +(?i).*db2.*dsn.*=org.eclipse.persistence.platform.database.DB2ZPlatform |
| 62 | +(?i).*(db2|AS).*(AS/400|qsq).*=org.eclipse.persistence.platform.database.DB2MainframePlatform |
| 63 | +(?i).*db2.*=org.eclipse.persistence.platform.database.DB2Platform |
| 64 | +(?is)pointbase.*=org.eclipse.persistence.platform.database.PointBasePlatform |
| 65 | +(?i)mysql.*=org.eclipse.persistence.platform.database.MySQLPlatform |
| 66 | +(?i)(informix.*)|(ids.*)=org.eclipse.persistence.platform.database.Informix11Platform |
| 67 | +(?is)postgresql.*=org.eclipse.persistence.platform.database.PostgreSQLPlatform |
| 68 | +(?is)h2.*=org.eclipse.persistence.platform.database.H2Platform |
| 69 | +(?is)hsql.*=org.eclipse.persistence.platform.database.HSQLPlatform |
| 70 | +(?is)firebird.*=org.eclipse.persistence.platform.database.FirebirdPlatform |
| 71 | +(?is).*symfoware.*=org.eclipse.persistence.platform.database.SymfowarePlatform |
| 72 | +(?is)access.*=org.eclipse.persistence.platform.database.AccessPlatform |
| 73 | +SAP\ DB.*=org.eclipse.persistence.platform.database.MaxDBPlatform |
| 74 | +HDB.*=org.eclipse.persistence.platform.database.HANAPlatform |
| 75 | +Pervasive\.SQL.*=org.eclipse.persistence.platform.database.PervasivePlatform |
| 76 | + |
0 commit comments