67 words

getPersistenceManager(userid, password) - JDO PersistenceManagerFactory's method

Method
javax.jdo.PersistenceManagerFactory
PersistenceManager getPersistenceManager(
  String userid,
  String password
)

Get an instance of PersistenceManager from this factory. The instance has default values for options. The parameters userid and password are used when obtaining datastore connections from the connection pool.

After the first use of getPersistenceManager, no "set" methods will succeed.

Parameters:
userid - the userid for the connection
password - the password for the connection
Returns:
a PersistenceManager instance with default options.
Since:
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.