åºæ¬ãã®2ã¤ã®ã¡ã½ããã¯åãå¤ãè¿ãå®è£ ã«åJDBCãã©ã¤ãã¯ãªã£ã¦ãã¨æãã®ã ãã©ï¼å°ãªãç§ã®çµé¨ä¸ã¯ä»ã¾ã§ããã ã£ãï¼ãmysql-connector 5.1.6ã§åãã¦éããã¿ã¼ã³ã«å·¡ãåãã¾ããã ãselect xxx as yyy from zzzã ãªãã¦SQLãæ¸ãã¨ã¾ãããyyyããè¿ã£ã¦ããã®ãæå¾ ãããããªãã§ãããmysql-connector 5.1.6ã§ã¯ãgetColumnLabel()ã ã¨ãyyyããgetColumnName()ã ã¨ãxxxãã æ°å¹´åMySQL使ã£ãæã¯ãããªçµæãããªãã£ãæ°ããããªãã Java SE 6 ããæ¡ç¨ã®JDBC4.0ããã¿ã®å¤æ´ãããããï¼æªç¢ºèªï¼ãJava SE 6ã®JavaDocã®ã³ã¡ã³ããè¦ãéãã«ããã¦ã¯ãããæ£ããåä½ãªãããªæ°ããããã ã¾ãDAOã®ã©ã¤ãã©ãªã§ãèªä½ããªãã¨è§¦ããªãé¨åã§ã¯ããã¨ã¯æãã¾ãã
{{#tags}}- {{label}}
{{/tags}}