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.
|Summary:||MetaData API for returning fixed length types|
|Product:||db||Reporter:||John Baker <jbaker>|
|Component:||Code||Assignee:||Libor Fischmeistr <lfischmeistr>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
|Bug Depends on:|
|Bug Blocks:||155258, 149041|
Description John Baker 2008-12-15 00:55:03 UTC
These files use hardcoded fixed length types, better if kept in one place. ./db/src/org/netbeans/modules/db/explorer/dlg/CreateTableDialog.java ./db/test/unit/src/org/netbeans/modules/db/explorer/dlg/AddTableColumnDDLTest.java ./db/test/unit/src/org/netbeans/modules/db/explorer/dlg/CreateTableDDLTest.java public static MetaData.getFixedTypes(); However when a size is specified for a field, a size is preset for most types.
Comment 1 John Baker 2008-12-19 18:41:14 UTC
enum org.netbeans.modules.db.metadata.model.api.SQLType defines "Fixed length types" but contains some variable types, such as VARCHAR or does Fixed length types have a different meaning here?
Comment 2 David Vancouvering 2008-12-19 19:01:08 UTC
I'll take a closer look at this during bugfix phase, unless, do you need this now, John? Sorry, trying to stay focused on my feature work...
Comment 3 David Vancouvering 2008-12-19 19:03:04 UTC
Well, I took a quick look at that. It's a bogus comment, I had something in there but I removed it, and left the comment by accident. This covers *all* types, with no distinction between fixed and variable. That's probably a good place to put this new method. David
Comment 4 Jiri Rechtacek 2009-02-10 15:25:29 UTC
Reassigned to new owner.