From 8b1140fe3bf8fb4ea18a82f7c0a09e904be9b1f0 Mon Sep 17 00:00:00 2001 From: mpwong852 <46591521+mpwong852@users.noreply.github.com> Date: Tue, 7 May 2024 14:59:07 +0800 Subject: [PATCH] Make enum SQLServerSortOrder become public Issue #2404 Make this enum to be public, so that people can create "SQLServerMetaData" like below: new SQLServerMetaData("row_id", java.sql.Types.INTEGER, 0, 0, true, false, SQLServerSortOrder.Unspecified, -1) --- .../java/com/microsoft/sqlserver/jdbc/SQLServerSortOrder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSortOrder.java b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSortOrder.java index 9f36ef8f9..16ea49043 100644 --- a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSortOrder.java +++ b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSortOrder.java @@ -10,7 +10,7 @@ * Specifies the sorting order * */ -enum SQLServerSortOrder { +public enum SQLServerSortOrder { ASCENDING(0), DESCENDING(1), UNSPECIFIED(-1);