Professional Documents
Culture Documents
Inserting Videos in Oracle
Inserting Videos in Oracle
BY
SUNIL KUMAR
SANTHOSH KARTHIK
SUDHARSHAN
AIM OF THE PROJECT
iSQLPLUS 10.1
Edit plus 3
COMPILE,PACKAGE AND
RUNNING THE APPLICATION
Java source code files need to be compiled.
List l=(List)session.getAttribute("list@diskfile");
FileItem fi=(FileItem)l.iterator().next();
String filepath=fi.getName();
String filename=filepath.substring(filepath.
lastIndexOf("\\")+1);
File myfile=new File(file,filename);
fi.write(myfile);
READ/WRITE BLOB DATA
Connection con=getConnection();
PreparedStatement pst=con.prepareStatement
("insert into video values(?)”);
BLOB blob=getBLOB(1)/setBLOB(1);
File file=new File(getVideofile());
FileInputStream fis=new FileInputStream(file);
pst.setBinaryStream/getBinaryStream(4,fis,
(int)file.length());
TESTING
TECHNIQUES
WHITEBOX TESTING
BLACKBOX TESTING
UNIT TESTING
INTEGRATION TESTING
SYSTEM TESTING
WHITEBOX TESTING
BASIS PATH TESTING
Module interface
Local data structures
Boundary conditions
Independent paths
Error handling paths
INTEGRATION TESTING
While combining different modules some
errors may occur at the interfaces.
SYSTEM TESTING
RECOVERY TESTING
SECURITY TESTING
SUMMARY