[hibernate-dev] Hibernate and Eclipse

Max Rydahl Andersen max.andersen at redhat.com
Fri Oct 7 10:25:41 EDT 2011


On Oct 7, 2011, at 16:14, Strong Liu wrote:

> 
> On Oct 7, 2011, at 10:04 PM, Max Rydahl Andersen wrote:
> 
>>> 3. Junit 4
>> 
>> How does that affect Hibernate tools ?
> 
> I changed hibernate tools tests to use hibernate-testing, there are some features I think make things easier, like BaseCoreFunctionalTestCase, which provides ServiceRegistry, SF and others
> 
> and @SkipForDialects, @DialectRequires etc.

Yes, I considered that but skipped it when it made it hard to test against multiple versions of hibernate.

Might be different now - but junit4 isn't a hard requirement then.

/max

> 
>> 
>> /max
>> 
>>> 
>>> -----------
>>> Strong Liu <stliu at hibernate.org>
>>> http://hibernate.org
>>> http://github.com/stliu
>>> 
>>> On Oct 7, 2011, at 8:05 PM, Dmitry Geraskov wrote:
>>> 
>>>> Hi, Strong Liu,
>>>> 
>>>> can I somehow look at you "draft" hibernate tools for hibernate core 4 implementation?
>>>> You said there are a lot of code should be rewritten, I guess you try to get rid of Configuration class.
>>>> My approach was: minimal changes and still use the Configuration class.
>>>> 
>>>> Dmitry Geraskov
>>>> 
>>>> 06/10/2011 20:05, Strong Liu wrote:
>>>>> I'm in the middle of moving hibernate tools to use hibernate4
>>>>> but there are too many codes need to be changed (well, almost all)
>>>>> 
>>>>> I guess you won't like my pull request :(
>>>>> 
>>>>> -----------
>>>>> Strong Liu<stliu at hibernate.org>
>>>>> http://hibernate.org
>>>>> http://github.com/stliu
>>>>> 
>>>>> On Oct 6, 2011, at 11:37 PM, Max Rydahl Andersen wrote:
>>>>> 
>>>>>> On Sep 30, 2011, at 20:01, Gail Badner wrote:
>>>>>> 
>>>>>>> There have been a couple of comments about problems with eclipse integration with Hibernate 3.6.7:
>>>>>>> - http://in.relation.to/Bloggers/HibernateCore367FinalRelease#comment21925
>>>>>>> - http://in.relation.to/Bloggers/HibernateCore367FinalRelease#comment22031
>>>>>>> 
>>>>>>> I don't use Eclipse myself. Does anyone have an answer?
>>>>>> It's not just Eclipse, its any Hibernate tools usage that have the problem.
>>>>>> 
>>>>>> Hibernate 3.6 breaks API so we can't build console configurations and session factories
>>>>>> without recompiling and if we do that we won't work with Hibernate 3.2-3.5.
>>>>>> 
>>>>>> Same problem with Hibernate 4.
>>>>>> 
>>>>>> Now when Hibernate 4 is keeping Configuration it becomes somewhat more possible to support
>>>>>> Hibernate 3.5 and Hibernate 4…but its rather messy unfortunately ;(
>>>>>> 
>>>>>> Dima is working on solving some of this but its still very experimental.
>>>>>> 
>>>>>> If anyone got time to help out we very much welcome it!
>>>>>> 
>>>>>> /max
>>>>>> http://about.me/maxandersen
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> hibernate-dev mailing list
>>>>>> hibernate-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>> 
>>>>> _______________________________________________
>>>>> hibernate-dev mailing list
>>>>> hibernate-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>> 
>> 
>> /max
>> http://about.me/maxandersen
>> 
>> 
>> 
> 

/max
http://about.me/maxandersen







More information about the hibernate-dev mailing list