object-relationalIn hibernate we can write HQL instead of SQL which save developers to spend more time on writing the native SQL.我们能像处理 Java 对象一样处理数据库所以可以在处理的时候加入 Java 语言的特性 比如继承啊 多态啊 。。Hibernate also allows you to express queries using java-based criteria .