This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 117068 - Need temporary workaround to support primary ke of type Character
Summary: Need temporary workaround to support primary ke of type Character
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 20:49 UTC by Peter Liu
Modified: 2008-01-21 23:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Liu 2007-09-28 20:49:16 UTC
NB's JPA tooling now use Character type instead of String type for character primary key. Jersey 0.3 currently does not
support Character type in UriParam.  This breaks navigation for Discount table which as a character primary key.
Jersey will fix this for 0.4 release. Since we will be bundling 0.3 version for beta2, we need to have a temporary
workaround for beta2.
Comment 1 Peter Liu 2007-09-28 21:58:38 UTC
Fix checked into NB 6 trunk.

Comment 2 Lukas Jungmann 2008-01-19 15:45:11 UTC
v.
Comment 3 Nam Nguyen 2008-01-21 23:07:37 UTC
Just a note:

Jersey team decide that it won't support Character as primary key due to complication in case of encoding.  See:
https://jsr311.dev.java.net/issues/show_bug.cgi?id=13