Hi Dmitriy,
=A0 You are correect - I use spring 1.0.1, but I have current cvs
There is public method getConfiguration in LocalSessionFactoryBean, but I d=
on't know how I can get instance this class
I can get hibernate metadata from SessionFactory, but I can't =A0get databa=
se metadata (for instance length) without Configuration
Is it possible export Configuration to HibernateDaoSupport ?
Is current cvs stable or I have to checkout version 1.0.2 ?
Thanks
On Wednesday 16 June 2004 03:17 am, Dmitriy Kopylenko wrote:
> Haris,
>=20
> what version of Spring are you using? As of 1.0.2 the visibility of=20
> HibernateDaoSupport's resource factory accessors has been changed to=20
> *public*.
>=20
> I'm not sure about how you would get hold of Configuration instance thoug=
h.
>=20
> Regards,
> Dmitriy.
>=20
>=20
> snpe wrote:
>=20
> >Hello,
> > I want use SessionFactory and Configuration classes for metadata API (=
property name type, database name, type, length etc)
> >I use spring's HibernateDaoSupport, but getSessionFactory is protected a=
nd I can't use it in my DAO (why ? - I can make method for get SessionFacto=
ry,
> >but I don't know why this is protected/forbiden)
> >
> >How I get instance classes Configuration and SessionFactory ?
> >
> >regards
> >Haris Peco
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> >_______________________________________________
> >Springframework-developer mailing list
> >Spr...@li...
> >https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > =20
> >
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>=20
|