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.
我想在 JPA 中检索实体的列名和表名我知道我是否有注释我可以通过获取注释来检索列名。但是我的类没有注释,它们已经由 hbm 文件映射 所以,我怎样才能检索列名?
考虑以下创建 XML 文档并显示它的简单代码。
XmlDocument xml = new XmlDocument(); XmlElement root = xml.CreateElement("root"); xml.AppendChild(root); XmlComment comment = xml.CreateComment("Co