Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,20 @@ public DefaultSessionFactoryLocator(Map<Object, SessionFactory<F>> factories, Se
* Add a session factory.
* @param key the lookup key.
* @param factory the factory.
* @deprecated since 5.3 in favor of {@link #addSessionFactory}
*/
@Deprecated
public void addSessionFactory(String key, SessionFactory<F> factory) {
addSessionFactory((Object) key, factory);
}

/**
* Add a session factory.
* @param key the lookup key.
* @param factory the factory.
* @since 5.3
*/
public void addSessionFactory(Object key, SessionFactory<F> factory) {
this.factories.put(key, factory);
}

Expand Down