MySql jar file constructor
Hello,
I am developing web application using JSP and MySql. I am using netBeans 4.1 as IDE.
To connect with database I have included jar file "mysql-connector-java-3.1.10-bin.jar" to Libraries folder of my project in netBeans. This jar file contains many classes, one which I want to use is com.mysql.jdbc.Blob.
In my jsp file I want to call Blob(byte[]) constructor. For that I am doing :
com.mysql.jdbc.Blob myBlob = new com.mysql.jdbc.Blob(dataBytes);
Where dataBytes is an initialized array of bytes.
When I compile my jsp file I get error "can not find symbol". It says it is not able to find constructor.
So where I am making mistake. To resolve this problem which actions should I take??
Jahnvi