Skip to content

Tag: java

Another way except of UserInput

I would like to know how to do this with another way except of userinput? I don’t want to write the values I want to do this the user Answer I guess the following might help:

Make a POST with JPA with existing data

I have the following problem, the thing is that I have an entity: The thing is that this back is connected to an Oracle DB, in which I already have a few registered users, but these are entered through a Mockaroo script, and when I try to save a new user through a service Rest throws me this error: Of

Why can’t Nextflow handle this awk phrase?

Background: Using a csv as input, I want to combine the first two columns into a new one (separated by an underscore) and add that new column to the end of a new csv. Input: Desired output: The below awk phrase works from the command line: However, when placed within a nextflow script (below) it gives an erro…

JPA Cast BigDecimal as string

I’m using JPA to query a database, but something strange happens. In some cases the cast works and compiles fine, but with a BigDecimal it doesn’t let me use the cast to make a LIKE with a String. Here is a part of the code that works: pesoObjetivo is a data type Double But when I try to perform t…

Java how to log set input

How do i log what goes in to the followin method? Using system.out is not possible, since void type is not allowed here. Answer To log what you are setting the URL as, which is what I’m assuming you are doing, you would have to set your url to a variable and log it. Alternatively you could add a print/l…