[hibernate-dev] OGM-933 - PostLoad annotation support test

David Williams davidwilliams1978 at gmail.com
Mon Nov 30 09:34:35 EST 2015


Hi Gunnar,

That works for me. My plan is to create an OGM counterpart (under
backendtck) to the PostLoadTest in ORM.

Thanks,
Dave.

On Mon, Nov 30, 2015 at 4:59 AM, Gunnar Morling <gunnar at hibernate.org>
wrote:

> Hi David,
>
> Cool, thanks a lot for working on this! I suppose there are no tests
> for lifecycle events yet, as those that are working, do so
> "incidentally" by inheriting the relevant code paths from Hibernate
> OGM.
>
> +1 for adding at test for PostLoad as that's triggered by our own
> loader. Package-wise, a new package under "backendtck" would be great,
> that way it will run once for each backend we support.
>
> Hth,
>
> --Gunnar
>
>
> 2015-11-27 22:22 GMT+01:00 David Williams <davidwilliams1978 at gmail.com>:
> > Hi,
> >
> > I'm currently working on adding support for the PostLoad annotation to
> OGM.
> > I've got it working against one of my own projects but am looking for
> some
> > guidance around test coverage before I submit a pull request. I couldn't
> > find any existing tests in OGM for other annotations that already work
> > (e.g. PrePersist and PreUpdate) so wanted to check whether I should
> include
> > a test for PostLoad and if so if there was an appropriate package for me
> to
> > put it in?
> >
> > Thanks,
> > David.
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list