mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2244 - ENH: Add SQL Server support for transparent encryption via EncryptByPassPhrase, DecryptByPassPhrase
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user