Java DataBase Connectivity API provides only interfaces so that using JDBC in your application will be independent of different types of Databases like Oracle, MySQL etc. And the database vendor like...
Type: Posts; User: JaiBharath; Keyword(s):
Java DataBase Connectivity API provides only interfaces so that using JDBC in your application will be independent of different types of Databases like Oracle, MySQL etc. And the database vendor like...
dialect is meant for providing database details of which ur making use in ur application to hibernate. In this manner only, hibernate will decide about the SQL statements those have to be used...
i agree with the reply from Rajan. That is the way to overload main()
Even if u give any command line argument other than String type, JVM will consider it as String only..and obviously it starts...
Try the below link
http://www.artima.com/forums/flat.jsp?forum=1&thread=158813
Never think of putting business logic in the action classes. Its not the way to work using struts. Action classes r only to act as a controller which delegates the control to some DAO, EJB objects....
JSP is actually developed to
1. lower the burden on the developer as the Servlet coding developement will be taken care by jsp compiler and can make use of some implicit variables.
2. allow a...
hey dudes,
In this discussion, I agree with eswar_ambati. I tested his code. Its the correct example for this discussion....
Cheers,
Jai
For the handling of objects collection in Java, Collection interface have been provided. This is avail in java.util package.
"List" is an interface, extends collection interface, provides some...
In Java, "==" is used for comparing the premetive data types, and for objects "equals()" must be used. if u use "==" for objects comparison, it wiil just compare the reference of the objects not the...
For extending a class in java programming, u should make use of 'extends' keyword.
Ex: ClassA is the class which u would like to inherit in ClassB. Code is as follows
//CODE
public class...
It really means that it cant find the corresponding package in the classpath, make sure to include the ojbdc14.jar(or anything else that contain the implimentation class files of jdbc interface) in...
both results in terminating our program execution. But below are the diffs:
System.exit(0): The User intentionally terminating the program.
System.exit(1): Some error caused for the termination....