spring-boot
Select Query not working in NULL parameters JPA
I am using spring-data-jpa here is my query @Query(value = "select ea.* from employee ea where ids in (?1) and (?2 is null or country=?2) ", nativeQuery = true)[详细]
2022-12-07 19:03 分类:问答Register / Config center HA solution across DC with replication
We have deployed multiple Java applications (spring boot based) in multiple datacenters. For better centralized management, we decide to register them to a same config / register center (Consul, Eurek[详细]
2022-12-07 19:00 分类:问答Return a JSON response as CSV file from spring-boot controller
In my spring-boot project, I am fetching information from an external API in a JSON format. The response is represented as follows:[详细]
2022-12-07 18:58 分类:问答Hot reload classes in Grails 5.x
I have bee开发者_高级运维n working with Grails 3.x for a long time with IntelliJ. Projects often used spring security and other nice plugin. One nice feature is that if I change a java/groovy class th[详细]
2022-12-07 18:34 分类:问答Hibernate Error - while inserting from select
Basically, for some reason, I need to conditionally insert data from one table to another, for later use in postgres.[详细]
2022-12-07 18:33 分类:问答java.lang.IllegalStateException: Failed to load ApplicationContext: snakeyaml dependency issue
Due to snakeyaml vulnerability, I am trying to exclude it in spring-boot-starter-web using exclusions[详细]
2022-12-07 18:31 分类:问答Passing trace id from spring web app(using cloud sleuth) to non spring web application when hitting an api
I have two servicesA and B A : it is written in spring boot B: it is web app written in java with custom framework[详细]
2022-12-07 18:21 分类:问答Mocking a Supplier<>-Bean
I would like to mock a Bean (using mockito) that is defined like so @Bean("idGenerator") public Supplier<UUID> idGenerator() {[详细]
2022-12-07 18:10 分类:问答spring-boo/neo4j Concurrent Save leads to deadlock
General Problem I have a Node that has a Parent/Child relationship to itself (Same Label/Class). I can add a new Relathiship to a new Child node by adding the Parent Node to Parents-Relationship list[详细]
2022-12-07 18:09 分类:问答How to test ( junit, mockito )
I have a class with 3 field in it. public class Data implements TestCon{ private UserDTO userDto; private UserTestDto userTestDto;[详细]
2022-12-07 17:41 分类:问答
加载中,请稍侯......