Re: [hibernate-dev] Jandex, scanning and discovery

2014-04-25 Thread Steve Ebersole
So here is what I propose more concretely... As a refresher, there are a few main characters: * Scanner - coordinates the scanning effort * PersistenceUnitDescriptor - provides access to needed PU information * ScanOptions - a few booleans to control processing within Scanner * ArchiveDescriptorFa

Re: [hibernate-dev] Making tests nicer with lambdas

2014-04-25 Thread Hardy Ferentschik
On 25 Jan 2014, at 10:41, Gunnar Morling wrote: > I've played around a bit with the idea of using Java 8 lambdas to make > tests easier to write and read. We have many tests which open a session and > TX, do some stuff, commit, open a new TX (and/or session), do some > assertions and so on: > >

[hibernate-dev] Making tests nicer with lambdas

2014-04-25 Thread Gunnar Morling
Hey, I've played around a bit with the idea of using Java 8 lambdas to make tests easier to write and read. We have many tests which open a session and TX, do some stuff, commit, open a new TX (and/or session), do some assertions and so on: Session session = openSession(); Transaction trans