Posts by Bruno Nogueira Silva • 63 points
9 posts
-
-1
votes1
answer118
viewsQ: How to show the project version on the JSP page of a Spring MVC Web application
In the Java Web project with Spring MVC framework has the file pom.xml and within this file has several properties, among these properties has the version of the project:…
-
0
votes0
answers88
viewsQ: Error org.hibernate.dialect.Firebirddialect does not support Identity key Generation
This error appears when I go to save an entity in the database. I have configured the Entity class and the Repository in several ways, but the error remains. I am using Firebird 2.5. The table…
-
1
votes0
answers139
viewsQ: Dynamically connect to the database by the Spring project’s Repository class
I need to connect to the database in a dynamic way, where the database connection data can be passed by parameter, below is an outline of how to need the connection and execution of the query. This…
-
0
votes2
answers300
viewsA: How to add custom methods in all spring data services
I managed to run the class according to what I needed above. Below goes the code and used to run. public class BaseMyService<R extends BaseMyRepository, E> { public String COLUMNS_RESUME =…
-
0
votes2
answers300
viewsQ: How to add custom methods in all spring data services
I implemented methods into one Repository for all my children repositories have the same methods. Download the code of how I implemented a Repository Personalized This is the interface:…
-
1
votes1
answer576
viewsQ: Pass native query by parameter to Jparepository Interface
I need to create an interface that extends Jparepository where I want to pass a native query(select) by parameter instead of leaving static inside the annotation @Query. Instead of using…
-
0
votes1
answer137
viewsQ: Error consuming REST Java Arraylist<String>
I have a Maven web application in Netbeans running on Glassfish 4.1.1, and a basic CRUD class has been created to receive and return in JSON format, but when a CRUD will be returned…
-
3
votes1
answer3448
viewsQ: Mysql Workbench - error unserializing grt data
An error appears to me when opening a project in Mysql Workbench. error unserializing grt data
-
1
votes4
answers11902
viewsA: How to validate a standard EAN 13 barcode?
I couldn’t find a java barcode validator, so I made a GS1 barcode validator, which validates the GTIN-8, GTIN-12, GTIN-13, GTIN-14, GSIN and SSCC barcodes. It is a simple function where it returns…