|
From: Mark St G. <stg...@ca...> - 2005-03-23 15:05:09
|
Alex,
I have been using the HEAD with Hibernate3 support.... things that I
noted....
- all Spring hibernate 3 packages are under a new package (which will
affect your DAOs... and config)
i.e. org.springframework.orm.hibernate3
<!-- Hibernate SessionFactory -->
<bean id="sessionFactory" class=
"org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource">
<ref local="dataSource" />
</property>
- Hibernate3 changed their top level package from net.sf.hibernate ->
org.hibernate
So I had to change some of my DAOs to use the new API (org.hibernate)....
as well as use the new HibernateDaoSupport
(org.springframework.orm.hibernate3)
for example...
import org.hibernate.HibernateException;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
and yes... Hibernate3 is now using a runtime exception for
org.hibernate.HibernateException ... ahhh....
Cheers
Mark
Alexandru Popescu
<the_mindstorm@ez
legacy.com> To
Sent by: spr...@li...
springframework-d rceforge.net
eveloper-admin@li cc
sts.sourceforge.n
et Subject
[Springframework-developer]
Hibernate3 vs Hibernate2
03/22/2005 06:52
PM
Please respond to
springframework-d
eveloper
Hi!
I saw in the ML that the Hibernate3 support is in CVS HEAD already. Can you
point me to the main
changes provided in the Spring support for Hibernate3 vs Hibernate2? (i
expected there where changes
required by the changes (from check to unchecked) exceptions in Hibernate3
and for supporting the
new features, but it will be more easy for me to have a Spring expert
opinion on this).
many thanks in advance,
--
:alex |.::the_mindstorm::.|
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|