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

jakarta.persistence.EntityManagerFactory

.createNamedStoredProcedureQuery methods. Any configuration of the query object (except for actual parameter ... . This includes configuration information such as max results, hints, flush mode, lock mode, result set ... factory has been configured for resource-local entity managers or is closed. Since: Jakarta Persistence

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

jakarta.persistence.Persistence.createEntityManagerFactory(PersistenceConfiguration)

createEntityManagerFactory (    PersistenceConfiguration configuration ) Create and return ... : configuration - configuration of the persistence unit Returns: the factory that creates EntityManager s configured according to the specified persistence unit. Since: Jakarta Persistence (JPA) 3.2

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

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

jakarta.persistence.PersistenceConfiguration.managedClass(Class)

, MappedSuperclass , or Converter ) to the configuration . Parameters: managedClass - the managed class Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.PersistenceConfiguration(String)

Jakarta Persistence (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 PersistenceConfiguration

jakarta.persistence.EntityManagerFactory.addNamedQuery(String,Query)

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

jakarta.persistence.Persistence.createEntityManagerFactory(String,Map)

. The values of these properties override any values that may have been configured elsewhere. Returns: the factory that creates EntityManager s configured according to the specified persistence unit. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Persistence.generateSchema(String,Map)

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

jakarta.persistence.PersistenceConfiguration.createEntityManagerFactory()

Jakarta Persistence (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: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.managedClasses()

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

jakarta.persistence.PersistenceConfiguration.mappingFile(String)

Jakarta Persistence (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 Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.mappingFiles()

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration List mappingFiles() The configured resource paths of XML mapping files. Returns: all configured mapping file resource paths. Since: Jakarta Persistence (JPA) 1.0

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

jakarta.persistence.EntityManager

manager. Modifying the contents of the returned map does not change the configuration in effect

jakarta.persistence.SchemaManager

initial data from any configured SQL scripts for data loading. If a SQL operation fails, the behavior

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

Drop the entire database, Change the schema

it has the following property ; So I have two PUs configured which are the same apart from ... = Persistence.createEntityManagerFactory("objectdb:myDbFile.tmp;drop"); A new configuration line was added ... to that configuration setting. In client-server mode this configuration should be set on the server

Activation Issue

that contains the revised configuration . To verify that the configuration is really used by the server - add ... starts with no errors - your configuration file is not used and probably misplaced. support Support ... multiple activation codes in the configuration file (in order to share the same objectdb.conf file

Soft Reference Object Cache Recommendation

, which I think should be possible by configuring ObjectDB to use soft references and correct use ... are pages that are cached by ObjectDB. The cache size is set in this configuration parameter , but note ... the configuration when an active transactions is preparing to write updates to the database

Suspected memory leak

with our configuration ? Kind regards, Natalia. natmaclin Natalia Levine Currently there is no known ... . The configuration files for this test environment are also attached. The heap dump is 600MB compressed ... , and this can be fixed by setting the configuration . The following configuration elements are particularly relevant

Single Server License and Embedded Mode

through the forum, but haven't been able to determine how to configure this type of setup ... need to do any type of configuration for embedded mode so that it will use the activation properly ... you have to update the configuration file by adding the  activation code . If the evaluation

ObjectDB License Error I got

.annotation. Configuration ; import org.springframework.data.jpa.repository.config.EnableJpaRepositories ... ; @ Configuration @EnableTransactionManagement @EnableJpaRepositories( basePackages = "com.manage.jpa ... , but the usual reasons are issues with setting the configuration and invalid activation codes. SpringBoot

jakarta.persistence.PersistenceConfiguration.property(String,Object)

Jakarta Persistence (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 Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties(Map)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration properties (    Map properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties()

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration Map properties() Standard and vendor-specific property settings. Returns: the configured properties. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.sharedCacheMode(SharedCacheMode)

Jakarta Persistence (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 Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.validationMode(ValidationMode)

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

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType)

- if the entity manager factory has been configured for resource-local entity managers or is closed. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map)

manager factory has been configured for resource-local entity managers or is closed. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.EntityManagerFactory.getProperties()

Jakarta Persistence (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. Returns: properties. Throws

jakarta.persistence.EntityManager.getProperties()

Jakarta Persistence (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. Returns: a map

jakarta.persistence.Persistence.createEntityManagerFactory(String)

unit Returns: the factory that creates EntityManager s configured according to the specified persistence unit. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.provider(String)

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

jakarta.persistence.PersistenceConfiguration.jtaDataSource(String)

Jakarta Persistence (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 Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SchemaManager.truncate()

Jakarta Persistence (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

jakarta.persistence.PersistenceConfiguration.transactionType(PersistenceUnitTransactionType)

Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.jtaDataSource()

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

jakarta.persistence.PersistenceConfiguration.nonJtaDataSource(String)

Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.nonJtaDataSource()

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

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

Use temporary files to enable very large transactions

a location for temporary files in the configuration file . The default path is  $temp/ObjectDB ... because the size of the arrays is identical to the cache page configuration . We use the ObjectDB as ... you will have to use the new build but also to tune the configuration as follows.