ObjectDB Database Search

51-100 of 200 results

Query debugging configuration from class

Query debugging configuration from class

JPA Configuration without persistance.xml

JPA Configuration without persistance.xml

Configuration Advice

Configuration Advice

ClassRef jakarta.persistence.PersistenceConfiguration

.PersistenceConfiguration Represents a configuration of a persistence unit, allowing programmatic creation of an EntityManagerFactory . The configuration options available via this API reflect the similarly-named elements of the persistence.xml file. This API may not be used to configure a container-managed

Unexpected exception during open the database

activation by using a special configuration with index-update disabled . support Support Currently, we have not specified the index activation at all, i.e. element is not present in the configuration ... ) Therefore, please verify that the correct configuration file is changed. Quite often changes in

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

, and two objectdb server with different port. My JPA configuration is @ Configuration ... new com.objectdb.jpa.Provider(); } }; } } JpaConfig2.java @ Configuration @EnableJpaRepositories ... the activation code in the configuration file.  See this manual page , regarding where ObjectDB

ClassRef jakarta.persistence.Persistence

; configuration ) Create and return an EntityManagerFactory for the named persistence unit, using the given properties. Parameters: configuration - configuration of the persistence unit Return: the factory that creates {@link EntityManager} s configured according to the specified persistence unit

Mismatch client-server protocol prefix

configuration and see if it makes a difference (for diagnosis): ... .. Check also the possibility ... Tomcat. In addition we converted our Spring configuration from xml to configuration classes ... configuration changed. The strange thing is that we use this setup for all of our daemons and webapps

Replaying recorded requests...

'nonclosed' files?   Thanks dmoshal David Moshal According to your configuration file - recording ... it? Another possibility is that your configuration file is not read - you can check it by putting invalid content in the configuration - if no exception is thrown then your configuration file is not used. In

Connecting to a remote objectdb server

I am trying to configure my application in a client-server objectdb setup via tcp/ip. So I first ... .mydomain.com 6136 (worked fine, is able to connect...) My db was configured below: On my application, I had configured my persistence unit like below.      com.objectdb.jpa.Provider

virtual servers and one file

with a different virtualization configuration . If the physical machine has sufficient RAM for caching ... of the physical or virtual machine. It seems to me (but only guesswork) that there is a (maybe configurable ) limit ... well information regarding the specific virtualization software and configuration involved

How to open a running db in ObjectDB Explorer?

Nimpa, Junior Have you followed the instructions on #2 above? It should work if configuration is properly set in the right configuration file (i.e. the configuration file that is actually used by ObjectDB). support Support Hi, I think, I followed the instructions. Here is how my configuration looks

InterfaceRef jakarta.persistence.spi.PersistenceProvider

; configuration ) Called by Persistence class when an EntityManagerFactory is to be created. Parameters: configuration - the configuration of the persistence unit Return: EntityManagerFactory ... - if required configuration is missing See Also: Persistence.createEntityManagerFactory Since: JPA 3.2

mapping file is not being loaded

a simple configuration file to determine available persistence units, and then bootstraps ... (again, obtained from the configuration file ). After the entity manager factory is obtained ... am certain that this must be a configuration issue, although I am using the default configuration file

Performance Issues After Migrating to ObjectDB - Urgent Assistance Required

performance. Server and Configuration Details: Server : The VM is running on Ubuntu 20.04 with 70GB RAM. No other major processes are running. ObjectDB Configuration : I have attached the configuration ... : ObjectDB Configuration Files Server.sh File Resource Usage Snapshots MOH-SL Ministry of Health Sri Lanka

InterfaceRef jakarta.persistence.EntityManagerFactory

