Posts by Bruno Eduardo • 147 points
10 posts
-
0
votes1
answer205
viewsA: Instantiating class with dependency injection
I managed to solve the problem but not in the best possible way, I believe, so I will not consider the problem as solved. A intenção was to perform a method generically, for that I use the method…
-
0
votes1
answer205
viewsQ: Instantiating class with dependency injection
I have a method that calls other methods that are not predefined, I am using this library org.reflections and the method java.lang.reflect.Method#invoke to perform another method generically, that…
-
0
votes0
answers133
viewsQ: Set @Bean Datasource at runtime in Java Spring Boot
In the Java with Spring Boot framework the @Bean are normally automatically set, including the DataSource which is the main issue, but also has as settar the @Bean manually by code in the case of…
-
1
votes0
answers299
viewsQ: Run Spring Boot project without Datasource and Jdbctemplate
I have a project Java with Spring Boot that has to be mult-tenacy and for that I’m trying to use the Flyway to execute the migrate() by an endpoint passing the data needed to connect to a specific…
-
5
votes1
answer496
viewsQ: Disable Flyway migrate on startup and run only when requested
I’m just getting started with the Flyway in the Java along with the Spring Boot and I currently have an activity that tells me to do the Flyway execute the migrate() only when a certain endpoint is…
-
2
votes1
answer372
viewsQ: Separate JSX from component - React Native
Is there any way in React Native to put the whole JSX in a separate file without risk of decreasing the performance of App? Type the Angular that has a file for the HTML, other to the CSS and…
-
4
votes1
answer462
viewsQ: Save Image in Database
In my system there is a registration of Professional who has the option to save the photo of Professional also, at the moment I am doing a photo conversion to Base64 with Javascript in the front-end…
-
1
votes1
answer455
viewsQ: Effect of :Hover on an SVG inside the <img> tag
I have a file .svg here and I’m using the tag <img> to display this SVG on the screen but wanted to know if it has how to apply a CSS effect on it as :hover, unused jquery preferably, I’ve…
-
1
votes1
answer212
viewsA: Sending numeric value of an Enum by HTTP request in Java
I managed to find a "solution", in Enum put the following note: import com.fasterxml.jackson.annotation.JsonFormat; @JsonFormat(shape = JsonFormat.Shape.NUMBER) public enum DiaSemanaEnum { .....…
-
0
votes1
answer212
viewsQ: Sending numeric value of an Enum by HTTP request in Java
I have a problem in my system, in my back-end in Java com Spring Boot I have a class that has a property that’s kind of a Enum that I created, and my Front-end which is in Angular when making a…