I am expecting such readings should be in one place and JDBCReader seems to
be a right place.
Also I try to propose solution for common case where database collector is
default database collector.
Ok, clear - the custom database collector - you told about it - but I did
not see solution outside JDBCReader.
So, at least, my code for JDBCReader.readDatabaseTables suitable manner to
get tables and the same for columns. OK.
-----Original Message-----
From: Max Rydahl Andersen [mailto:max.andersen@redhat.com]
Sent: Thursday, March 27, 2008 9:11 PM
To: Vitali Yemialyanchyk
Cc: jbosstools-dev(a)lists.jboss.org
Subject: Re: JDBCReader question
Is this for the code completion work ?
Then I don't really understand why JDBCReader needs altering ?
Why not read it directly via CachedMetaDataDialect and use a custom database
collector
to get it all indexed as you need for code completion ?
Maybe i'm missing something ?
/max
Max,
Could you please review this small code snippet and answer -
Do I think/move in a right direction?
Vitali