About file

41-50 of 200Refresh
Tutorial
14

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
Tutorial
14

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
14

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
Forum
14

ODB tries to create log files inside its own jar on Win7

to run it.  The stack traces they sent me indicated that ODB was trying to create its log files ... of the stack trace: [code]Caused by: com.objectdb.o.UserException: Failed to create a new file 'rsrc:objec ... to another Linux machine and it works fine.  (I didn't check where it creates its log files, but evidently
Issue
14

Page cache File handling produced an java.io.IOException: Negative seek offset

  The Exception: Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb ... .PersistenceException Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb ... (Thread.java:745) Caused by: com.objectdb.o.UserException: Failed to read from file 'C:\Users\DEVELO~1
Forum
14

Problem with log file in an embedded db with netbeans platform application

that crash the application. This is part of the stack trace: java.io.FileNotFoundException: file:\C:\Users ... :813) Caused: com.objectdb.o.UserException: Failed to create a new file 'file:\C:\Users\Ce\Desktop ... .xml file:
Forum
14

Redeployment in GlassFish - Failed to open file

. It seems that the database file is still in use. I have highlighted the cause by red color. How I can release the database file for redeployment? Every time, I need to stop the server, start it again and redeploy ... to open file 'D:\Projects\JPAWebObjectDB-test\build\web\WEB-INF\db\guests.odb' at com.objectdb.o
Forum
14

Shrinking Database Files

something on the ObjectDB website (forum? 1.x manual?), which I cannot find now, that stated that the datastore file ... would be with Database Doctor. Is there a way to reclaim database file space? Is it worth trying to reclaim space?  (It may not be if it is a lengthy operation, or it tends to make the file more fragmented
Forum
14

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin ... (JpaQuery.java:613) ... 2 more Error opening zip file or JAR manifest missing: /E:/projects ... . My ObjectDB path is the same. But, My home pc will get this message: Error opening zip file or JAR manifest
Issue
14

Can't open DB-file with explorer, but from within my code it works

): 1) my recent db-file, created with the old-version, has been copied to the local db-folder of the new version automatically 2) But I can't open the db-file with the objectDB explorer ... to construct an instance of java.lang.Object using a no-arg constructor.   3) But I can open the db-file