published : 2020-03-03 changed: 2020-03-03
category: Computer --> programming --> MongoDB --> morphium
We just released morphium V4.1.2 via maven central. The lots of changes do contain:
´´´java @Entity public static class EncryptedEntity { @Id public MorphiumId id;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public String enc;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public Integer intValue;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public Float floatValue;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public List<String> listOfStrings;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public Subdoc sub;
public String text;
}
´´´
in addtion to those features, some fixes:
InMemoryDriver
InMemoryDriver
ObjectId
as key in entities would lead to exceptionsto use morphium, include this into your pom.xml in dependencies
:
´´´xml
created Stephan Bösebeck (stephan)