Re: [hibernate-dev] HBM migration suggestions

2016-10-10 Thread Max Rydahl Andersen
hibernate tools can do it for the basic cases - but it haven't been 
updated in a long while, but you can customise the templates if you find 
issues.

/max

> Hi guys,
> We have 200-ish hbm files we would like to convert to annotated 
> classes. Is there any tool you guys recommend to tackle such a project 
> ?
>
> Thanks in advance for your time,
>
> Noel
>
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


/max
http://about.me/maxandersen
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] HBM migration suggestions

2016-10-10 Thread Sanne Grinovero
I remember needing something like that and did it by having the legacy
app create the schema in the RDBMs, then use reverse engineering to
pojos. This was during the "Seam 2 era" so quite some time ago.. not
sure how tools evolved since then.

You'll need some manual tuning during both steps of course, but since
I could tune & extend both the naming strategies (via code extensions)
and the template files we got a quite complex application (600+
entities) converted in a couple of days.  AFAIR my best learner lesson
was to be ready to repeat it all (script it) multiple times, to prefer
tune the templates and naming strategies iteratively over fixing
things by hand.



On 10 October 2016 at 12:58, Max Rydahl Andersen  wrote:
> hibernate tools can do it for the basic cases - but it haven't been
> updated in a long while, but you can customise the templates if you find
> issues.
>
> /max
>
>> Hi guys,
>> We have 200-ish hbm files we would like to convert to annotated
>> classes. Is there any tool you guys recommend to tackle such a project
>> ?
>>
>> Thanks in advance for your time,
>>
>> Noel
>>
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
> /max
> http://about.me/maxandersen
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] HBM migration suggestions

2016-10-10 Thread Steve Ebersole
Do you have a tool to convert from orm.xml to annotations?  The reason I
ask is that we are pretty far along in the development of a hbm.xml ->
orm.xml tool, with the caveat that the orm.xml is an "extended" form of the
JPA orm.xml weaving in Hibernate-specifics.  So it would depend on whether
any hbm-specific features are used (property-ref being the biggest problem).

That tool with be completed as part of 7.0, but like I said it is already
pretty far along.


On Mon, Oct 10, 2016 at 8:27 AM Sanne Grinovero  wrote:

> I remember needing something like that and did it by having the legacy
> app create the schema in the RDBMs, then use reverse engineering to
> pojos. This was during the "Seam 2 era" so quite some time ago.. not
> sure how tools evolved since then.
>
> You'll need some manual tuning during both steps of course, but since
> I could tune & extend both the naming strategies (via code extensions)
> and the template files we got a quite complex application (600+
> entities) converted in a couple of days.  AFAIR my best learner lesson
> was to be ready to repeat it all (script it) multiple times, to prefer
> tune the templates and naming strategies iteratively over fixing
> things by hand.
>
>
>
> On 10 October 2016 at 12:58, Max Rydahl Andersen 
> wrote:
> > hibernate tools can do it for the basic cases - but it haven't been
> > updated in a long while, but you can customise the templates if you find
> > issues.
> >
> > /max
> >
> >> Hi guys,
> >> We have 200-ish hbm files we would like to convert to annotated
> >> classes. Is there any tool you guys recommend to tackle such a project
> >> ?
> >>
> >> Thanks in advance for your time,
> >>
> >> Noel
> >>
> >> ___
> >> hibernate-dev mailing list
> >> hibernate-dev@lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >
> >
> > /max
> > http://about.me/maxandersen
> > ___
> > hibernate-dev mailing list
> > hibernate-dev@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Hibernate OGM double release!

2016-10-10 Thread Davide D'Alto
Good news!

We released Hibernate OGM 5.1 Alpha1 and 5.0.2 Final!

Hibernate OGM 5.0.2.Final now supports MongoDB 3.2 and it’s still
backward compatible with Hibernate OGM 5.0.1.Final.

Hibernate OGM 5.1.0.Alpha1 brings support for Neo4 in remote mode.

We also started to re-work the way Hibernate OGM groups operations
before running them; this reduce the number of calls and commands to
execute on the datastore, leading to better performance.

You can find more about these releases and how to get them in the blog post:
http://in.relation.to/2016/10/10/hibernate-ogm-5-1-alpha-and-5-0-2-released/

Thanks,
Davide

___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] HBM migration suggestions

2016-10-10 Thread Max Rydahl Andersen
On 10 Oct 2016, at 15:24, Sanne Grinovero wrote:

> I remember needing something like that and did it by having the legacy
> app create the schema in the RDBMs, then use reverse engineering to
> pojos. This was during the "Seam 2 era" so quite some time ago.. not
> sure how tools evolved since then.

That was doing it wrong then ;)

hibernate tools have since day one been able to read any hibernate 
config and
generate another config from it.

Thus generating to the db first would be unnecessary.

The tools haven't moved much since then though :)

> You'll need some manual tuning during both steps of course, but since
> I could tune & extend both the naming strategies (via code extensions)
> and the template files we got a quite complex application (600+
> entities) converted in a couple of days.  AFAIR my best learner lesson
> was to be ready to repeat it all (script it) multiple times, to prefer
> tune the templates and naming strategies iteratively over fixing
> things by hand.
>
> On 10 October 2016 at 12:58, Max Rydahl Andersen  
> wrote:
>> hibernate tools can do it for the basic cases - but it haven't been
>> updated in a long while, but you can customise the templates if you 
>> find
>> issues.
>>
>> /max
>>
>>> Hi guys,
>>> We have 200-ish hbm files we would like to convert to annotated
>>> classes. Is there any tool you guys recommend to tackle such a 
>>> project
>>> ?
>>>
>>> Thanks in advance for your time,
>>>
>>> Noel
>>>
>>> ___
>>> hibernate-dev mailing list
>>> hibernate-dev@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>>
>> /max
>> http://about.me/maxandersen
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev


/max
http://about.me/maxandersen
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev