Questions tagged [mappingexception]

50 questions
128
votes
8 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
  • 2,773
  • 6
  • 24
  • 27
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,480
  • 11
  • 40
  • 65
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
  • 491
  • 1
  • 10
  • 22
5
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…
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
  • 20
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
  • 315
  • 2
  • 3
  • 10
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
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,436
  • 2
  • 14
  • 22
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…
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…
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
  • 139
  • 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
  • 33
  • 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,128
  • 2
  • 15
  • 27
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…
My God
  • 21,961
  • 23
  • 93
  • 166
2
votes
0 answers

Custom Converter Dozer - Exception List of List

I have an object like public class Foo{ private List> anotherFooList; } and I have a DTO object like public class FooDTO{ private List> anotherFooList; } On regular dozer converter I have an…
tviana
  • 388
  • 3
  • 20
1
2 3 4