ã¯ããã« O/R ãããã³ã°ã¨ã¯ O/R ãããã³ã°ã¨ã¯ãä¸è¨ã§è¨ãã°ããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°è¨èªã«ããã¦ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã®ã¬ã³ã¼ããé常ã®ãªãã¸ã§ã¯ãã¨ãã¦æä½ããæ¹æ³ã§ããããã詳細ãªå®ç¾©ãè¿°ã¹ããããå®éã®ã³ã¼ããè¦ãã»ããããããããã ããã以ä¸ã«ãä½ã¬ãã«ã® JDBC API ã®å©ç¨ä¾ã¨ãé«ã¬ãã«ã® O/R ãããã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã®ä»£è¡¨æ ¼ã§ãã JPA ã®å©ç¨ä¾ãæããã public List<Issue> findByProjectId(long projectId) { String query = "select id, title, description from issue where project_id = ?"; try (PreparedStatement ps = connection.prepareStatement(query))
{{#tags}}- {{label}}
{{/tags}}