Re: [hibernate-dev] run a single unit test speed up?

2020-04-23 Thread Jason Pyeron
> -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: Thursday, April 23, 2020 8:04 AM > > > > > > Hi Jason, > > > > > >

[hibernate-dev] Trying to understand the significance and use of the sequence methods in Dialect

2020-04-23 Thread Jason Pyeron
Other than the javadocs, are these documented anywhere? * public String getSequenceNextValString(String sequenceName) * public String getSelectSequenceNextValString(String sequenceName) I have been following their usage throughout the codebase, but it is not easy. Is getSequenceNextValString

Re: [hibernate-dev] [hibernate/hibernate-orm] HHH-10956 test cases and fix (#3368)

2020-04-23 Thread Jason Pyeron
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) >

Re: [hibernate-dev] run a single unit test speed up?

2020-04-23 Thread Sanne Grinovero
On Thu, 23 Apr 2020 at 13:20, Jason Pyeron wrote: > > > -Original Message- > > From: Sanne Grinovero > > Sent: Thursday, April 23, 2020 8:04 AM > > > > Hi Jason, > > > > I'm surprised. It's not instantaneous here either, but it doesn't take > > minutes - provided you've built the project

Re: [hibernate-dev] run a single unit test speed up?

2020-04-23 Thread Jason Pyeron
> -Original Message- > From: Sanne Grinovero > Sent: Thursday, April 23, 2020 8:04 AM > > Hi Jason, > > I'm surprised. It's not instantaneous here either, but it doesn't take > minutes - provided you've built the project before and didn't change a > lot of code. Just the one unit test.

Re: [hibernate-dev] run a single unit test speed up?

2020-04-23 Thread Sanne Grinovero
Hi Jason, I'm surprised. It's not instantaneous here either, but it doesn't take minutes - provided you've built the project before and didn't change a lot of code. If I run such a test for the first time, possibly after having switched branches, I'll get test results in ~20 seconds; most of