-
some simple questions about java...
hello,
well, here are my questions:
1. is it ok if i connect to database (Statement st = cn.createStatement()) and
then after I fetch the resultset, I don't close it (st.close()) ? will it slow down
the connection to the database? because in my program, there is some
create statement lines, and I never use st.close.
2. if I use many ArrayLists, will they slow my program? because I think
ArrayList is better than the normal [] array.
thank you,
Faizal
Similar Threads
-
By Anonymous in forum Java
Replies: 0
Last Post: 01-31-2002, 11:08 PM
-
By zfqjava in forum java.announcements
Replies: 2
Last Post: 01-08-2002, 04:26 AM
-
Replies: 0
Last Post: 03-21-2001, 04:01 PM
-
By Steve in forum Enterprise
Replies: 2
Last Post: 01-11-2001, 08:48 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks