Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2346,7 +2346,7 @@ enum State {
*/
private final static Pattern limitOnlyPattern = Pattern.compile("\\{\\s*[lL][iI][mM][iI][tT]\\s+(((\\(|\\s)*)(\\d*|\\?)((\\)|\\s)*))\\s*\\}");

/*
/**
* This function translates the LIMIT escape syntax, {LIMIT <row> [OFFSET <offset>]} SQL Server does not support LIMIT syntax, the LIMIT escape
* syntax is thus translated to use "TOP" syntax The OFFSET clause is not supported, and will throw an exception if used.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
* to bypass encryption and gain access to plaintext data.
*/
public enum SQLServerStatementColumnEncryptionSetting {
/*
/**
* if "Column Encryption Setting=Enabled" in the connection string, use Enabled. Otherwise, maps to Disabled.
*/
UseConnectionSetting,

/*
/**
* Enables TCE for the command. Overrides the connection level setting for this command.
*/
Enabled,

/*
/**
* Parameters will not be encrypted, only the ResultSet will be decrypted. This is an optimization for queries that do not pass any encrypted
* input parameters. Overrides the connection level setting for this command.
*/
ResultSetOnly,

/*
/**
* Disables TCE for the command.Overrides the connection level setting for this command.
*/
Disabled,
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/microsoft/sql/Types.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,37 @@ private Types() {
// not reached
}

/*
/**
* The constant in the Java programming language, sometimes referred to as a type code, that identifies the Microsoft SQL type DATETIMEOFFSET.
*/
public static final int DATETIMEOFFSET = -155;

/*
/**
* The constant in the Java programming language, sometimes referred to as a type code, that identifies the Microsoft SQL type STRUCTURED.
*/
public static final int STRUCTURED = -153;

/*
/**
* The constant in the Java programming language, sometimes referred to as a type code, that identifies the Microsoft SQL type DATETIME.
*/
public static final int DATETIME = -151;

/*
/**
* The constant in the Java programming language, sometimes referred to as a type code, that identifies the Microsoft SQL type SMALLDATETIME.
*/
public static final int SMALLDATETIME = -150;

/*
/**
* The constant in the Java programming language, sometimes referred to as a type code, that identifies the Microsoft SQL type MONEY.
*/
public static final int MONEY = -148;

/*
/**
* The constant in the Java programming language, sometimes referred to as a type code, that identifies the Microsoft SQL type SMALLMONEY.
*/
public static final int SMALLMONEY = -146;

/*
/**
* The constant in the Java programming language, sometimes referred to as a type code, that identifies the Microsoft SQL type GUID.
*/
public static final int GUID = -145;
Expand Down