Shane's planet

    Shane's planet

    2022/06/16 1

    The getKey method should only be used when a single key is returned

    Intro JDBC의 KeyHolder를 사용 하던 중 위와 같은 에러를 만났습니다. 에러 전문은 아래와 같습니다. org.springframework.dao.InvalidDataAccessApiUsageException: The getKey method should only be used when a single key is returned. The current key entry contains multiple keys: [{id=13, item_name=M2Air, price=1690000, quantity=12}] keyHolder.getKey() 를 했을때 하나의 키가 반환 되어야 하지만 여러개의 키가 반환 되어 발생한 에러라고 메시지에 쓰여 있습니다. 상황 NamedParameterJdbcTe..

    Development/Daily Error 2022.06.16
    1
    더보기

    Shane's planet



    방문자수Total

    505,790

    • Today : 2,127
    • Yesterday : 2,736
    06-30 18:24
    • 분류 전체보기 (381) N
      • Programming (117) N
        • Java (34) N
        • Javascr¡pt (18)
        • JPA ⁄Spring (47)
        • Kotlin (4)
        • Python (13)
        • Swift (1)
      • Data (32)
        • MongoDB (3)
        • MYSQL, MariaDB (5)
        • Oracle (7)
        • PostgreSQL (4)
        • Search Engine (13)
      • Development (117)
        • Cloud (7)
        • Daily Error (27)
        • Development Tools (21)
        • DevLife (7)
        • DevOps (12)
        • Fundamentals (4)
        • Git (12)
        • HTML ⁄ CSS (6)
        • Problem Solving (7)
        • Projects (14)
      • IT Computer (109)
        • Books (1)
        • IT Products (1)
        • Linux (49)
        • Mac (43)
        • News (6)
        • Windows (9)
      • Travel (6)
        • Photos (6)

    Calendar

    «   2022/06   »
    일 월 화 수 목 금 토
          1 2 3 4
    5 6 7 8 9 10 11
    12 13 14 15 16 17 18
    19 20 21 22 23 24 25
    26 27 28 29 30    

    Copyright @ Shane. All rights reserved.

    티스토리툴바