About files

81-90 of 200Refresh
Forum
13

Open a db file causes an error

We get the following error, if we open a db file. We use ObjectDB 2.6.8. What is wrong? Caused by: java.lang.NullPointerException: null at com.objectdb.o.IXN.(IXN.java:136) ~[na:na] at com.objectdb.o.UTY.Z(UTY.java:703) ~[na:na] at com.objectdb.o.TYS.l(TYS.java:176) ~[na:na] at com
Forum
13

Separate ODB files API

Customer asked during opened ObjectDb connection (ODB location A) to stop writing and continue to another ODB file (Location B). Does exist some API to achieve that? What is a possible solution? You have to close the database in location A, copy it from location A to location B (unless
Tutorial
13

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step just click Finish to generate a default persistence.xml file ... to replace the new source file content with the following code: package guest; import java.io ... file that was added to the project (under Configuration Files). Open the persistence.xml file in
Tutorial
13

Step 2: Entity Class and Persistence Unit

: src/main/java > guest). Use copy and paste to replace the new source file content ... guests in the database. We also need to configure JPA by setting a META-INF/persistence.xml file ... the new META-INF folder in the [Project Explorer] window, select New > File, enter persistence.xml as
Manual
13

Obtaining a JPA Database Connection

to get an EntityManager instance. JPA requires the definition of a persistence unit in an XML file in order ... persistence unit in an XML file or you can simply provide the file path of the ObjectDB database ... , but when using ObjectDB, any valid database file path (absolute or relative) is also accepted. Any
Tutorial
13

Step 2: Entity Class and Persistence Unit

the project (under Java Resources: src > guest). Use copy and paste to replace the new source file ... /persistence.xml file: Open the [New Folder] dialog box, e.g. by right clicking the project node (in ... > File, enter persistence.xml as file name and click Finish. Verify that a new persistence.xml file
Issue
13

[Explorer] Editing Database Files

[Explorer] Editing Database Files
Forum
13

ClassNotFoundException Stack Traces in the Log File

ClassNotFoundException Stack Traces in the Log File
Forum
13

Internal exception when updating date filed (TemporalType.DATE)

Internal exception when updating date filed (TemporalType.DATE)
Forum
13

odb file size doesn't shrink

odb file size doesn't shrink