BookmarkResource: Use JPA metamodel for type-safe Criteria queries.

Change-Id: I7571a749275d733c9738eed01dad9fb2de7d77ba
diff --git a/.gitignore b/.gitignore
index 0d13c27..2b156fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,6 +33,7 @@
 # Gradle
 .gradle/
 build/
+src/main/generated
 
 # Shell
 .envrc