filmov
tv
Basics of jdbc programming Tutorial-9(Retrieval of an image from the Database)

Показать описание
this video deals with the overall idea of how the jdbc program is used for Retrieval of an image from theoracle databse.The java code for retrieval of an image in oracle database:
//retrieve an image from the database
class Jdbc
{
public static void main(String[] args)throws Exception
{
Connection con=null;
PreparedStatement pst=null;
ResultSet rs=null;
try
{
{
}//end of if
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e)
{
}
catch(Exception e)
{
}
finally
{
}
}
}
//retrieve an image from the database
class Jdbc
{
public static void main(String[] args)throws Exception
{
Connection con=null;
PreparedStatement pst=null;
ResultSet rs=null;
try
{
{
}//end of if
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e)
{
}
catch(Exception e)
{
}
finally
{
}
}
}