Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

DB2 #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I make do connectio with DB2 Database
2. I open schema explorer
3. I open the node of tables
4. When I try to open the node of fields the system response whith this 
error: 
System.Runtime.InteropServices.COMException (0x800A0CC1): O item não pode 
ser encontrado na coleção correspondente ao nome ou ao ordinal solicitado.
   em ADOX.Properties.get_Item(Object Item)
   em SchemaExplorer.ADOXSchemaProvider.GetTableColumns(String 
connectionString, TableSchema table)
   em SchemaExplorer.TableSchema.get_Columns()
   em at.a(Object A_0)

What is the expected output? What do you see instead?

What version of the product are you using?
The version of client and server of DB2 UDB 8.0

Original issue reported on code.google.com by leopire...@gmail.com on 6 Nov 2008 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

What set of templates are you trying to use? Also none of the templates have 
been
tested against DB2/ADOXSchemaProvider.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 28 Jan 2009 at 5:13

GoogleCodeExporter commented 9 years ago
Hello,

I'm going to close this issue. Could you please contact CodeSmith support with 
the
template you are using. None of the templates have been tested against DB2.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 4 Feb 2009 at 3:13

GoogleCodeExporter commented 9 years ago
Hello Blake,

The question is not about template. But about resources of access DB2 to make
connection and to see de fields.
The question is, i really can access DB2 with Code Smith?
We need this tools and some help to validate it. Now it´s important for us, 
because
we are creating an architecture using borland delphi and i saw that codesmith 
should
make our development with agility.

I did like below:

1. I make do connectio with DB2 Database
2. I open schema explorer
3. I open the node of tables
4. When I try to open the node of fields the system response whith this 
error: 
System.Runtime.InteropServices.COMException (0x800A0CC1): O item não pode 
ser encontrado na coleção correspondente ao nome ou ao ordinal solicitado.
   em ADOX.Properties.get_Item(Object Item)
   em SchemaExplorer.ADOXSchemaProvider.GetTableColumns(String 
connectionString, TableSchema table)
   em SchemaExplorer.TableSchema.get_Columns()
   em at.a(Object A_0)

Original comment by leopire...@gmail.com on 4 Feb 2009 at 11:15

GoogleCodeExporter commented 9 years ago
Hello,

You may want to download this old DB2SchemaProvider
(http://community.codesmithtools.com/gallery/p/8684.aspx)
and update the interfaces it implements and compile it against your version of
CodeSmith. You can compare it against the other schema providers source code 
for the
interfaces it needs to implement. You can find that source code here
(Documents\CodeSmith\Samples\v5.0\Projects\CSharp).

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 5 Feb 2009 at 4:07