#2244 - ENH: Add SQL Server support for transparent encryption via EncryptByPassPhrase, DecryptByPassPhrase

This commit is contained in:
rbygrave
2021-06-10 13:34:33 +12:00
parent 33ac1923ff
commit 4fd462b1c8
8 changed files with 51 additions and 15 deletions
@@ -22,7 +22,7 @@ public class TestEncrypt extends BaseTestCase {
@Test
@ForPlatform(Platform.H2) // only run this on H2 - PGCrypto not happy on CI server
@ForPlatform({Platform.H2, Platform.SQLSERVER}) // only run this on H2 - PGCrypto not happy on CI server
public void testQueryBind() {
LoggedSqlCollector.start();
@@ -36,7 +36,7 @@ public class TestEncrypt extends BaseTestCase {
}
@Test
@ForPlatform(Platform.H2) // only run this on H2 - PGCrypto not happy on CI server
@ForPlatform({Platform.H2, Platform.SQLSERVER}) // only run this on H2 - PGCrypto not happy on CI server
public void testQueryJoin() {
LoggedSqlCollector.start();
@@ -99,7 +99,7 @@ public class TestEncrypt extends BaseTestCase {
}
@Test
@ForPlatform(Platform.H2)
@ForPlatform({Platform.H2, Platform.SQLSERVER})
public void test() {
DB.find(EBasicEncrypt.class).delete();
@@ -28,7 +28,7 @@ public class EBasicEncrypt {
@Encrypted(dbLength = 80)
String description;
@Encrypted(dbLength = 20)
@Encrypted(dbLength = 80)
Date dob;
@Enumerated(EnumType.ORDINAL)