Re: [hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-29 Thread Scott Marlow
> > Well based on what you described it sounds to me like there ought to be at >> least 2 different log events here: >> >> 1. The transformer is registered (this could be either WF or Hibernate >> or both) >> 2. The transformer calls the Enhancer >> > >

Re: [hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-25 Thread Scott Marlow
On 05/23/2018 09:17 AM, Steve Ebersole wrote: > I never understood this `DataSourceDefinitions` part.  Why can't they > just be discovered via jipijapa prior to doing anything with Hibernate/JPA? The @DataSourceDefinition DataSource that ORM needs, doesn't start until after application

Re: [hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-22 Thread Scott Marlow
On 05/20/2018 08:48 AM, Sanne Grinovero wrote: > Hi Scott, > > could you explain what you mean by "tradeoff" in this context? Hi Sanne, Sure, see below for more details. > > Thanks! > > > On 20 May 2018 at 12:06, Scott Marlow wrote: >> There is a tradeoff in WF

Re: [hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-20 Thread Sanne Grinovero
Hi Scott, could you explain what you mean by "tradeoff" in this context? Thanks! On 20 May 2018 at 12:06, Scott Marlow wrote: > There is a tradeoff in WF deployment, between Hibernate bytecode (runtime) > enhancing class transformers, being registered before CDI

Re: [hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-20 Thread Scott Marlow
There is a tradeoff in WF deployment, between Hibernate bytecode (runtime) enhancing class transformers, being registered before CDI deployment, reads the entity classes. There is also the tradeoff between Hibernate bytecode (runtime) enhancing class transformers being registered too late because

Re: [hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-19 Thread Sanne Grinovero
Hi Gail, perhaps your question is related to WildFly? As far as I know, WildFly does enhance entities automatically during deployment. But as Luis suggested, Hibernate doesn't control this process so I'm not sure if that's still the case in any development branch of WildFly; probably a question

Re: [hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-18 Thread Luis Barreiro
I don't get your question. Hibernate does not enhance the entities by itself, you have to explicitly use one of the build tool plugins (maven, gradle, ant) to perform that step. Even then, the plugins have all the features disabled by default. The support for enhanced entities in hibernate is

[hibernate-dev] Is bytecode enhancement enabled by default in 5.3?

2018-05-18 Thread Gail Badner
I don't think it is, just need to confirm. Thanks, Gail ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev