Skip to content

Commit 8e7c759

Browse files
author
Jacek Gębal
committed
Fixing issue with DB version check on 23 AI
1 parent 6e23024 commit 8e7c759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/utplsql/api/db/DefaultDatabaseInformation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public Version getUtPlsqlFrameworkVersion(Connection conn) throws SQLException {
3333
@Override
3434
public String getOracleVersion(Connection conn) throws SQLException {
3535
String result = null;
36-
try (PreparedStatement stmt = conn.prepareStatement("select version from product_component_version where product like 'Oracle Database%'")) {
36+
try (PreparedStatement stmt = conn.prepareStatement("select version from product_component_version where product like 'Oracle Database%' or product like 'Oracle AI Database%'")) {
3737
ResultSet rs = stmt.executeQuery();
3838

3939
if (rs.next()) {

0 commit comments

Comments
 (0)