About FROM

91-100 of 200Refresh
Forum
14

Puzzler: Not getting cascades on read from Spring context

I've determined that the database is correctly initialized, looking at it from the Object Explorer, I can run the code that loads the database in a Junit test and it's initializing the children objects correctly, but in the application running in Jetty with Spring, fetching is not cascading
Forum
14

Query debugging configuration from class

Is there a way to show what queries are actually being executed from within a Java class? I'm getting the exception: Exception in thread "main" [ObjectDB 2.5.4_05] javax.persistence.NonUniqueResultException However, I'm unable to debug it because I don't know what the query's actually searching
Issue
14

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection is not possible. The following java code demonstrates the problem. The statement parentEntity.getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities
Forum
14

Access to client/server database from multiple applications

Is there a preferred way to run a client-server database so that updates from one application are immediately visible to another? The way I managed this was to run PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure that a query on MyClass would contain updated data
Forum
14

Backup from explorer

Is it possible to make a backup from the explorer? If the database is not in use you can use the File > Open dialog and then copy and paste on the database file (right click a database file to see the copy command). But a safe online backup (while the database is in use) is not supported. jastorga
Forum
14

Suggest link to Maven example from Enhancer tool page

you also link from there to the tutorial example: https://www.objectdb.com/tutorial/jpa/web/maven Needs
Forum
14

Undeploying Glassfish web application does not disconnect from ObjectDB

? Apparently undeploying a web application from GlassFish doesn't close the EntityManagerFactory
Forum
14

Programatic configuration or configuration file loaded from classpath or file

this programmatically? Unfortunately not, it must be read from the configuration file. b
Issue
14

reading from table gives Unexpected exception

reading from table gives Unexpected exception [ObjectDB 2.6.3] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_131 (on Windows 10 10.0). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com.objectdb
Forum
14

NPE when reading map from DB

Greetings, this NPE happened in our app first time today while reading objects from DB. Could u please check what could be the issue ? Inner message: Cannot invoke "com.objectdb.o.ORS.YD()" because "" is null -------------------- com.objectdb.o.TYR.(TYR.java:113) com