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.
我有以下查询:
SELECT City.*, User.* FROM City,User
我有一个 entityManager 对象。所以可以执行这个查询,entityManager 会返回一个 [City,User] 列表?
因为我只看到存在这个方法:createNativeQuery(String, Class)。