Questions tagged as 'hibernate'

1
answer

how to make the geojson format in java

I have a question, how would this format in java with hibernate and mysql? { type: 'FeatureCollection', features: [{ type: 'Feature', geometry: { type: 'Point', coordinates: [-77.032, 38.913] }, properties: {...
asked by 17.04.2018 / 22:11
0
answers

Appropriate permissions to system tables in SQL Server for reverse engineering in java hibernate

Which SQL Server 2014 tables should be given permissions for reverse engineering to work in the java hibernate framework? I've been getting this error in eclipse: com.microsoft.sqlserver.jdbc.SQLServerException: El nombre de objeto 'INFORM...
asked by 10.04.2018 / 01:40
0
answers

Whitelabel Error Page

I have a Whitelabel Error Page I only run the first @RequestMaping (value="/ get", ...) the truth I do not understand the problem when consuming the service of the backend, only the first method works, the others give me back "Whitelabel Error P...
asked by 10.04.2018 / 02:58
0
answers

Error converting object to string jsf-hibernate

I am doing a control program for borrowed books where only the Isbn of the book and the Student's card are kept in the Loan table; I do it with JSF and Hibernate. I'm loading a selectOneMenu with a query of Student-type objects but when converti...
asked by 24.03.2018 / 01:33
1
answer

Modification-Error in the creation of an instance with jsf-spring-hibernate-mysql

I already asked this question previously but now it gives me another error product of a change. I am a beginner in this Spring-Hibernate (I know the essentials). I have created in Netbean a login with hibernate (annotations) and access to MySql...
asked by 20.03.2018 / 17:38
0
answers

Error in creating an instance with jsf-spring-hibernate-mysql

I created in Netbeans a login with hibernate (annotations) and access to MySql but when I added Spring (also with annotations) I got stuck, already in the first attempt Spring does not create the instance of an object (dependency injection) . I...
asked by 20.03.2018 / 02:30
5
answers

[Ljava.lang.Object; can not be cast

I have the following problem, I want to make a query to my db, to bring a list of a related class, all worked with hibernate, but when I want to print on the screen it throws me the following error: Exception in thread "AWT-EventQueue-0" java....
asked by 09.10.2016 / 22:19
0
answers

JSF / hibernate hql does not show results

I have an HQL to extract data from a table that has the same user ID that I'm clicking my bean is: public void setViewUser () throws IOException { UserDAOImpl dao = new UserDAOImpl(); User user = dao.findById(id_user); id_us...
asked by 19.03.2018 / 15:22
0
answers

Insert only new data in BBDD

My problem: 1-I have a REST API that I use a lot of data to insert in an internal database (Process that lasts for hours). 2-The API dumps whole tables or filtered by an attribute (Select * from table where attribute = parameter): ex: www....
asked by 10.03.2018 / 16:20
1
answer

Error in Eclipse: Could not locate getter for property

You see, I have 2 classes, a call NIF, which takes the ID of one person, and another call Secure, with the data of a person. These classes are related so that NIF is a component of Insurance. Table NIF: package es.makigas.hibernate.modelo;...
asked by 27.02.2018 / 20:20