Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.3Mb
PDF (A4) - 5.3Mb
EPUB - 2.3Mb
HTML Download (TGZ) - 2.2Mb
HTML Download (Zip) - 2.3Mb SessionFactoryService

This interface defines the service to create a SessionFactory from a Map<String, String> of properties. Synopsis
 public interface SessionFactoryService {
// Public Methods  public abstract SessionFactory getSessionFactory(Map<String, String> props);

Figure 4.21 SessionFactoryService Class

SessionFactoryService Class getSessionFactory(Map<String, String>)
public abstract SessionFactory getSessionFactory(Map<String, String> props);

Create or get a session factory. If a session factory with the same value for PROPERTY_CLUSTER_CONNECTSTRING has already been created in the VM, the existing factory is returned, regardless of whether other properties of the factory are the same as specified in the Map.



the properties for the session factory, in which the keys are defined in Constants and the values describe the environment


the session factory

User Comments
Sign Up Login You must be logged in to post a comment.