0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ljava.lang.Objectの内容確認方法

Posted at

①、Arrays.toString()で中身が確認できる
System.out.println("row : " +Arrays.toString(row));

②内容取得方法

	if(getResultList.size() !=0) {

		for (Object row : getResultList) { 
	        Object[] cells = (Object[]) row;

	        System.out.println("row : " +Arrays.toString(row));

	        BigDecimal a= (BigDecimal) cells[0];
	        String b = (String) cells[1];
	        LocalDateTime update_dt ((Timestamp) cells[2]).toLocalDateTime();
	    }
		
	}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?