Questions tagged as 'hibernate'

0
answers

StackOverflowError when listing resources that contain a list of details

I have the Team and player classes with the following notations Team @OneToMany(fetch = FetchType.EAGER, mappedBy= "equipo", cascade= CascadeType.ALL) List<Jugador> jugadores = new ArrayList<>(); Player @ManyToOne @JoinC...
asked by 02.07.2018 / 01:21
0
answers

What is the correct way to load in a table data recovered with Spring, Hibernate and JQuery?

I am working with Spring mvc, hibernate with connection to SQL and I have trouble loading data on a table, which I have is the following. Pojo: public class Trabajador implements java.io.Serializable { private String idTrabajador;...
asked by 23.06.2018 / 21:35
0
answers

Loss of values inroduced in BBDD

Not long ago I asked a question about the loss of records introduced in Oracle DB. A colleague gave me a clue and made that when it comes to record the data no matter what happens to save them. We do it through Hibernate and what happens is that...
asked by 19.06.2018 / 12:48
0
answers

How to pass entities mapped with hibernate to JSON?

I am commenting I am working with hibernate, then I show an entity product of the mapping: public class Usuario implements java.io.Serializable { private String idUsuario; private Trabajador trabajador; //one to one private Strin...
asked by 14.06.2018 / 23:28
0
answers

Data that is lost from the Oracle Database

We have a problem with an application from which we carry the maintenance and we have encountered the following problem. It turns out that we enter some values in a table, until then, we see them on screen and without problem. Once you exit the...
asked by 28.05.2018 / 20:29
0
answers

Incorrect charset JasperServer

in Oracle 11g, when executing the query SELECT * FROM nls_database_parameters; I get (*) NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY $ NLS_ISO_CURRENCY AMERICA NLS_NUMERIC_CHARACTERS ., NLS_CHARACTERSET AL32UTF...
asked by 22.05.2018 / 13:01
1
answer

Problem with entering data with hibernate in java

When I enter a data via jsp with hibernate and mysql, this error is thrown at me:    Exception Report Type       message Execution of the Servlet launched an exception       description The server encountered an internal error that caused...
asked by 13.05.2018 / 05:39
0
answers

Hibernate, format numeric field

How can I indicate with JPA that a field that is integer has this format "00001". That is, 5 digits that are completed with leading zeros.     
asked by 04.05.2018 / 07:55
0
answers

java.sql.SQLException: Connections could not be acquired from the underlying database!

Holas I am working with hibernate and I have a problem with my application, it does not connect me to the database (sql). When I look at the tomcat log, I find this:    (e-deas LTDA / CFC) [2018-04-27 10: 05: 40,830] | WARN | com.mcha...
asked by 27.04.2018 / 18:29
0
answers

Error inserting duplicate key, JPA Hibernate

I have a problem with a project of java spring boot JPA hibernate, it turns out that everything works well when registering an X model, but when I pre load data directly to the base Postgres 9.6 at the time of registering I get error by the key...
asked by 16.04.2018 / 22:40