Questions tagged as 'hibernate'

0
answers

Persistence.xml file can not find provider tag class

I'm creating a Hibernate JPA + Maven project. I put the necessary statements in pom.xml, and the project downloaded the dependencies of hibernate, but when configuring the provider tag of the persistence.xml file the IDE returns me the following...
asked by 05.11.2016 / 21:16
0
answers

Problem with hibernete and JPA

It is a WS REST, it should return a donor, but it is giving an exception ... Console: set 22, 2016 3:37:15 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {5.0.1.Final} set 22, 2016 3:37:15 PM org.hibernate.cfg.Environm...
asked by 22.09.2016 / 21:11
1
answer

Single-directional OneToMany mapping with 3 classes using 1 single class

Good evening, I have the following structure: @Entity public class Endereco { private String logradouro; private String numero; private String cep; private String bairro; private String complemento; } @Entity public class Cl...
asked by 15.10.2016 / 04:23
2
answers

Load objects from other classes

I have selectOneMenu that will serve to list all Generations (data in the database). These data must be listed at the time of registering a Nature object. My selectOneMenu looks like this: <h:outputLabel value="#{msg['geracao'...
asked by 21.10.2016 / 22:24
0
answers

GooGooStatementCache - Multiply prepared statement!

Hello, when I change an object and save it, I'm experiencing problems with slowness and at times it even completely blocks my application. By persisting I am returning only this information, but I could not identify what it could be.    stmt....
asked by 16.09.2016 / 13:12
0
answers

Foreign key problems

Hello everyone. I am creating a system that controls user registration and I am having a problem with a foreign key that is imported from another class into the Users class. When I change the state's combobox, a COULD NOT EXTRACT RESULTSET error...
asked by 22.08.2016 / 04:30
0
answers

Identify user by login

Hello everyone. I am developing a system that works with user registration and I have the following problem: in the system there will be 3 types of users: Administrator, Normal and Temporary. Depending on the type of user, the areas that he w...
asked by 18.08.2016 / 06:15
1
answer

Hibernate problem at the time of hosting

I have a webservice that works perfectly on my machine, I use mysql and hibernate. I am getting a lot to do the hosting in Integrator.com.br, it gives problems of DNS etc. The main problem is, running the application presents me with this sta...
asked by 30.08.2016 / 03:50
0
answers

Entity export error - Hibernate

Good afternoon everyone! I'm trying to create the database tables from the entities I've created in the project. When I ask to create the tables and display the bank creation script by Eclipse I get this error: Exception in thread "main" ja...
asked by 04.08.2016 / 18:29
0
answers

screen editing user does not load data, and delete method does not delete

Take a look at the codes: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ui:composition template="/WEB-INF/t...
asked by 12.07.2016 / 21:03