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 221447 - [73cat] eclipselink.jpa.uppercase-column-names is unknown property for eclipselink
Summary: [73cat] eclipselink.jpa.uppercase-column-names is unknown property for eclips...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-04 21:31 UTC by muellermi
Modified: 2012-11-08 02:52 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 muellermi 2012-11-04 21:31:35 UTC
Product Version = NetBeans IDE Dev (Build 201211040001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02


for a native query GF responses an error message (primary key). Full description at
http://netbeans.org/projects/www/lists/netcat/archive/2012-03/message/16

solution for this problem:
in persistance.xml (xml mode) add
<property name="eclipselink.jpa.uppercase-column-names" value="true"/>
next, switch to design mode --> no porperty is visible

it seem, NB only displays "well known" properties
a) display all properties which are added in xml mode
b) add "eclipselink.jpa.uppercase-column-names" to the list of the "name" combobox (wich is displayed after you clicked onto add property)
Comment 1 muellermi 2012-11-04 21:37:40 UTC
for b)
I guess NB reads the whole XML file and the displays all properties which exists in the combobox "name"
Please check, wehther a property name does not exist. If unknown, dynamically add it to the combo, just for this session.
Thus, all properties defined in xml mode might be displayed in desighn mode too. If the type of value cannot be determined, use string as default.
(true or false might be interpreted as boolean, thus both values might be offered in the value combobox)
Comment 2 Sergey Petrov 2012-11-07 06:47:27 UTC
there was some reason to show only known properties, will add eclipselink.jpa.uppercase-column-names as fast fix, but may be enhancment can be filed to support also unknown properties some way, may be suggested above.
Comment 3 Sergey Petrov 2012-11-07 11:22:43 UTC
for other providers there may be just a few known properties and it was initially designed this way, as before there was no properties in design view at all, there is a way o enhance it.
for mentioned property  fix is http://hg.netbeans.org/web-main/rev/a2cd4622688f
Comment 4 Quality Engineering 2012-11-08 02:52:15 UTC
Integrated into 'main-golden', will be available in build *201211080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a2cd4622688f
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #221447 upper column name was missed occationally