public void insert(Book book){
		DBManager manager = null;
		String insert = "insert into book(name,author,bookman,price,categoryId,introduction,onSaleDate,onSaleNum,remainNum)" +
						"values(?,?,?,?,?,?,?,?,?);";
		Connection conn = null;
		PreparedStatement pstmt = null;
		ResultSet rs = null;
		
		try{
			manager = new DBManager();
			conn = manager.getConnection();
			pstmt = conn.prepareStatement(insert);
			pstmt.setString(1, book.getName());
			pstmt.setString(2, book.getAuthor());
			pstmt.setString(3,book.getBookman());
			pstmt.setDouble(4,book.getPrice());
			pstmt.setInt(5,book.getCategoryId());
			pstmt.setString(6,book.getIntroduction());
			pstmt.setDate(7,book.getOnSaleDate());
			pstmt.setInt(8,book.getOnSaleNum());
			pstmt.setInt(9,book.getRemainNum());
			
			pstmt.executeUpdate();
		}catch(Exception e){
			e.printStackTrace();
		}finally{
			manager.closeAll(rs, pstmt, conn);
		}
	}