It's more a workaround than a solution, It's unpracticable to manage thousands of SessionFactorys, what is really needed is a way to programatically set the default schema for a given session at runtime. Once i tackle my new project i ll look into this.
Regards Chris ----- Original Message ----- From: "One Ovthafew" <[EMAIL PROTECTED]> To: "Christian Meunier" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 12:58 PM Subject: Re: [Hibernate] Improving schemas support > You could use multiple SessionFactorys, built with different Properties > object.... > > ----- Original Message ----- > From: Christian Meunier <[EMAIL PROTECTED]> > Date: Sunday, January 5, 2003 2:40 am > Subject: Re: [Hibernate] Improving schemas support > > > I am not sure it's that simple ;) > > > > Using a setProperty method, you will globally set a property that all > > session will got. I need to locally to a session specify on which > > schema i > > wish to work by default. Using your method, all threads at a given > > time work > > on the same schema, this is of course not a desired behaviour. > > > > Regards > > Chris > > > > ----- Original Message ----- > > From: "One Ovthafew" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, January 04, 2003 3:53 PM > > Subject: Re: [Hibernate] Improving schemas support > > > > > > > Set the property > > > > > > hibernate.default_schema > > > > > > :) > > > > > > ----------------------------------------------------------------- > > ---- > > > Would you like to receive faxes to your personal email address? > > > You can with mBox. Visit http://www.mbox.com.au/fax > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > hibernate-devel mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > > > > > > > > > --------------------------------------------------------------------- > Never lose a fax again, receive faxes to your personal email account! > Visit http://www.mbox.com.au/fax > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel