Re: [SOLVED] Re: How to know columns names in Derby database table
- From: "Luis Angel Fdez. Fdez." <laffdez@xxxxxxxxx>
- Date: Sun, 23 Sep 2007 19:03:32 +0200
El Sun, 23 Sep 2007 12:12:50 -0400, Lew escribió:
Hi!
Vector<String> vNames = new Vector<String>();
Are you relying on the synchronization of Vector methods?
I guess so :)
Vector is kind of long in the tooth, and has non-Collection methods that
could cause maintenance difficulty down the road.
Ok.
Why did you choose Vector over, say, ArrayList?
Well, there is no reason... I want to return a String[] and Vector was
the only data type/class I could think with and add method. But after
reading your post I think I'll avoid Vector. As you talk about it, I
think I'll use ArrayList.
Thanks for you answer.
Bye!.
--
Slackware 11.0.0 (kernel 2.6.22 i686) Gnome 2.16.3
Intel(R) Core(TM)2 Quad CPU (2260.386 MHz) up 6 days, 10:36
Hattrick: Zanzabornín (1457021) X.1762 # Jabber: laffdez@xxxxxxxxx
Sokker: C.D. Arrancatapinos (18088) IV.57 # Linux User #99754
.
- Follow-Ups:
- Re: [SOLVED] Re: How to know columns names in Derby database table
- From: Bjorn Abelli
- Re: [SOLVED] Re: How to know columns names in Derby database table
- References:
- How to know columns names in Derby database table
- From: Luis Angel Fdez. Fdez.
- [SOLVED] Re: How to know columns names in Derby database table
- From: Luis Angel Fdez. Fdez.
- Re: [SOLVED] Re: How to know columns names in Derby database table
- From: Lew
- How to know columns names in Derby database table
- Prev by Date: Re: [SOLVED] Re: How to know columns names in Derby database table
- Next by Date: Re: CLOB issue with JDBC, IBATIS and Oracle 10g
- Previous by thread: Re: [SOLVED] Re: How to know columns names in Derby database table
- Next by thread: Re: [SOLVED] Re: How to know columns names in Derby database table
- Index(es):