[hibernate-dev] XML access to entities

2018-10-19 Thread Stephen Fikes
Is there a known / recommended solution for working with Hibernate entities as XML? There used to be an XML based session (DOM4J) but this is no longer a part of current Hibernate versions. Thanks! Stephen ___ hibernate-dev mailing list

Re: [hibernate-dev] Unidirectional @OneToMany @JoinColumn associations

2018-05-31 Thread Stephen Fikes
ot; referenced columns that are not primary key > columns...".  Nothing in here says full or partial. > > I completely agree with Sanne - its not a bug and it is something we > have never supported. > > On Wed, May 30, 2018 at 3:44 PM Stephen Fikes <mailto:sfi..

Re: [hibernate-dev] Unidirectional @OneToMany @JoinColumn associations

2018-05-30 Thread Stephen Fikes
The referenced attributes *are* key attributes .. just a subset of the key. So ... odd mapping ... but I don't think it is included in the "optional" category for JPA 2.x. Stephen On 05/30/2018 03:39 PM, Sanne Grinovero wrote: > Hi Gail, > > I would not consider it a bug to not have

Re: [hibernate-dev] HHH-10500 and multiple associations using the same foreign key column

2016-02-15 Thread Stephen Fikes
On Sat, 2016-02-13 at 13:56 -0800, Gail Badner wrote: > JPA 2.1 spec says this for the description of @JoinColumn( name="..." > ) > when used for a unidirectional one-to-many association: > > "If the join is for a unidirectional OneToMany mapping using a > foreign key > mapping strategy, the

Re: [hibernate-dev] How best to eliminate the Javassist dependency from Hibernate applications...

2016-02-03 Thread Stephen Fikes
On Wed, 2016-02-03 at 15:09 +, Sanne Grinovero wrote: > For the record, people should be able to use JPA in WildFly without > being able to see any org.hibernate class too. The background of the request/issue was a ClassNotFoundException when using the bundled Hibernate in an application

[hibernate-dev] org.hibernate.AnnotationException: No identifier specified for entity

2015-03-16 Thread Stephen Fikes
https://docs.jboss.org/hibernate/orm/4.2/manual/en-US/html_single/#persistent-classes-pojo-identifier The link above observes that the requirement to provide an identifier for every entity is ... still not (yet) enforced but ... should be considered a deprecated feature as it will be completely