I'm not really familiar with Jersey + Grizzly, but i guess you can write a
custom Component
that you inject in your service and you can use to get the database
connection from the connection pool.
but you have to close it manually.
If you want to automatically close i think you should implement an
Interceptor, but i don't know how to do it
with Jersey + Grizzly

2015-06-20 19:26 GMT+02:00 Chaitanya <[email protected]>:

> Hi
>
> I am using Jersey + Grizzly server frameworks and OrientDb. How do you
> create and close the database connections?
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to