users@jersey.java.net

NetBeans6.5 and Jersey

From: Kumar, Vijay <Vijay_Kumar_at_intuit.com>
Date: Mon, 1 Dec 2008 17:30:10 +0530

Hi,

 

I am using the NetBeans 6.5 RC2 and generated the Restful web services
code for my MSSQL 2000 database.

 

When I tried to get the records from one table then I got 20 records but
my default value for @QueryParam("max") is set to 10 only.

In that case I supposed to get only 10 records but I am getting 10
records 2 times so total 20 records.

I don't know this is the problem with NetBeans generated code or Jersey.

 

How do I enable logging for Jersey as I want to see what Jersey is doing
for me.

In fact I am interested to see what database queries Jersey is
executing.

 

If I want to make a join between 2 tables as I want to pickup few
columns from two tables based on common

columns then what is the way to do this?

 

-Vijay Kumar