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 22650 - runtime database
Summary: runtime database
Status: CLOSED DUPLICATE of bug 17254
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@db
URL:
Keywords:
Depends on: 23287
Blocks:
  Show dependency tree
 
Reported: 2002-04-21 09:20 UTC by taro
Modified: 2003-06-30 17:17 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 taro 2002-04-21 09:20:01 UTC
Hi ,I find some problem in Database Explorer when Create a 
new Table.
I read the Help content :
"To create a new table:
Navigate under a connected database. The Explorer displays 
icons for Tables, Views, and Procedures.
Open the Create Table dialog box using either:
The contextual menu for the Tables
The contextual menus for an existing table
Type the table name............."

I test it, but When my column's type is char or varchar, 
it don't work. and show a error dialog 
" Unable to format a command:
  create table [{object.owner}.]{object.name}
  (
    {columns}
  )
  null
"
I test it on MS SQLServer2000 and Oracle8.1.7., and test 
columns's type is [char, varchar, int], only my column's 
type is int, It worked.
Comment 1 _ lkramolis 2002-04-22 07:50:00 UTC
It is probably DB module problem.
Comment 2 Radko Najman 2002-04-22 08:25:23 UTC
You can download patch from:
http://db.netbeans.org/servlets/ProjectDownloadList (patch17254.jar)



*** This issue has been marked as a duplicate of 17254 ***
Comment 3 taro 2002-04-26 17:38:12 UTC
I download the patch and then test again, it seems to work 
well on MS SQLServer.
But it still has some problem on Oracle. Although it can 
create table which datatype use char or varchar2.
Example when i create a table named test, then I execute 
SELECT * FROM TEST by Command Editor. An error occur, it 
says the table doesn't exist. So, I change My Command like 
SELECT * FROM "TEST" , it worked. I find i have to add " 
on columns or table. And it doesn't need to add " , only 
if table are not created by Dialog.
Comment 4 Radko Najman 2002-05-09 14:13:24 UTC
You are right. The problem is that all tables created by create table
dialog are case sensitive. I agree that it is a serious problem. I
filed a new bug (#23287) for this issue.
Comment 5 Martin Schovanek 2003-03-12 18:07:14 UTC
VERIFIED
Comment 6 Quality Engineering 2003-06-30 17:17:48 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.