1
0
mirror of https://github.com/google/nomulus synced 2026-01-05 21:15:18 +00:00

Add SQL queries to RdapNameserverSearchAction (#987)

This has the same issue as the domain-search action where the database
ordering is not consistent between Objectify and SQL -- as a result,
there is one test that we have to duplicate in order to account for the
two sort orders.

In addition, there isn't a way to query @Convert-ed fields in Postgres
via the standard Hibernate / JPA query language, meaning we have to use
a raw Postgres query for that.
This commit is contained in:
gbrodman
2021-03-22 12:33:11 -04:00
committed by GitHub
parent 955f1b1ff8
commit 28fd425ccb
5 changed files with 198 additions and 114 deletions

View File

@@ -211,6 +211,7 @@ PRESUBMITS = {
# CriteriaQueryBuilder is a false positive
"CriteriaQueryBuilder.java",
"RdapDomainSearchAction.java",
"RdapNameserverSearchAction.java",
"RdapSearchActionBase.java",
},
):