Internal Website Search

1-50 of 79 results

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config :       The 6126 ... with a connection error) it failed with the exception below. Is there something wrong with my config ? Caused by: com ... is running on port 6136 while the slave runs on 6138. Config from the slave looks as follows: My test saves

odb files and config file

://www.objectdb.com/java/jpa/setting ) that you can define the odb home in a config file. But where to I find the config file in my project? pril Max Mustermann You can specify an absolute path. support Support

JPA Level 2 Cache - app config

#The_cache_element_  specifies only amount of MB used for Level 2 cache, but the config ... that part which specified just config in server and I got "scared", that I didn't search further. Great. Have a nice day! zmirc Mircea Chirac

config file for embedded database

Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database. dmoshal David Moshal The same procedure

Entity Management Config questions

Hi, the manual states the following regarding config of Entities: http://www.objectdb.com/java/jpa/setting/entities : The element specifies settings of the two cache mechanisms for entities: The ref attribute specifies the reference type for holding non dirty entities in the persistence

config optimizing

config optimizing

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

to explicitly define the classes, in the schema config (objectdb. config ), that should be deleted.   In

config file for embedded database

Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database.   dmoshal David Moshal Please read

Spring Data JPA - PersistenceException thrown

. config .JpaMetamodelMappingContextFactoryBean.getMetamodels(JpaMetamodelMappingContextFactoryBean.java:90) at org.springframework.data.jpa.repository. config .JpaMetamodelMappingContextFactoryBean ... . config .JpaMetamodelMappingContextFactoryBean.createInstance(JpaMetamodelMappingContextFactoryBean.java:26

How to define Default Entity Listeners without persistence.xml and orm.xml

Listeners. How to do ? Here my init code: Properties config = new Properties(); config .put("javax.persistence.provider", "com.objectdb.jpa.Provider"); config .put("javax.persistence.jdbc.url", "objectdb://localhost/my.odb"); config .put("javax.persistence.jdbc.user", "admin"); config .put("javax

Activation Issue

) ~[MetamodelImpl.class:na] at org.springframework.data.jpa.repository. config ... ) ~[JpaMetamodelMappingContextFactoryBean.class:na] at org.springframework.data.jpa.repository. config ... ) ~[JpaMetamodelMappingContextFactoryBean.class:na] at org.springframework.beans.factory. config .AbstractFactoryBean.afterPropertiesSet

PersistenceException: Failed to locate field

enhancement, nor programmatic enhancement, just relying on the config setting: Am wondering ... of the config file it is using, plus the contents of that config file, given that I've found many cases where the config file it's actually using isn't as expected, eg. in production vs development

Again about $temp from objectdb.conf

config ) throws ServletException { super.init( config ); System.setProperty("objectdb.home", config .getInitParameter("OBJECT_DB_HOME")); // sets $objectdb System.setProperty("objectdb.conf", config .getInitParameter("OBJECT_DB_ CONFIG ")); } Well, my question is: what would be the name of the property

Can I Disable the Creation of the "log" Directory?

, "objectdb.conf"); if(Files.exists(objectDbConFile)) System.out.println("objectdb. config FOUND"); else System.out.println ("objectdb. config NOT found"); Path logDirectory = Paths.get(currentDirectory ... \Programming\UniLogical\ObjectDbTest objectdb. config FOUND log does NOT exist before test ObjectDB created

objectdb.conf Information

: - Which config entries are relevant for the client and which one for the server? I.e. what about: we want ... the client and the server config ? quasado Alexander Adam Yes, this is confusing. The objectdb.conf file ... the config for the next release? This would certainly help a lot in managing configurations... thanks

PostUpdate on array changes

Given this config : I'm not  getting PostUpdate changes when a string is added to a list ... the config file before any tests with: System.setProperty("objectdb.home", " ") b) So, now that I'm sure that objectdb.conf is found - The config path as set above is printed to the logs, and 

JPA Configuration without persistance.xml

to do the following: org.hibernate.cfg.AnnotationConfiguration config = new AnnotationConfiguration(); config .addAnnotatedClass(mypackage.MyClass.class); org.hibernate.SessionFactory factory = config

Replication issue, Replayer failing due to NullPointerException.

persisted) when trying to replicate. I'm going to show you my master and slave config files in case ... ;password=password" and the above config .   I was expecting I should be able to point that slave config at a master without any existing DB files on the slave and have it replicate

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file ... have recording sets when that is turned off in the config file? b) should I be worried about so many

ObjectDB Roles and Groups

Hello, How can I incorporate roles/group in ObjectDB config file? I see no support for this. For example, I would like to place several users under a given group or role, but I see no way of doing this as no such element is present  in the config file. Is it possible to have this? st.clair

enumeration table? how to on pure jpa?

application configs . Like; tablename : enumeration table rows: key       ... ; } } So , when i make set , get servername I will directly set or get config from server. I know

Unexpected NoSuchFieldError exception

