资 源 简 介
LIQUidFORM stands for Language Integrated QUeries For Object Relational Mapping and is a Java library that provides a Java Domain Specific Language for building type-safe and refactoring proof JPA queries.
The project draws its inspiration from the LINQ project, but its aim is only to help in writting JPA queries against your domain model. See the Scope section for a thorough understanding of what LIQUidFORM is and what it is not.
The Problem
Have you ever created a domain model and related JPA queries in your favorite IDE, just to find that you can"t refactor it ?
Suppose you have the following persistent class :
```
@Entity
public class Person {
private String firstName;
private String surname;
public String getFirstName() {
return firstName;
}
public String getSurname() {
return surname;