CachedMetaDataDialect optimization proposition
by Vitali Yemialyanchyk
Max, hello.
I have some propositions to enhance CachedMetaDataDialect:
As I see here StringKey is used as a compound key for cached data -
But I think that this strategy has an obvious drawback:
Let try to imagine the situation with code completion for tables:
Firstly the user enter letter 'a' and press Ctrl-Space for completion - so
the compound key for this will be
StringKey {null, null, "a.*"}
In a second time the user enter string 'ab' and press Ctrl-Space for
completion - so the compound key for this case
StringKey {null, null, "ab.*"}
And this situation required one separate select from db and we do not get
benefits from previous cashing.
So I propose to use other structures and algorithms for cashing here.
Regards,
Vitali
16 years, 9 months
org.jboss.ide.eclipse.archives.test has compilation errors
by Denis Golovin
Rob,
now org.jboss.ide.eclipse.archives.test has compilation errors because
there model.test plug-in is missing in dependencies list. But I think
the better is using ResourcesUtils from org.jboss.tools.tests plug-in.
Patch in attachment.
Thanks
Denis
16 years, 9 months