out whether configuration settings have been found (e.g. is it possible to print out the config that ObjectDB is using, ie: in case it hasn't found the right config file).     [ObjectDB 2.6.9_09

Dirty checking

) some config settings to track changes to collections, e.g: http://www.objectdb.com/java/jpa/setting ... thinking, I need to: 1) set the config file to track array changes. 2) capture all entities changed

ObjectDb.conf Defaults

"); if(Files.exists(objectDbConFile)) System.out.println("objectdb. config FOUND"); else System.out.println ("objectdb. config NOT found"); System.setProperty("objectdb.home", currentDirectory); // Sets

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

. config .ApplicationConfig]: Servlet.service() for servlet org.netbeans.rest.application. config

turn off auto-serialization

persistable type java.lang.Class (error 303) regardles config settings :   ... ;  Yes, you are right, wrong config file and I waited for callback i embeded entity, my fault.   Tomasz Tomasz Wozniak

Unexpected exception during open the database

have now disabled the index update in *all* objectdb config files that we use, including the ones ... still enabled and I don't know why. I've attached our config file to this post. Can you please have a look

Out of memory

after GC. Both of them looks much better and memory usage is almost as with config file. server.sh ... .objectdb.Server $ARGS server config : This big heap space is set after few versions ago ODB was crashing

Acces the same DB with multiple users

the server.exe) my queries result in nothing? Must something be changed to the config ? Or should this work with no changes to the included config file? Thanks for the help, Marvin   AEnimaH Marvin

Activation license not picked up in Jenkins

; /var/jenkins_home/workspace/AuctionSoftware-gh02_master/ config /objectdb.gh02.conf   ... for this machine) Configuration path: /var/jenkins_home/workspace/AuctionSoftware-gh02_master/ config

Log is almost empty (log level 'trace')

config file) has only database open/close messages, some query.compiler info but nothing more..  ... .. everything much below possible critical margins, so I doubt it's a problem of VPS config . Regarding 'Inactivity period

mapping file is not being loaded

;          mil/navy/navo/arf/ config /orm.xml    

Enhancer failure: Failed to process class file of type

.2_02 and the following enhancement config in gradle works: task enhance ( type: JavaExec ) {  

Activation Issue

and put both in the config . Hopefully now it will work regardless of where I am. pedwards Paul Edwards

Failed to commit transaction: Attempt to commit a rollback only transaction

config file update 2: problem goes away with this check:         

Mismatch client-server protocol prefix

don't understand it fully. This are the annotations of the config class: @SpringBootApplication

Schema evolution & renamed/moved enum

to use the tag in the config file because my enum is not an entity. What is a the proper way

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

.apache.logging.log4j.core. config .xml.XmlConfiguration.(XmlConfiguration.java:97) In the build.xml Ant

osx menu item about window

osx menu item (for starting/stopping server, viewing config files, data roots, etc) is extremely useful. However, currently the about box doesn't show the current jar version of the server (and with rapid updates, it's difficult to know which version of the server is currently running, and track

Suspected memory leak

Hi, We are running soak testing with Object DB and it is showing signs of memory leak: used memory is growing overtime until Object DB JVM fails with OutOfMemoryException. Object DB is running in a separate JVM. All the config is attached. We are continuing to investigate this and will create

Cache usage

. The config is attached as well. The question is: is the cache really used ? hgzwicker Hans-Georg

Insert time increases as db grows.

; then 11 seconds and so on. Should I change my config in some way to get more stable insertion time

OptimisticLockException

the following works for me: 1) standard config file with these changes: 2) refreshing every object and in

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

Hi! I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans project. objectdb.jar is added into GF's classpath (domains\domain1\lib\ext folder). Any help, please?... Thanks! Here it is the persistence.xml config : com.objectdb.jpa.Provider The following error appears

How force always recreate database on redeployment.

. Is there a system property, persistence.xml property, or config file property I can use to set

[ODB1] Chapter 8 - ObjectDB Server

.Server -conf config .xml start If you name your configuration file server.xml , you do not need

New issues with queries using build 2.7.6_08

.execution.ExecutionConfigImpl as config WHERE execution MEMBER OF ?1 AND execution.verdictID = verdict.uid AND execution.execRecordID = record.uid AND record.executionConfig = config AND config .uid = '23A' 2 ... .dmos.execution.ExecutionConfigImpl as config WHERE config .uid = '23A' AND execution MEMBER OF ?1

Support for roles/groups in ObjectDB

ObjectDB should incorporate roles/group in ObjectDB config file? I see no support for this. I would like to place several users under a given group or role, but I see no way of doing this as no such element is present  in the config file. Maybe under the $default, or any particular user

ODB Server tries to write a log file to a weird location

We are testing client-server architecture. Our server has the following config : path = "$temp" threshold = "64mb" / inactivity-timeout = "0" / size = "0" user = "true" password = "true" / path ... /" retain = "90" / name = "*" level = "info" / Client has the following config :      

Entity field renaming does not work

String comparisonDisplayDataTypeName; We added the schema for renaming to the objectdb config :