I have a problem with Hibernate ManyToOne as the foreign key is not filled in the database. So I have …
hibernate many-to-oneI have a OneToMany/ManyToOne relationship between two objects like: public class Company { private Long compid; private String companyName; @OneToMany(…
java many-to-one hibernate-criteria hibernate-onetomanyI'm having problems when saving entities in my DB. I have something like (very simplified) : @Entity public class Building { @OneToMany(…
java jpa eclipselink cascade many-to-oneI have Car and Rental models conntected OneToMany relation: @Entity public class Rental { private Long id; private Car car; private …
forms spring hibernate many-to-oneI am trying to convert my FluentNHibernate mappings to NHibernate Mapping By-code using NHibernate 3.3.3. The goal is to upgrade to …
nhibernate many-to-one mapping-by-codeI am then using Fluent NHibernate and its automapping feature to map the the following simplified POCO classes: public class …
nhibernate fluent-nhibernate cascade many-to-oneI have a Doctrine model (Assignment), which has a many-to-one relationship with another model (Region). Assignments are owned by users (…
doctrine-orm dql many-to-oneI have a composite key ContractServiceLocationPK made out of three id's (contractId, locationId, serviceId) of type long in an embeddable …
java hibernate jpa one-to-many many-to-oneI have an MVC Controller that return a List of Contacts as JSON. On frontend side i use jquery datatables …
spring-data-jpa specifications many-to-oneI'm piggy-backing off of How to join tables in unidirectional many-to-one condition?. If you have two classes: class A { @Id …
java hibernate orm many-to-one