Skip to content

Instantly share code, notes, and snippets.

@bommelmuetz
bommelmuetz / gist:8d5149137e8a08aa9ce6
Created February 1, 2016 09:26
Automatically created exceptions on JAX-RS sub resources.
Hi Adam, some last-minute question (hopefully not too late for this evening) :-Þ:
Using JAX-RS sub resources [https://jersey.java.net/documentation/latest/jaxrs-resources.html#d0e2464],
it looks like new transactions aren't created automatically as it would be using e.g. @Stateless on a
"normal" JAX-RS resource. Is there a way to circumwent this except creating transactions manually?
Thanks.