hibernate-mapping
How to properly implement a owner-owned-owner2 association in java with hibernate?
I have looked for information on how to implement the following association in hibernate and although the hibernate manual is very thorough, I haven\'t found the following use case addressed.[详细]
2023-04-03 01:30 分类:问答How to query many to many relationship in NHibernate?
I am very new to NHibernate, and I would like to start development using this great technology. Below is my table relation ship:[详细]
2023-04-02 12:09 分类:问答Recursive reference in table with compossed Id gives mapping problem
Now im really lost...or confused...I got this class package co.com.adv.Salarix2.core.nominaprocessor.model;[详细]
2023-04-02 09:06 分类:问答Hibernate SaveOrUpdate with Delete
I am attempting to delete an item from a collection in a Hibernate Java object using the saveOrUpdate function on the parent object. Update and Inserts work properly, but objects are not Deleted prope[详细]
2023-04-01 09:45 分类:问答Collection being eagerly loaded, even though lazy = true?
I am running through a problem regarding Hibernate lazy loading. I posted this on Hibernate Forum but received no answer, so I thought that perhaps you guys here on stackoverflow could give me a hand.[详细]
2023-04-01 03:41 分类:问答Missing properties in Envers auditing tables
I am using envers to audit my ParameterToValue entity. Its properties \"containerId\", \"containerType\", \"parameterId\" which do appear as columns in a mapped DB table \"values_for_params\" (a regul[详细]
2023-03-31 19:56 分类:问答Hibernate Many-to-many association: left hand side collection contains elements, but right hand side collection is empty
I got a problem with a many to many association in my persistence layer. My scenario is the following:[详细]
2023-03-31 16:18 分类:问答Hibernate persistence by reachability & detached objects
I\'m curious to know how Hibernate would handle the following situation. Let\'s say we have a User entity, which has a country propert开发者_如何学Cy, set to cascade the persistence:[详细]
2023-03-31 14:18 分类:问答Hibernate query on superclass property
First of all, please forgive my ignorance in both Java and Hibernate, I\'m studying different ORM solutions and am not a Java programmer.[详细]
2023-03-29 23:11 分类:问答Selecting value using HQL based on a key of a Map
Suppose I have following JPA mapping. @Entity @Table(name = \"transaction\") public class Transaction { @ElementCollection(targetClass = String.class, fetch = FetchType.EAGER)[详细]
2023-03-29 09:45 分类:问答