Question about instance update behaviour with JDBC data (documentation/javadoc) #2010
-
Issue descriptionHello fellow micronauts, I just stumbled across the documentation on instance update with JDBC data as defined within the current docs here, where it says:
This documentation seems to be me outdated, but I just want to make sure that I dont miss something. The javadoc on the other hand says the following (although I understand its the doc of a more abstract interface CrudRepository):
Current behaviour in my tests seems to be:
Questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This looks like an error. If the update returns zero rows changed, it should throw an error. IMHO, no error should be thrown if you define an update method with a number as a result. That means you will handle the update result yourself. |
Beta Was this translation helpful? Give feedback.
This looks like an error. If the update returns zero rows changed, it should throw an error. IMHO, no error should be thrown if you define an update method with a number as a result. That means you will handle the update result yourself.