Questions tagged as 'jpa'

0
answers

Problems recovering data via JPA changed directly in related entity

I have the following entity @Entity @Table(name="matricula") public class Matricula implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Lo...
asked by 02.12.2016 / 16:37
0
answers

Error query JPA list

I am new to JPA and am having difficulty in listing notes in a database. When I get this I get the following return.    11: 00: 32.247 [WARN] [opensig] Field 'private end   java.util.List nodes' will not be   serialized because it is f...
asked by 24.11.2016 / 13:40
1
answer

No bean named 'entityManagerFactory' available

I'm testing my Spring application with JUnit, however the error is occurring after putting the annotation @EnableJpaRepositories :    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManag...
asked by 12.11.2016 / 20:06
0
answers

Persistence of DateTime AngularJS x Java x MySQL

I created an application in our company to control the use of certain equipment in our Industry. The fact is that there was a need to control the date / time of a product entering and leaving a certain equipment. My Architecture: Front: HTML...
asked by 20.10.2016 / 21:47
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
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
0
answers

Losing connection to database. Postgress, Glassfish

After about 15 minutes my system stops communicating with the database. Log Entry Detail Close Timestamp 05/09/2016 21: 22: 30,287 Log Level ERROR Logger org.hibernate.engine.jdbc.spi.SqlExceptionHelper Name-Value Pairs {levelValue = 1000,...
asked by 05.09.2016 / 23:35
1
answer

Write the data of an inputText into another inputText

    
asked by 29.08.2016 / 17:11
1
answer

Print table row "dataTable"

I'm using Java, JPA, Wildfly and Primefaces. I have a table with several columns and rows, how do I print (report) each row of the table? each line will have its print icon and I would like to know how to send each line to the printer.     
asked by 23.08.2016 / 19:04
0
answers

completeMethod primeFaces is returned the Id where it should return name

I'm creating a form where I have neighborhood address name etc, and for that, I'm using prime Faces. <p:outputLabel value="Nome" for="nome" /> <p:autoComplete id="nome" size="60" value="#{cadastroFuncionarioBean.fu...
asked by 25.07.2016 / 16:56