Skip to content

Tag: java

How do I import SlickUtils?

I’m attempting to import SlickUtils into my project, but I can’t figure out how. For example – to import ArrayList i’d do Could someone let me know how to do this with SlickUtils? Thanks. Answer This looks like an external library, which is not bundled with java. You can do this two wa…

Spring: re-initialized a bean

This is my Spring bean in the configuration class that creates a gRPC ManagedChannel: The controller method is provided below: The service class is: For each request, I create a new ManagedChannel in the service method processRequest and shut it down using the method called shutdownManagedChannel. Earlier, I …

How to solve Error when save Entity with List

I have next Entity(List was added with last update): And liquibase update: Well, when I try to save entity I get rg.postgresql.util.PSQLException: ERROR: relation “settings_bank” does not exist. I connect to DB by pgAdmin and- table was created.. List bankIds- just Long, its not connect to another…

Adding a Nested Statement

The problem, Write an application that reads three nonzero values entered by the user and determines and prints whether they could represent the sides of a triangle. I currently have I am trying to add an else statement to this for it to say “these values cannot make a triangle” if the original co…