我正在使用Mybatis-3,我有以下情况:
我有类 - 用户,如下所示:
public class User extends GeneralDto {
private String userId;
private String email;
private String firstName;
private String lastName;
private long creationTimestamp;
private long updateTimestamp;
private List<String> tags;
private HashMap<String, String> attributes;
private HashMap<String, String> accounts;
get and set to all + equals + hashcode.
}
Run Code Online (Sandbox Code Playgroud)
这两个哈希图包含字符串类型的未知键和值(它们给我带来了很多麻烦)。
我已经使用插入方法将这个类映射到表中。它被映射到下表方案:
User (userIdentity, userId, email, firstName, lastName, creationTimestamp, updateTimestamp)
UserAttribute (userIdentity, attributeName, attributeValue, creationTimestamp, updateTimestamp)
UserTag (userIdentity, tagName, creationTimestamp, updateTimestamp)
UserAccount (userIdentity, accountIdentity, role, creationTimestamp, updateTimestamp)
Run Code Online (Sandbox Code Playgroud)
我需要创建一个 GET 方法。该方法接收 UserKey …
是否有 Windows 操作系统支持的新版本 OpenVas(版本 8 或更高版本)?
如果是这样,我可以从哪里下载并安装它?