public static List<Transaction> getTransaction(User baseUser) {
		 
		 if(baseUser == null)
			 return null;
		 
		 if(conn == null)
			 getConnection();
		 
		 List<Transaction> transactionList = new ArrayList<Transaction>();
		 
		 PreparedStatement stmt = null;
		 ResultSet rs = null;
		 try {
			 stmt = conn.prepareStatement("Select * from transacao WHERE target_owner_id = ? AND status = 'PENDENTE'");
			 
			 stmt.setInt(1, baseUser.getId());
			 
			 rs = stmt.executeQuery();
			 
			  while ( rs.next() ) {
				  
				  Transaction transacaoEncontrada = new Transaction();
				  
				  transacaoEncontrada.setId(rs.getInt("id"));
				  transacaoEncontrada.setBookID(rs.getInt("book_id"));
				  transacaoEncontrada.setTargetUserID(rs.getInt("target_owner_id"));
				  transacaoEncontrada.setUserID(rs.getInt("id_owner"));
				  transacaoEncontrada.setTargetBookID(rs.getInt("target_book_id"));
				  transacaoEncontrada.setStatus("PENDENTE");
			
				  
				  transactionList.add(transacaoEncontrada);
			  }
			  
			  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 transactionList;
	 }