public boolean addItem(ItemBean itemBean) throws SQLException, ClassNotFoundException {
		ConnectionUtility chd = new ConnectionUtility();
		Connection con = null;
		Statement st = null;
		PreparedStatement ps = null;
		ResultSet rs=null;
		boolean b = false;
		try {	    	
	         con = chd.create();	
	         st = con.createStatement();
	         String itemName = itemBean.getItemName();
	         String description = itemBean.getDescription();
	         Double price = itemBean.getPrice();
	         rs = st.executeQuery("select itemid_seq.nextval from dual");
	         rs.next();
	         int i = rs.getInt(1);
	         String itemid = "Item"+i;
	    	 ps =con.prepareStatement("insert into Items values('"+itemid+"','"+itemName+"','"+description+"','"+price+"','available') ");
	    	 int result = ps.executeUpdate();
	    	 if(result>0) {
                 b= true;
	    	 }
		} catch(Exception e) {
			e.printStackTrace();
		}
		finally {
			 try  {
				 con.commit(); 
				 con.close();  
			 } catch(Exception e) {
				e.printStackTrace();
			 }
		}
		return b;          
	}