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 229793 - Names get converted to uppercase NAMES (tablename as well as fieldnames)
Summary: Names get converted to uppercase NAMES (tablename as well as fieldnames)
Status: RESOLVED INCOMPLETE
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-15 14:16 UTC by jbril
Modified: 2013-07-27 20:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (69.62 KB, text/plain)
2013-05-15 14:16 UTC, jbril
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbril 2013-05-15 14:16:32 UTC
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 2.6.32-358.6.1.el6.i686 running on i386
Java; VM; Vendor = 1.6.0_25
Runtime = Java HotSpot(TM) Client VM 20.0-b11

In a new project I generated (for testing of the IDE)
1 Entity Classes from(Sybase) database (Score, Hole, HoleType)
2 JSF pages from these Classes
3 run the project
 	AS the (temporary) table SCORE exists this works (is not the table I need for this app)
 
	The table  Hole doe not work with Error:

Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: golf.dbo.HOLE not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).

Error Code: 208
Call: SELECT METERS, PAR, SI, COURSE, TEES, NR, COLOR FROM golf.dbo.HOLE
Query: ReadAllQuery(referenceClass=Hole sql="SELECT METERS, PAR, SI, COURSE, TEES, NR, COLOR FROM golf.dbo.HOLE")
Comment 1 jbril 2013-05-15 14:16:43 UTC
Created attachment 134475 [details]
IDE log
Comment 2 Marian Mirilovic 2013-05-16 10:36:03 UTC
Feel free to reassign ...
Comment 3 Jaroslav Havlin 2013-05-16 11:48:03 UTC
I'm not sure what could be the problem. Sergey, please, do you have any ideas?
Could it be a bug in JavaEE/Persistence? Or dbschema module? Thank you.
Comment 4 matthias42 2013-07-27 20:46:57 UTC
Please provide the generated sourcecode, including the persistence.xml. The problem could be in eclipselink (which generates the message), changing the case of the table identifier or in the generated source. This can only be determined when seeing the sourcecode.

Please add the information and reopen.