.createNamedStoredProcedureQuery methods. Any configuration of the query object (except for actual ... definition. This includes configuration information such as max results, hints, flush mode, lock mode ... manager instance Throws: IllegalStateException - if the entity manager factory has been configured

EntityManagerFactory.addNamedQuery(name,query) - JPA Method

.createNamedQuery or EntityManager.createNamedStoredProcedureQuery methods. Any configuration ... is retained as part of the named query definition. This includes configuration information such as max results

PersistenceConfiguration.mappingFiles() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration List mappingFiles () The configured resource paths of XML mapping files. Return: all configured mapping file resource paths Since: JPA 3.2

PersistenceConfiguration.mappingFile(name) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration mappingFile (   String name ) Add the path of an XML mapping file loaded as a resource to the configuration . Parameters: name - the resource path of the mapping file Return: this configuration Since: JPA 3.2

PersistenceConfiguration.managedClasses() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration List managedClasses () The configured managed classes, that is, a list of classes annotated Entity , Embeddable , MappedSuperclass , or Converter . Return: all configured managed classes Since: JPA 3.2

PersistenceConfiguration.managedClass(managedClass) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration managedClass (   Class  managedClass ) Add a managed class (an Entity , Embeddable , MappedSuperclass , or Converter ) to the configuration . Parameters: managedClass - the managed class Return: this configuration Since: JPA 3.2

Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method

that may have been configured elsewhere.. Throws: PersistenceException - if insufficient or inconsistent configuration

Persistence.createEntityManagerFactory(persistenceUnitName,properties) - JPA Static Method

. The values of these properties override any values that may have been configured elsewhere. Return: the factory that creates EntityManagers configured according to the specified persistence unit. Since: JPA 1.0

PersistenceConfiguration.PersistenceConfiguration(name) - JPA Constructor

JPA Constructor in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration (   String name ) Create a new empty configuration . An empty configuration does not typically hold enough information for successful invocation of () . Parameters: name - the name

PersistenceConfiguration.createEntityManagerFactory() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration EntityManagerFactory createEntityManagerFactory () Create a new EntityManagerFactory based on this configuration . Throws: PersistenceException - if required configuration is missing or if the factory could not be created Since: JPA 3.2

Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method

that may have been configured elsewhere. Throws: PersistenceException - if insufficient or inconsistent configuration

Persistence.createEntityManagerFactory(persistenceUnitName,properties) - JPA Static Method

. The values of these properties override any values that may have been configured elsewhere. Return: the factory that creates {@link EntityManager} s configured according to the specified persistence unit Since: JPA 1.0

PersistenceProvider.generateSchema(persistenceUnitName,map) - JPA Method

any values that may have been configured elsewhere. Return: true if schema was generated, otherwise false Throws: PersistenceException - if insufficient or inconsistent configuration information

EntityManagerFactory.getProperties() - JPA Method

JPA Method in jakarta.persistence.EntityManagerFactory Map getProperties () Get the properties and associated values that are in effect for the entity manager factory. Changing the contents of the map does not change the configuration in effect. Return: properties Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0

InterfaceRef jakarta.persistence.SchemaManager

, and then re-import initial data from any configured SQL scripts for data loading. If a SQL

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

has been configured for resource-local entity managers or is closed Since: JPA 2.1

EntityManagerFactory.createEntityManager(synchronizationType) - JPA Method

manager factory has been configured for resource-local entity managers or is closed Since: JPA 2.1

SchemaManager.truncate() - JPA Method

JPA Method in jakarta.persistence.SchemaManager void truncate () Truncate the database tables mapped by entities belonging to the persistence unit, and then re-import initial data from any configured SQL scripts for data loading. If a SQL operation fails, the behavior is undefined. A provider

PersistenceConfiguration.transactionType(transactionType) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration transactionType (    PersistenceUnitTransactionType  transactionType ) Specify the transaction type for the persistence unit. Parameters: transactionType - the transaction type Return: this configuration Since: JPA 3.2

PersistenceConfiguration.nonJtaDataSource() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration String nonJtaDataSource () The JNDI name of a non-JTA javax.sql.DataSource . Return: the configured non-JTA datasource, if any, or null Since: JPA 3.2

PersistenceConfiguration.nonJtaDataSource(dataSourceJndiName) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration nonJtaDataSource (   String dataSourceJndiName ) Specify the JNDI name of a non-JTA javax.sql.DataSource . Parameters: dataSourceJndiName - the JNDI name of a non-JTA datasource Return: this configuration Since: JPA 3.2

PersistenceConfiguration.sharedCacheMode(sharedCacheMode) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration sharedCacheMode (    SharedCacheMode  sharedCacheMode ) Specify the shared cache mode for the persistence unit. Parameters: sharedCacheMode - the shared cache mode Return: this configuration Since: JPA 3.2

PersistenceConfiguration.validationMode(validationMode) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration validationMode (    ValidationMode  validationMode ) Specify the validation mode for the persistence unit. Parameters: validationMode - the shared cache mode Return: this configuration Since: JPA 3.2

PersistenceConfiguration.property(name,value) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration property (   String name,    Object value ) Set a property of this persistence unit. Parameters: name - the property name value - the property value Return: this configuration Since: JPA 3.2

PersistenceConfiguration.properties() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration Map properties () Standard and vendor-specific property settings. Return: the configured properties Since: JPA 3.2

PersistenceConfiguration.properties(properties) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration properties (   Map  properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Return: this configuration Since: JPA 3.2

InterfaceRef jakarta.persistence.EntityManager

for this entity manager. Modifying the contents of the returned map does not change the configuration in

PersistenceConfiguration.provider(providerClassName) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration provider (   String providerClassName ) Specify the persistence provider. Parameters: providerClassName - the qualified name of the persistence provider class Return: this configuration Since: JPA 3.2

PersistenceConfiguration.jtaDataSource() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration String jtaDataSource () The JNDI name of a JTA javax.sql.DataSource . Return: the configured JTA datasource, if any, or null Since: JPA 3.2

PersistenceConfiguration.jtaDataSource(dataSourceJndiName) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration jtaDataSource (   String dataSourceJndiName ) Specify the JNDI name of a JTA javax.sql.DataSource . Parameters: dataSourceJndiName - the JNDI name of a JTA datasource Return: this configuration Since: JPA 3.2

Persistence.createEntityManagerFactory(persistenceUnitName) - JPA Static Method

: the factory that creates {@link EntityManager} s configured according to the specified persistence unit Since: JPA 1.0

EntityManager.getProperties() - JPA Method

JPA Method in jakarta.persistence.EntityManager Map getProperties () The properties and hints and their associated values which are in effect for this entity manager. Modifying the contents of the returned map does not change the configuration in effect. Return: a map of properties and hints currently in effect Since: JPA 2.0

PersistenceProvider.generateSchema(info,map) - JPA Method

inconsistent configuration information is provided of if schema generation otherwise fails Since: JPA 2.1

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

factory has been configured for resource-local entity managers or is closed Since: JPA 2.1

Best practise loading big data

how to access the data or how to configure the DB to get the most performance possible.   With kind ... sizes of caches and how to configure them. Please clarify whether the RAM is released when you close ... that this delay should not concern. If reducing the cache size in the ObjectDB configuration , as