About true

api-jpa

javax.persistence.MapKeyJoinColumn

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

 
forum_thread

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 ...

 
forum_thread

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 ...

 
forum_thread

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 ...

 
release

2.5.5

... 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 ...

 
forum_thread

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 ...

 
issue

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

objectdb-2.2.5_08 NetbeansID6.9.1+Glassfish3.01 I suspect the following is an Explorer bug. It is marked knowingly as CRITICAL by me because it makes the ObjectDB system unusable for a real project because it appears to be either database integrity corruption, or it just looks like it, which is just as bad. I attach a running project illustrating the problem, as well as screenshots. ... [null](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Persisted: ... [64](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Updated: ... [64](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Created: ...

 
forum_thread

Extra uninitialised entities spawned on merge()

In the following, Element is a base entity class, with a bi-directional @ManyToOne-@OneToMany relationship Element owner - List<Element> ownedElements, and Example is a subclass entity with a relationship @OneToOne Element child. ... static boolean DO_PERSIST_BEFORE_MERGE = true ;   /** * @param args the command line arguments ...   Case: DO_PERSIST_BEFORE_MERGE = true: If I create an Element 'root', persist it, load ...

 
api-jpa

javax.persistence.MapKeyColumn

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

 
issue

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

reporting issue as requested  ... { return findChartEntities ( true , - 1 , - 1 ) ; }   ... ; this . reverseOrder = Boolean. TRUE ; }   @ EmbeddedId public ...