[ANN] EclipseLink 2.7.7 Released

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] EclipseLink 2.7.7 Released

Lukas Jungmann
We are pleased to announce the availability of the EclipseLink 2.7.7
Release [1]

This is a bugfix release of EclipseLink 2.7.6, no new features are included.

== The EclipseLink Team

[1]: https://www.eclipse.org/eclipselink/#download
_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] EclipseLink 2.7.7 Released

Andreas Joseph Krogh-2
På fredag 08. mai 2020 kl. 02:36:13, skrev Lukas Jungmann <[hidden email]>:
We are pleased to announce the availability of the EclipseLink 2.7.7
Release [1]

This is a bugfix release of EclipseLink 2.7.6, no new features are included.
 
This release introduces a bug in @ReturnInsert when used in InheritanceType.JOINED
 
I have :
@Entity
@Table(name = "onp_crm_entity")
@Inheritance(strategy = InheritanceType.JOINED)
@DiscriminatorColumn(name = "type", discriminatorType = DiscriminatorType.STRING)
@SequenceGenerator(name = "AbstractEntityObjectSEQ_STORE", sequenceName = "onp_crm_entity_id_seq", allocationSize = 1)
abstract class AbstractEntityObject
 
@Entity
@Table(name = "origo_expense")
@PrimaryKeyJoinColumn(name = "entity_id")
@DiscriminatorValue("EXPENSE_BUNDLE")
class Expense(_created: DateTime,
           _createdBy: User, _forUser: User) extends AbstractEntityObject
/// Fields in Expense
@Column(name = "expense_nr", nullable = false, unique = true, updatable = false)
@ReturnInsert(returnOnly = true)
String expenseNumber = null;
 
This generates the following INSERT:
 
INSERT INTO onp_crm_entity (entity_id, type, version) VALUES ($1, $2, $3) RETURNING expense_nr
 
So EL now inserts the "RETURNING expense_nr" in the parent-entity's INSERT, which is wrong as that column exists in the JOINED-relation Expense(table origo_expense).
 
Downgrading to 2.7.6 makes the problem go away...
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 

_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] EclipseLink 2.7.7 Released

Lukas Jungmann
On 5/8/20 1:30 PM, Andreas Joseph Krogh wrote:

> På fredag 08. mai 2020 kl. 02:36:13, skrev Lukas Jungmann
> <[hidden email] <mailto:[hidden email]>>:
>
>     We are pleased to announce the availability of the EclipseLink 2.7.7
>     Release [1]
>
>     This is a bugfix release of EclipseLink 2.7.6, no new features are
>     included.
>
> This release introduces a bug in @ReturnInsert when used
> in InheritanceType.JOINED

the best would have been to try things our with RC build which have been
published before final got out and file a bug right away. There is
https://github.com/eclipse-ee4j/eclipselink/issues/803 for some time
already.

thanks,
--lukas


> I have :
>
> @Entity @Table(name ="onp_crm_entity")
> @Inheritance(strategy = InheritanceType.JOINED)
> @DiscriminatorColumn(name ="type", discriminatorType = DiscriminatorType.STRING)
> @SequenceGenerator(name ="AbstractEntityObjectSEQ_STORE", sequenceName ="onp_crm_entity_id_seq", allocationSize =1)
> abstract class AbstractEntityObject
>
> @Entity @Table(name ="origo_expense")
> @PrimaryKeyJoinColumn(name ="entity_id")
> @DiscriminatorValue("EXPENSE_BUNDLE")
> class Expense(_created:DateTime,
>             _createdBy:User, _forUser:User)extends AbstractEntityObject
>
> /// Fields in Expense
>
> @Column(name ="expense_nr", nullable =false, unique =true, updatable =false)
> @ReturnInsert(returnOnly =true)
> StringexpenseNumber=null;
>
> This generates the following INSERT:
> INSERT INTO onp_crm_entity (entity_id, type, version) VALUES ($1, $2,
> $3) RETURNING expense_nr
> So EL now inserts the "RETURNING expense_nr" in the parent-entity's
> INSERT, which is wrong as that column exists in the JOINED-relation
> Expense(table origo_expense).
> Downgrading to 2.7.6 makes the problem go away...
> --
> *Andreas Joseph Krogh*
> CTO / Partner - Visena AS
> Mobile: +47 909 56 963
> [hidden email] <mailto:[hidden email]>
> www.visena.com <https://www.visena.com>
> <https://www.visena.com>
>
> _______________________________________________
> eclipselink-users mailing list
> [hidden email]
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
>
_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] EclipseLink 2.7.7 Released

Andreas Joseph Krogh-2
På mandag 25. mai 2020 kl. 12:23:23, skrev Lukas Jungmann <[hidden email]>:
On 5/8/20 1:30 PM, Andreas Joseph Krogh wrote:
> På fredag 08. mai 2020 kl. 02:36:13, skrev Lukas Jungmann
> <[hidden email] <mailto:[hidden email]>>:
>
>     We are pleased to announce the availability of the EclipseLink 2.7.7
>     Release [1]
>
>     This is a bugfix release of EclipseLink 2.7.6, no new features are
>     included.
>
> This release introduces a bug in @ReturnInsert when used
> in InheritanceType.JOINED

the best would have been to try things our with RC build which have been
published before final got out and file a bug right away.
 
 
Yes, that would be best.
 
 
 
There is
https://github.com/eclipse-ee4j/eclipselink/issues/803 for some time
already.
 
 
Ok.
 
--
Andreas Joseph Krogh

_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] EclipseLink 2.7.7 Released

henry udoye

Hello,

 

What are the functions and/or features of Eclipselink 2.7.7?

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Monday, May 25, 2020 5:34 AM
To: [hidden email]
Subject: Re: [eclipselink-users] [ANN] EclipseLink 2.7.7 Released

 

På mandag 25. mai 2020 kl. 12:23:23, skrev Lukas Jungmann <[hidden email]>:

On 5/8/20 1:30 PM, Andreas Joseph Krogh wrote:


> På fredag 08. mai 2020 kl. 02:36:13, skrev Lukas Jungmann
> <[hidden email] <mailto:[hidden email]>>:
>
>     We are pleased to announce the availability of the EclipseLink 2.7.7
>     Release [1]
>
>     This is a bugfix release of EclipseLink 2.7.6, no new features are
>     included.
>
> This release introduces a bug in @ReturnInsert when used
> in InheritanceType.JOINED

the best would have been to try things our with RC build which have been
published before final got out and file a bug right away.

 

 

Yes, that would be best.

 

 

 

There is
https://github.com/eclipse-ee4j/eclipselink/issues/803 for some time
already.

 

 

Ok.

 

--
Andreas Joseph Krogh

 


_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users