[jdom-interest] ResultSetBuilder bug?

bob mcwhirter bob at werken.com
Mon Sep 30 19:36:11 PDT 2002


Putting it in the core is a committment to maintain it.
Leaving it in contrib is asking for mildew and decay over time.

	-bob

On Mon, 30 Sep 2002, Jason Hunter wrote:

> Thanks for the note.  I'll fix things up.
> 
> As for the class going into the core, what are people's opinions?
> 
> -jh-
> 
> Christopher Pereda wrote:
> > 
> > Hi, I wanted to set a column in a ResultSet as a attribute but whenever I
> > specified a new name for the attribute it made the column a element and not a
> > attribute. This happens in both setAsAttribute(int, String) and
> > setAsAttribute(String, String).
> > 
> > I think the problem is in the build() function line #216
> > if (!attribs.isEmpty() && isAttribute(name)) {
> > 
> > change to
> > if (!attribs.isEmpty() && isAttribute(columnName[col-1])) {
> > 
> > and it works for me. BTW, anybody know when ResultSetBuilder is going to be in
> > the main distro?
> > 
> > Chris
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 

--
Bob McWhirter        bob at werken.com
The Werken Company   http://werken.com/




More information about the jdom-interest mailing list