Caching/Releasing JDBC Connections
It happens quite often that a JDBC connection is declared as the instance-level variable. The actual connection is then obtained at construction time. All methods of the object that need
It happens quite often that a JDBC connection is declared as the instance-level variable. The actual connection is then obtained at construction time. All methods of the object that need
Changing column types in a tableSQL Server does not permit you to explicitly change the datatype or length of a column. But there is a trick to get around this.
The java.net package contains classes that deal with connections across the network. If there is a direct connection to the Internet via a modem, various classes like the HttpConnection or
If you have a line in your code you are trying to debug or you don’t know how you got there, or where you came from (who called it), you
This simple class provides you with a mechanism for the creation of a logfile: import java.io.*;public class logfile { private String myFile =
The result of adding unnecessary catch blocks is code like this, where exceptions are caught and then immediately re-thrown: try { // some code here } catch (Exception e) {
You can create windows of different shapes using windows API calls in Visual Basic. Use the API Text Viewer tool to see all the API functions available for use in
You can retrieve the parent directory from a path by identifying the first and last backslash. The start position for the first backslash should be 3 in order for it
This can be done by using the is operator. Here is a simple function demonstrating this method: Public Function RemoveObject(Collection As Collection, Object As Object)Dim vTemp As ObjectDim Index As