About connect

1-10 of 200Refresh
Manual
176

Database Connection using JPA

A connection to a database is represented by an EntityManager instance, which also provides functionality for performing operations on a database. Many applications require multiple database connections ... database connection, using a separate EntityManager instance, for every HTTP request. The main role
Manual
164

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order ... (); The EntityManager instance represents a connection to the database. When using JPA ... application-wide EntityManagerFactory. When the connection to the database is no longer needed
JDO Doc
47

Constants.PMF_ATTRIBUTE_CONNECTION_DRIVER_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_DRIVER_NAME The name of the persistence manager factory element's "connection-driver-name" attribute. Since: JDO 2.1
JDO Doc
47

Constants.PMF_ATTRIBUTE_CONNECTION_FACTORY2_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_FACTORY2_NAME The name of the persistence manager factory element's "connection-factory2-name" attribute. Since: JDO 2.1
JDO Doc
47

Constants.PMF_ATTRIBUTE_CONNECTION_FACTORY_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_FACTORY_NAME The name of the persistence manager factory element's "connection-factory-name" attribute. Since: JDO 2.1
JDO Doc
47

Constants.PMF_ATTRIBUTE_CONNECTION_PASSWORD

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_PASSWORD The name of the persistence manager factory element's "connection-password" attribute. Since: JDO 2.1
JDO Doc
47

Constants.PMF_ATTRIBUTE_CONNECTION_URL

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_URL The name of the persistence manager factory element's "connection-url" attribute. Since: JDO 2.1
JDO Doc
47

Constants.PMF_ATTRIBUTE_CONNECTION_USER_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_USER_NAME The name of the persistence manager factory element's "connection-user-name" attribute. Since: JDO 2.1
JDO Doc
46

Constants.OPTION_GET_DATASTORE_CONNECTION

Static Field javax.jdo.Constants String OPTION_GET_DATASTORE_CONNECTION "javax.jdo.option.GetDataStoreConnection" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
JDO Doc
46

Constants.OPTION_GET_JDBC_CONNECTION

Static Field javax.jdo.Constants String OPTION_GET_JDBC_CONNECTION "javax.jdo.option.GetJDBCConnection" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()