public static Livro getBook(int id) {
		 
		 if(id <= 0)
			 return null;
		 
		 if(conn == null)
			 getConnection();
		 
		 Livro bookFound = null;
		 
		 PreparedStatement stmt = null;
		 ResultSet rs = null;
		 try {
			 stmt = conn.prepareStatement("Select * from livros WHERE id = ?");
			 
			 stmt.setInt(1, id);
			 
			 rs = stmt.executeQuery();
			 
			  if ( rs.next() ) {
				  
				  bookFound = new Livro();
				  
				  bookFound.setId(rs.getInt("id"));
				  bookFound.setIdOwner(rs.getInt("owner_id"));
				  bookFound.setTitulo(rs.getString("title"));
				  bookFound.setAutor(rs.getString("author"));
				  bookFound.setDetalhes(rs.getString("detalhes"));
			  }
			  
			  rs.close();
		 }
		 catch (SQLException e) {
			 e.printStackTrace();
		 }
	      
		 finally {
			 if(stmt != null) {
				try {
					stmt.close();
				} catch (SQLException e) {
					e.printStackTrace();
				}
			 }
			 if(rs != null) {
					try {
						rs.close();
					} catch (SQLException e) {
						e.printStackTrace();
					}
			 }
		 }
		 
		 return bookFound;
	 }