|
From: Dmitriy K. <dko...@ru...> - 2004-06-16 02:18:39
|
Haris, what version of Spring are you using? As of 1.0.2 the visibility of HibernateDaoSupport's resource factory accessors has been changed to *public*. I'm not sure about how you would get hold of Configuration instance though. Regards, Dmitriy. snpe wrote: >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 and I can't use it in my DAO (why ? - I can make method for get SessionFactory, >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 > > |