资 源 简 介
UpFrost is a thin persistence layer that provides a mapping between an SQL database and Java objects. Why this new persistence library was created is best explained with the design goals of the project:
SQL-centric. That"s the main reason why UpFrost exists: although the JPA is a great piece of software, for a lot of developers, it"s easier and more powerful to express database statement in SQL rather than using an intermediate language that is translated later in SQL.
JPA-annotations compatible: UpFrost uses a subset of the JPA annotation to specify how java objects are mapped to the database. To a reasonable extent, you can make your POJOs compatible with both JPA and UpFrost.
No XML. There"s a lot of issues with using an XML document to store the relationship between java objects and the database, the main one is that it involves an additional point of failure by adding a strong coupling that must be kept in sync manually.