About true


Change path for urls2.xml file

I am using ObjectDB embedded and have set my home path in relation to the JAR, but running the program still creates .objectdb/urls2.xml in my system user folder.  Is there a setting to change the creation path of this file?  I assumed it would be in relation to the home path, similar to the db and log files. ... <url-history size = "0" user = "true" password = "true" /> The url history is used to enable opening recent ...


NPE at com.objectdb.jpa.JpaQuery.getResultList

This is very similar to issue #51  raised by kaosko .   So perhaps I should have added it there.  Anyway, here it is....   ... return findMomentPayloadEntities ( true , - 1 , - 1 ) ; }   public ... return findMomentPayloadEntities ( true , - 1 , - 1 ) ; }   public ...



Defines a single-valued association to another entity that has one-to-one multiplicity.(Annotation of JPA)


mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps them using the JPA Persistance.createEntityManagerFactory() method and passing in the persistence unit name (again, obtained from the configuration file ). ... > <exclude-unlisted-classes > true </exclude-unlisted-classes > <properties > ... exclude-unlisted-classes to false rather than true . ObjectDB Support ObjectDB - Fast Object ...


Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many different modules, and frequently evolving/changing. JPA2 persistence.xml does not seem to have support for wildcards under the <class> field. Apparently Hibernate has an autodetection extension system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/configuration.html ... name = "hibernate.show_sql" value = "true" /> </properties > Q1: Would it be ... which should work unless exclude-unlisted-classes=true  is specified in the persistence.xml file. The classpath ...


High memory consumption even after close() of EntityManagerFactory

Hello, we still have memory usage problems. When debugging, we have now observed a case in which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC could not be released. Not even after the EntityManagerFactory closed. We created a small test with which you can observe similar behavior. The huge memory usage only occurs if we execute the query (line 56 to 61). If we remove this query, all is well. The memory is only released after we re-run a query (on a different database). ... ( "objectdb.temp.avoid-page-recycle" , "true" ) ; This can also be set as a JVM argument: > java ... -Dobjectdb.temp.avoid-page-recycle=true In addition, this memory will automatically be released (if the ...


Error during cascaded merge

Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. I get the following exception: ... = CascadeType . ALL , orphanRemoval = true , fetch = FetchType . EAGER ) @ ... "unit" , "configDate" } , unique = "true" ) public class ChannelConfigurationSet implements ...



... Fixed NullPointerException when using AND TRUE in WHERE clause (issue #201). Fixed an exception when ... Fixed a bug in applying orphanRemoval=true by default on mapped by (inverse) relationships. Fixed a ...



Specifies a mapping to an entity that is a map key.(Annotation of JPA)



Specifies the mapping for the key column of a map whose map key is a basic type.(Annotation of JPA)