Home » Search

About FROM

81-90 of 200Refresh
Forum
12

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
12

Delete class from DB - through Explorer

Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer, but I couldn't find any. Is there any way for doing that? If not, why? The only way I see right now is to delete the whole db and make a new one, but that's not a good scenario
Forum
12

Guestbook example from tutorial does not work.

Hi, I have Problems to initialize objectdb in a jee envoirment. I used the Guestbook from the tutorial and try to deploy on Tomcat but i get this error. Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Creating application failed: /objectdb-2.6.2
Forum
12

How to Remove records from many to many relationship tables in JPA

need to use this to delete the records from Conclusion and TransportationEvent. Thanks in advance! Please post the exception full stack trace. lakshmi
Forum
12

Index on values from a Map

Hi, is there a way to put an Index on the values from an Map? For example, if I have a Map like this: private Map mmsContainer and I want to access it fast in following way: Collection values = mmsContainer.values();   Thanks for you help   Indexes are used
Forum
12

Is there a way to extract the schema from an existing Database?

Hi ObjectDB, Is there a way to extract the schema from an existing Database? i.e. without using my class files Thanks EKK The schema is available for viewing in the Explorer. You may use the JPA Metamodel API to extract it using your own code. EKK
Forum
12

JDO sequences from ORM file

this working, by a combination of moving the sequence from ORM to JDO file, specifying the factory
Forum
12

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
12

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
12

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