It was a failure of finding the documentation between 4.x and 5.x with regards
to @GeneratedValue(AUTO) behavior.
Setting hibernate.id.new_generator_mappings=false fixed it.
v/r,
Jason
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
http
I think I have found another corner case on the
https://hibernate.atlassian.net/browse/HHH-9798 regression.
The cited example is:
@OneToOne(fetch = FetchType.LAZY)
@JoinTable(
name = "ITEM_SHIPMENT", // Required!
joinColumns =
@JoinColumn(name = "SHIPMEN
> -Original Message-
> From: Jason Pyeron
> Sent: Sunday, April 19, 2020 11:20 AM
>
> I think I have found another corner case on the
> https://hibernate.atlassian.net/browse/HHH-9798 regression.
>
>
>
>
>
> @OneToOne(fetch = FetchType.LAZY)
&g
https://hibernate.atlassian.net/browse/HHH-13959
I started a DB migration today, now we are dead in the water due to this
exception.
When I persist an Entity on the owning side of the OneToOne(optional=true)
relationship, and that property is null we are getting:
javax.persistence.Per
nsumer)
line: 102
SessionImpl.firePersist(PersistEvent) line: 710
SessionImpl.persist(Object) line: 696
JPAUnitTestCase.hhh13959TestProfile() line: 43
> -Original Message-
> From: hibernate-dev-boun...@lists.jboss.org
> [mailto:hibernate-dev-boun...@lists.jboss.org]
[oops, did not mean to post the code to users]
I have narrowed it down, and I think these changes will address the issue.
commit 6ffdc4d684b33777b1c483473444d25b642e0748 (HEAD -> HHH-13959,
pdinc-oss/HHH-13959)
Author: Jason Pyeron
Date: Mon Apr 20 02:20:21 2020 -0400
HHH-13959 Ad
cuteUpdate(ResultSetReturnImpl.java:197)
... 28 more
> -Original Message-
> From: hibernate-dev-boun...@lists.jboss.org
> [mailto:hibernate-dev-boun...@lists.jboss.org]
> On Behalf Of Jason Pyeron
> Sent: Monday, April 20, 2020 2:25 AM
> To: hibernate-dev@lists.jboss.org
&
The issue is impacting current releases for both schema generation and runtime
use.
I do not have permissions to update the title/summary.
-Jason
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listin
Sorry, accidentally sent to Andrea and not the list.
From: Jason Pyeron [mailto:jpye...@pdinc.us]
Sent: Tuesday, April 21, 2020 8:56 AM
To: 'andrea boriero'
Subject: RE: [hibernate-dev] HHH-11699 Hibernate ignores 'schema' attribute of
@SequenceGenerator for Oracl
GenerationType.IDENTITY)
77 private Long id;
78
79 @Id
80 @Column(name = "sub_id")
81 private Long subId;
82
From: Jason Pyeron [mailto:jpye...@pdinc.us]
Sent: Tuesday, April 21, 2020 1:32 AM
To:
bernate-dev-boun...@lists.jboss.org
> [mailto:hibernate-dev-boun...@lists.jboss.org]
> On Behalf Of Jason Pyeron
> Sent: Tuesday, April 21, 2020 8:58 AM
> To: hibernate-dev@lists.jboss.org
> Subject: Re: [hibernate-dev] HHH-11699 Hibernate ignores 'schema' attribute of
> @Seq
"publisher_id")
@ManyToOne
private Publisher publisherId;
-Jason
> -Original Message-
> From: hibernate-dev-boun...@lists.jboss.org
> [mailto:hibernate-dev-boun...@lists.jboss.org]
> On Behalf Of Jason Pyeron
> Sent: Tuesday, April 21, 2020 9:23 AM
> To: hibe
Sent: Tuesday, April 21, 2020 12:20 PM
To: Jason Pyeron
Cc: Hibernate Dev
Subject: Re: [hibernate-dev] HHH-6044 / HHH-9662 and partial identifier
generation - No part of a composite identifier may be null HibernateException
there is a PR related to this issue (
https://github.com/hibernate
Behalf Of Jason
> Pyeron
> Sent: Tuesday, April 21, 2020 1:18 PM
> To: 'Hibernate Dev'
> Subject: Re: [hibernate-dev] HHH-6044 / HHH-9662 and partial identifier
> generation - No part of a
> composite identifier may be null HibernateException
>
> I have been revi
s.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4m 38s
36 actionable tasks: 35 executed, 1 up-to-date
--
Jason Pyeron | Architect
PD Inc|
10 w 24th St |
Baltimore, MD |
.mil: jason.j.pyeron@mail.mil
.com: jpye..
org.hibernate.test.annotations.cid 1 0.586s__100%
For an approximate 250x slow down compared to the test execution, sigh.
> -Original Message-
> From: hibernate-dev-boun...@lists.jboss.org
> On Behalf Of Jason
> Pyeron
> Sent: Wednesday, April 22, 20
in the hibernate provided unit
testing framework and I have opened a ticket (HHH-13971) for those issues. It
is likely a very low priority item.
v/r,
Jason Pyeron
$ git logg -5
* 4138772878 2020-04-22 (HEAD -> HHH-10956) HHH-10956 put one line if in {}
jpye...@pdinc.us
* 683e00a
> >
> > For an approximate 250x slow down compared to the test execution, sigh.
> >
> > > -Original Message-
> > > From: hibernate-dev-boun...@lists.jboss.org
> > > On
> Behalf Of Jason
> > > Pyeron
> > > Sent: Wednesday,
Github has been down for a while, so moving to mailing list.
> Hi @pdinc-oss ,
>
> the issue it is how you define the `IdClass`
>
> for such a case
>
> ```
> @Entity
> @IdClass(PK.class)
> public static class NodeS {
>
> @Id
> @GeneratedValue(strategy = GenerationType.SEQUENCE)
>
ps://hibernate.atlassian.net/browse/HHH-8440
7: My JIRA search -
https://hibernate.atlassian.net/browse/HHH-6950?jql=(text%20~%20sequence%20or%20text%20~%20sp_sequence_get_range%20)%20and%20(text%20~%20SQLServer%20or%20text%20~%20%22SQL%20Server%22%20or%20text%20~%20SQLServer2012Dialect%20or%20tex
> -Original Message-
> From: Sanne Grinovero
> Sent: Thursday, April 23, 2020 8:43 AM
>
> On Thu, 23 Apr 2020 at 13:20, Jason Pyeron wrote:
> >
> > > -Original Message-
> > > From: Sanne Grinovero
> > > Sent: Thurs
Is there a reason to not include HHH-13959?
> -Original Message-
> From: hibernate-dev-boun...@lists.jboss.org
> [mailto:hibernate-dev-boun...@lists.jboss.org]
> On Behalf Of andrea boriero
> Sent: Monday, May 18, 2020 10:23 AM
> To: Hibernate Dev
> Subject: [hibernate-dev] Subject : Sta
I have been hunting around this morning trying to mitigate some issues of our
schema and JPA mapping and https://hibernate.atlassian.net/browse/HHH-6221
seems most related.
This is a specific case following on ยง2.4.1 and the other bugs I have worked
with recently.
Is there any more histo
mitigation below requires manual re-setting of
the ManyToOne properties after the referenced object is persisted.
From: Jason Pyeron [mailto:jpye...@pdinc.us]
Sent: Sunday, May 24, 2020 1:09 PM
To: INTERNAL
Subject: RE: HHH-6221 foreign keys with shared columns
@ManyToOne
24 matches
Mail list logo