Skip to content

Commit 2dd0b0d

Browse files
authored
Merge pull request #28901 from ajaypaul-ibm/oracle23
Overlay for Oracle 23 Support
2 parents 321261e + aa7b377 commit 2dd0b0d

File tree

6 files changed

+2970
-2
lines changed

6 files changed

+2970
-2
lines changed

dev/io.openliberty.persistence.3.0.thirdparty/bnd.bnd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#*******************************************************************************
2-
# Copyright (c) 2020, 2023 IBM Corporation and others.
2+
# Copyright (c) 2020, 2024 IBM Corporation and others.
33
# All rights reserved. This program and the accompanying materials
44
# are made available under the terms of the Eclipse Public License 2.0
55
# which accompanies this distribution, and is available at
@@ -116,7 +116,11 @@ Include-Resource: \
116116
@${repo;org.eclipse.persistence:org.eclipse.persistence.core;${eclFullVersion};EXACT}!/!META-INF/maven/*,\
117117
@${repo;org.eclipse.persistence:org.eclipse.persistence.jpa;${eclFullVersion};EXACT}!/!META-INF/maven/*,\
118118
@${repo;org.eclipse.persistence:org.eclipse.persistence.jpa.jpql;${eclFullVersion};EXACT}!/!META-INF/maven/*,\
119-
@${repo;org.eclipse.persistence:org.eclipse.persistence.jpa.modelgen.processor;${eclFullVersion};EXACT}!/!META-INF/maven/*
119+
@${repo;org.eclipse.persistence:org.eclipse.persistence.jpa.modelgen.processor;${eclFullVersion};EXACT}!/!META-INF/maven/*,\
120+
org/eclipse/persistence/platform/database=${bin}/org/eclipse/persistence/platform/database,\
121+
org/eclipse/persistence/platform/database/oracle/plsql=${bin}/org/eclipse/persistence/platform/database/oracle/plsql,\
122+
org/eclipse/persistence/internal/databaseaccess=${bin}/org/eclipse/persistence/internal/databaseaccess,\
123+
org/eclipse/persistence/internal/helper=resources/org/eclipse/persistence/internal/helper
120124

121125
publish.wlp.jar.suffix: dev/api/third-party
122126

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0 which is available at
6+
* http://www.eclipse.org/legal/epl-2.0,
7+
* or the Eclipse Distribution License v. 1.0 which is available at
8+
* http://www.eclipse.org/org/documents/edl-v10.php.
9+
*
10+
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
11+
*/
12+
13+
// Contributors:
14+
// Oracle - initial API and implementation
15+
package org.eclipse.persistence.platform.database;
16+
17+
public class Oracle23Platform extends Oracle21Platform {
18+
public Oracle23Platform() {
19+
super();
20+
}
21+
}

0 commit comments

Comments
 (0)