diff --git a/base/server/src/main/resources/webassets/labs/lab2.html b/base/server/src/main/resources/webassets/labs/lab2.html index 63688aa..83516d0 100644 --- a/base/server/src/main/resources/webassets/labs/lab2.html +++ b/base/server/src/main/resources/webassets/labs/lab2.html @@ -255,7 +255,7 @@

SQL Basics

users, but it does return all foo's. You can filter which columns to return when using an implicit join like so:
SELECT foo.*, user.user_name FROM foo, user
- The example returns everything from the foo table but only user_name from the foo table. + The example returns everything from the foo table but only user_name from the user table.
WHERE clause
@@ -1382,7 +1382,7 @@

What is the correct path annotation

DataAccessException (thrown by the database code). The WebApplicationException is built into JAX-RS and can be used to set a specific error code. You can see this in action by doing a request to /rest/nothing, Jersey - will find to find a match for this resource and throw a WebApplicationException with code + will fail to find a match for this resource and throw a WebApplicationException with code 404. Your code can also throw WebApplicationException. An example of this follows, consider an implementation of the deleteFoo method: