Yanming Zhou

Results 241 comments of Yanming Zhou
trafficstars

> For example, a client had their id field marked as an int type in the entity but their db column in Postgres was a bigint. This mapping inconsistency was...

> Hibernate will only add new columns if the strategy is `update`, it doesn't alter and delete columns. Sorry, Hibernate will alter column datatype since 6.2.0, see https://hibernate.atlassian.net/issues/HHH-15870.

`@SpringBootTest` is not enough, test slices like `@JdbcTest` should adapt also.

Could you explain why you would like to use a different key in config file? There is another solution: ```yaml public: *** publicBucket: ${public} ```

> We cannot use `public` as an identifier in java. I got the point.

Introducing a new annotation will make things more complicated, I think custom setter `setPublic(String value)` or placeholder `publicBucket: ${public}` is graceful enough, If the config class is maintained by yourself...

> We're going to try the `CharSequence` check. See https://github.com/spring-projects/spring-boot/pull/40862

> to specify an alternative would be very useful as we could use the git timestamp for a somewhat reproducible build. > > As far as i can tell, pack...

It's hopeful if bootBuildImage use last modified of most recently modified file in root project directory as creation time by default, user can override it by customizing bootBuildImage task passing...

> Maybe I'm simplifying it too much, but in practice I always write two queries now when there's 1 collection valued input. I then check if that that collection is...