From: Viktor S. <phr...@im...> - 2002-06-06 13:16:40
|
hi, Gavin_King/Cirrus%CI...@ci... wrote: >For multiple datasources, use multiple instances of SessionFactory. Each >instance of SessionFactory may be configured using a different set of >properties by using > > Datastore datastore = Hibernate.createDatastore()........; > Properties props = .... ; > SessionFactory sf = datastore.buildSessionFactory(props); > sorry, i was not aware of this (as i said, i'm new to hibernate :). so, if you specify a hibernate.session_factory_name at this level, it takes precedence over whatever VM level properties you might have? viktor |