You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @puzatin , how do you declare your @Autowired FooDao dao? The code provided is not complete without seeing how that is defined. Probably the Dao already has a different handle bound.
Hi @puzatin , how do you declare your @Autowired FooDao dao? The code provided is not complete without seeing how that is defined. Probably the Dao already has a different handle bound.
hey. Some like this
@JdbiRepository
public interface FooDao {
@SqlUpdate("""
INSERT INTO foo (id)
VALUES (:id)
ON CONFLICT (id)
DO NOTHING
""")
void insertOrNothing(@BindBean Foo foo);
}
in the case of saveFooBar1(), is this the expected behavior or am I doing something wrong?
I Expected behavior as in saveFooBar2() method
The text was updated successfully, but these errors were encountered: