Questions tagged [mappingexception]
54 questions
154
votes
11 answers
Another Repeated column in mapping for entity error
Despite all of the others post, I can't find a solution for this error with GlassFish, on MacOSX, NetBeans 7.2.
Here the error :
SEVERE: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer
prepare method
SEVERE: Exception while…

canardman
- 3,103
- 6
- 26
- 28
9
votes
2 answers
Hibernate: unmapped class association exception
I know this should be a pretty elementary issue to fix, but 1) I'm relatively new to Hibernate, and 2) the fixes I've found don't (seem to) apply here.
Here is the exception I am getting:
org.hibernate.MappingException: An association from the table…

Magsol
- 4,640
- 11
- 46
- 68
6
votes
1 answer
How to make SoapUI json request work with german umlauts?
We use SoapUI for many interfaces in our team project. We came across a problem with german special signs, called umlauts. When sending a POST request with Json body and a german umlaut, the we get…

Mateusz Sobala
- 366
- 2
- 10
6
votes
4 answers
Symfony2/Doctrine2 Invalid Mapping File Exception when trying to generate entities
I have a very simple database that I am trying to import, and create Entities from. Doctrine (Symfony) is able to generate the YML mapping files from the database. But when I subsiquently try to generate entities, I get the following…

Don Briggs
- 531
- 2
- 10
- 23
5
votes
3 answers
org.hibernate.MappingException: Unknown entity: pack1.Persoana
I receive this error and I don't know what is wrong with my hbm.xml file.
I use Eclipse Mars and Hibernate 5.0.2.
Error:
Nov 15, 2015 11:49:19 PM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {5.0.2.Final}
Nov 15, 2015 11:49:19 PM…

Ștefan Blaga
- 404
- 1
- 5
- 22
5
votes
1 answer
AutoMapper.AutoMapperMappingException
I know a lot of questions have been asked regarding this topic, but none of them provided an answer for my problem. That's why I'm creating a new question.
I've looked on google and here for answers and have found some which have improved my setup…

JeremyVm
- 385
- 2
- 3
- 12
4
votes
1 answer
Hibernate "Could not determine type for..." ManyToOne OneToMany mapping
I fear this is a very common problem, but I was not able to solve it anyway -.-
I want to organize events and locations. At one location several events can be conducted.
It boils down to these lines:
Location:
@OneToMany(fetch = FetchType.LAZY,…

user2158143
- 123
- 1
- 2
- 10
3
votes
2 answers
Failed to write HTTP message: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Error
I'm using Angular 5 and Java Spring Boot multi module application Employee class and address has one to many relationship. I have added @JsonManagedReference, @JsonBackReference annotations also but I am
getting an error when running the Angular…

A. perera
- 45
- 1
- 2
- 8
3
votes
1 answer
Symfony 2.5.5 & FOSUserBundle: the class ... was not found in the chain configured namespaces
Recently, I started working with Symfony2. Now I want to add a user management engine to my site.
But I'm facing a problem. This is what I'm doing:
In terms of creating/installing a basic Symfony2 project:
$ composer create-project…

Meiblorn
- 2,522
- 2
- 18
- 23
3
votes
1 answer
Symfony2 - Doctrine exception: class used in the discriminator map does not exist
I am using Symfony2 with Doctrine and when I query from my controller the next error appears(it appears in the navigator when I call for the page):
Entity class 'Bdreamers\SuenoBundle\Entity\Sueno_video' used in the discriminator map of class…

Lander Martinez
- 53
- 1
- 9
2
votes
2 answers
Hibernate MappingException with inheritance of a concrete non-domain class in Grails
The Scenario
I have a need to represent an object in two different contexts. One context should not persist and the other should. The persistent objects are actual data pulled from another system. The non-persistent objects represent parts of a…

powerfist
- 21
- 4
2
votes
0 answers
Jackson JsonMappingException continue and get full raport
I have been looked for solution but found only old or questions without answers.
When i have large model with Jackson @JsonProperty mapping and ObjectMapper, there are many of types of fields, when i'm mapping it with prepared wrong data e.g. in…

Gwiazdek
- 149
- 1
- 8
2
votes
1 answer
Hibernate MappingException: Unknown entity: com.xxxxxx.service.model.$Proxy$_$$_WeldClientProxy
I'm using maven multimodule project.
I divided my logic into different layers, Presentation, Business logic, data layer, each one in a separate module(layer).
When I try to insert an object, this exception occurs:
org.hibernate.MappingException:…

majdi
- 43
- 1
- 9
2
votes
1 answer
JavaFX Hibernate MappingException
Starting to work with JavaFX and hibernate, but can't resolve this exception:
Caused by: org.hibernate.MappingException: Could not determine type for: javafx.beans.property.StringProperty, at table: User, for columns:…

Alyona
- 1,682
- 2
- 21
- 44
2
votes
3 answers
Hibernate MappingException: Unknown entity on session save
I am getting exception on save operation to postgresql database using hibernate when I call addEventAction method from another class.
EventDAO.java:
package com.sessionpoint.session.sessiondr.core;
import java.util.ArrayList;
import…

sjain
- 23,126
- 28
- 107
- 185