Hibernate supports this approach through example queries.
Hibernate通过示例(example)查询支持这种方式。
The following example queries the attachment configuration for queue AMDC79_ps for a field named add_queue.
下面的示例查询针对名为 add_queue 的字段查询队列 AMDC79_ps 的连接配置。
Here are some example queries very similar to queries that I used on a recent project.
这有一些查询例子,与我最近一个工程中的查询非常相似。
This is a search box that every Chinese is familiar with, but when you look at people's needs, people are typing all kinds of queries in this box. For example... "A great MP3", "Where can I find a girlfriend in Beijing?"
这是一个中国人都很熟悉的搜索框,但是当关注到人们的需求时就会发现,人们在框中输入,各种关键字。,比如,“听起来让人觉得开心的MP3“,“北京哪里能找到女朋友结婚?“
应用推荐