Skip to content
Snippets Groups Projects
Commit 09797a1b authored by Yvan Peter's avatar Yvan Peter
Browse files

retrait annotation JDBI inutile...

parent 2121d87e
No related branches found
No related tags found
No related merge requests found
Pipeline #9337 failed
...@@ -21,11 +21,9 @@ public interface TacheDAO { ...@@ -21,11 +21,9 @@ public interface TacheDAO {
void dropTable(); void dropTable();
@SqlUpdate("insert into taches (id, nom, description) values (:id, :nom, :description)") @SqlUpdate("insert into taches (id, nom, description) values (:id, :nom, :description)")
@RegisterBeanMapper(Tache.class)
void insert(@BindBean Tache tache); void insert(@BindBean Tache tache);
@SqlUpdate("update taches set nom = :nom, description = :description where id = :id") @SqlUpdate("update taches set nom = :nom, description = :description where id = :id")
@RegisterBeanMapper(Tache.class)
void update(@BindBean Tache tache); void update(@BindBean Tache tache);
@SqlUpdate("delete from taches where id = ?") @SqlUpdate("delete from taches where id = ?")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment