Questions tagged as 'hibernate'

0
answers

On call to EntityIdentifierReaderImpl # resolves, EntityKey was already known; should only happen on root returns with an optional identifier specified

Using hibernate with class: Text.java package br.com.meusite.model.documento; @Entity public class Texto extends ABeanDao<Texto> { private static final long serialVersionUID = 1L; private static final int cMaxTamanhoIndic...
asked by 20.05.2016 / 20:44
0
answers

Error while deploying on heroku

Trying to deploy in heroku with tomcat 7 and hibernate and this error appears:    [ERROR] Failed to execute goal   org.apache.maven.plugins: maven-compiler-plugin: 3.1: compile   (default-compile) on project apiexpotaxi: Fatal error compiling...
asked by 15.06.2016 / 22:44
1
answer

Doubt (Hibernate) - JSF

I am making an employee registration, and in that register already have departments registered in the bank. So, at that moment I run the bank to present the data in the view, but when I finish the registration, this previously selected "departme...
asked by 18.05.2016 / 13:45
1
answer

commandLink does not create a link on the screen

I'm starting with sf and I'm having a problem with this project. The following command does not create the link on the screen that I need to go to the next page, just give me "New user" written on the screen: <?xml version="1.0" encoding...
asked by 23.06.2016 / 14:36
0
answers

Using same parent table id on daughter - Hibernate

I'm having trouble configuring and handling the use of ID in parent / child classes using Hibernate . I get everything working correctly when the record does not exist in the parent table (records are created with% correct% of the p...
asked by 12.04.2016 / 19:00
0
answers

Java ERROR: javax.servlet.ServletException: javax / enterprise / context / spi / Contextual

I'm new to Java and I'm having a hard time showing on the page a grid with data from a database table. I'm using java + hibernate + JSF 2 + tomcat 8. When I run my xhtml page it displays the below error. The problem is in the form's xhtml list,...
asked by 14.04.2016 / 02:12
0
answers

Hibernate, JPA and SQL Server ERROR

I can not upload my application. Below the stack, persistence and pom. Stack 22:25:32.131 [main] ERROR o.h.tool.hbm2ddl.SchemaExport - HHH000231: Schema export unsuccessful java.lang.UnsupportedOperationException: The application must suppl...
asked by 27.02.2016 / 02:29
0
answers

Null field error - Java Web

In the project I am studying is based on the book "Programming Java for Web" where a strange error happens, then the error appears after filling the entire form, where it appears in the log that the user field is null. I made changes as the book...
asked by 23.03.2016 / 01:44
0
answers

Doubt when generating procedure return REST in jersey

I have a method where the return of it is a list, based on an execution of a procedure in the bank StoredProcedureQuery spq = em.createStoredProcedureQuery("PROCEDURE"); .... The return of this query are some fields in a t...
asked by 19.02.2016 / 12:57
0
answers

Problem setting value of a mysql BIT field

Using Java + Hibernate on my systems, I created a boolean attribute to determine if a user is an administrator: private boolean isAdmin; The Hibernate generates tables and fields, and this isAdm field becomes type...
asked by 16.03.2016 / 20:42