Skip to content

Commit

Permalink
[hotfix] JPQL insert문 Model -> model변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hellozo0 committed Jan 16, 2024
1 parent ffdfaaa commit 191841b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public interface ModelJpaRepository extends JpaRepository<Model, Long> {

@Modifying(clearAutomatically = true)
@Query(value = "insert into Model (id, year) VALUES (:id, :year)", nativeQuery = true)
@Query(value = "insert into model (id, year) VALUES (:id, :year)", nativeQuery = true)
void modelRegister(@Param("id") Long id, @Param("year") String year);

}
Expand Down

0 comments on commit 191841b

Please sign in to comment.