Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有可能映射类似的东西:
private Map<Website, Map<String, String>> parameterMaps = new HashMap<Website, Map<String, String>>();
其中“网站”是我的类具有一些字符串属性,而内部地图应该是一些特定于网站的 url 部分。我想将它映射到 *.hbm.xml 而不是使用注释,因为它在我的项目中的习惯。我也感谢任何对任何手册的有用参考。谢谢!