Category "java"

How to perform Data Type validations for each individual fields of a POJO in Java?

I have a Request POJO class which comes with all String data type fields. When I have to store them to DB, the data types must be accurate. Considering that I

How to Connect to multiple Queue Managers and exchange data between them

I am Trying to connect to multiple QueueManagers in IBM MQ Explorer using java. I am able to connect to single Queue Manager and send nd receive data from it bu

How to convert graphics overlay into bitmap in mlkit android

I want to just convert graphics overlay to bitmap . https://github.com/googlesamples/mlkit/blob/master/android/vision-quickstart/app/src/main/java/com/google/ml

Not able to establish connection between mongodb and Springboot through app.properties file

I want to establish connection with mongodb through app.properties files in Spring boot. Currently, I am establishing connection through Uri variable declared i

imagemagick Convert working in Command line but not in java process runtime

I have a tif image where I am trying to draw a box and compress the image with LZW compression simultaneously. this is the command I am running, and it works fi

proto3: Why setting java_multiple_files = true not creating separate java classes for each proto message?

I have a proto definition with nested classes syntax = "proto3"; option java_package = "com.spot.proto.v1.config"; package v1config; // ClusterConfig proto i

Springboot Actuator Refresh does not reload @Value properties in @ConfigurationProperties

I have a springboot application that ingests an application.properties via @ConfigurationProperties and @PropertySource("classpath:application.properties"). My

Use ScheduledExecutorService to update JavaFX elements

Currently I am making a program that reminds me when to water my plants, while also putting the weather into account. I would like to display the current temper

Should the young generation size be more than a service's normal heap consumption?

We have a service, whose process sitting idle, takes a heap memory of 612 MB. The heap of our service is given a initial and maximum size of 1GB. The young gene

Connecting to Daml JSON API

I am stuck with this error. I don't know how to set the authorization header with a token. Java code: package URL; import org.json.simple.JSONObject; import su

IntegrationFlow memory leak

I have two integration flows that get files from two different directories. @Bean public IntegrationFlow processBridgeFlow() { return Integratio

How can I delete the product and corresponding logs?

I want to delete all the product logs of a specific product depending on its product_id(FK). I created product logs to monitor when the product it's created and

Output Sorted KV Pcollection to a SST file from Google Cloud Dataflow

I am trying to create a SST file from a Pcollection(Simple KV<String, String>>) using dataflow.This SST file will be later used for loading the rocksdb

I'm getting this error anyone know the solution

I'm getting this error anyone know the solution FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':flutter_plugin_android_lif

Flink - Failed to get metadata for topics exception while consuming from kafka topic

I have setup flink operator and kafka on minikube (both are on different namespaces). I am trying to consume messages from a kafka topic in flink and do some tr

Sync User Keycloack with User spring boot app

Hello I'm on a spring boot application with a keycloak authentication server and I would like to save the users on the spring database does anyone have a track

SQLite find a UUID and change value in row (Minecraft plugin)

I have a question about SQLite in bukkit encoding. I'm trying to figure out how to find a player in the database using a UUID and change values ​​(s

KeyListener does not handle keystrokes java

I'm creating a game with a level constructor.According to the idea, the player creates a level with the mouse, places the robot, cargo and loading location, and

I want my batch file to execute my jar file in PowerShell and not cmd?

I made a .jar file for my little Programm that works in the Terminal. I also made a bat file to open my jar file automatically however it opens my jar file in t

How Do I Create A Daily Excel Export In Azure?

I am moving a legacy application to the cloud and need guidance on breaking it up. There is a Java application that creates reports/statements out of a database