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 79203

Summary: Default column size
Product: db Reporter: Martin Schovanek <mschovanek>
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: blocker CC: romanmostyka
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152827    

Description Martin Schovanek 2006-06-27 13:30:22 UTC
[#200606270200, jdk1.5.0, Derby]

Preset a useful default column size for varchar and similar data types. Current
implementaion presets the size to 0 which leads to invalid create table statement.
Comment 1 Andrei Badea 2006-06-30 19:52:25 UTC
... not on all databases (does on Derby, I know, but doesn't e.g. on PointBase).
Anyway, I assume most users would know that a varchar field is useful when a
length is specified for it.
Comment 2 _ ahimanikya 2008-07-17 17:59:08 UTC
If user has not specified varchar length, it should be assumed as 1; different database has different standard for
varchar default size.  
Comment 3 Jiri Rechtacek 2009-10-16 14:14:27 UTC
Reassigned to new owner.