Internal Website Search

1-50 of 136 results

Posting Sample Code

sample program . If an unexpected exception (e.g. NullPointerException or ClassCastException ) is thrown by ObjectDB - posting the full stack trace with no sample program (using the Issue Tracking system) may be sufficient to locate the problem. In most other cases - a sample program may be required

Sample JDO Architecture for Follow Up Questions

Sample JDO Architecture for Follow Up Questions

What's next?

Tutorial These tutorials explain how to run the sample program. You can easily start your own ObjectDB/JPA projects simply by modifying this sample program. Reading the Next Chapters

JPA Persistence Unit

.objectdb.jpa.Provider META-INF/mappingFile.xml packedEntity.jar sample .MyEntity1 sample .MyEntity2

Is ObjectDB better than competing object databases?

, supporting community, forums, IDEs support, tools, books, tutorials and  sample code. ObjectDB

Chapter 1 - Quick Tour

storing, retrieving, updating and deleting Point objects. To run the sample program of this chapter in

Database Server

the Server on Unix On Unix you can use a shell script to run and manage the server. A sample script, server

Problem with @Basic(fetch = FetchType.LAZY)

the problem: import javax.persistence.*; @Entity public class Sample { private String title; @Basic(fetch ... ; public Sample () { } public Sample (String title, String description, String code) { this.title = title ... / sample .odb"); EntityManager em = emf.createEntityManager(); Sample sample = new Sample ("Title

[ODB1] Chapter 2 - A Quick Tour

This chapter introduces basic ObjectDB and JDO concepts, using two sample programs. We start with the HelloWorld sample program, which is not JDO portable because it uses some ObjectDB extensions, but it is a good sample to start with because of its simplicity.  We then proceed with the JDO

JPA Tutorials

by step instructions on how to create the sample applications. In addition, the sample applications

Getting Started with JPA

support of JPA. The sample application is also explained in details in  Chapter 1 of the  ObjectDB Manual , but if you prefer to start by running a live sample application in your IDE

Should I be able to persist a JFrame (or gui components in general)?

of follow your tutorial(s) while applying the ideas to a sample that came with the IDE called GUIFormExamples (under samples ). 2. Specifically, I worked with the ContactEditor as main. I made a new class ... if I tried them from command line). 3. Basically what I did to the sample was, I morphed

query hint

If a query plan is not included in the debug log then hints cannot help. If you can share a sample ... of the real queries. Although with an up to date hint text ObjectDB does use the index on the sample database, it is not used in an optimal way. To use it optimally you must also update the sample database

Problem on JPA Merge Entity.

a little sample . guli CHARLOIS Hi, I just work all day on the problem reported yesterday . I think ... , because i have a big hierarchy of class in entity domain) sample that highlights the problem.   ... the project archive.   The little sample is based on a web page ( http://localhost:8080/ERGO_ObjectDB

500Mb ObjectDb database opening issue

;  |   Time (ms)    |   Samples    ... ;   |   Samples    

Possible cause for "Enhancement of type ... is old and cannot be used"

sample for you demonstrating the problem some months ago as an issue report at: BUG: objectdb-2.6.6_07 ... and enhanced, further instructions on how to reproduce the exception with this sample test case are needed

Immediately retrieve unique id

The beginning of my " Sample " class looks like: @Entity @SequenceGenerator(name = "sampleSeqGenerator", initialValue = 1, allocationSize = 100) public class Sample implements Serializable { private static final long serialVersionUID = 1L; private String sampleName; @GeneratedValue(strategy

Error opening database with ObjectDB Explorer when using composite key

;       ..... copaco Edwin Brood Please attach the sample odb file with the issue. support Support Added a sample database  copaco Edwin Brood Thank you for this report. Please check

AttachNotSupportedException

the database in the Explorer? Can you post a sample database that demonstrates the problem? support Support ... Rui Rosado Thank you for the update. We can comfirm that the sample database in #3 above has no errors

EntityManager JPA or JDO impl and different behavior

you can show it by modifying the above test. support Support If you can covert your sample project from ... of the sample test in the posting instructions . Static inner classes should be used for the entity classes

JPQL JOIN FETCH Error

to understand the problem. Is there a sample database that you can upload in order to show the  ... soon, and if you provide a sample database (possibly in a support ticket) it may be possible

Compress ODB file with XML content

. Compression internally is not supported yet, but if you can upload a sample database file ... side. Harman Alexander Golyshkin Thank you for the sample database file. Most of the database space

Explorer shows Long id, but should be Integer

the sample on parts of the Embedded id) as if I would want to edit, then I press enter and ObjectDB Explorer shows the field type as Integer, as it should normally be. I have attached just a small sample

How to use ObjectDB properly in spring boot application?

/overview Below is a sample code that I am using: ( taken from objecdb documentation ... ; very simple spring boot sample application  with: spring-boot-starter-data-jpa Objectdb

Jboss 6 persistence.xml startup error

the attached sample file. Use objectdb-jee.jar instead of objectdb.jar . The new jar ( objectdb-jee

Can I Disable the Creation of the "log" Directory?

These are questions asked in the context of the proposed architecture described in the forum thread titled, " Sample JDO Architecture for Follow Up Questions".   In the objectdb.conf file (attached to forum thread mentioned above), I disable logging (by setting log path="") but the "log

EntityManagerFactory objects being locked during EntityManager creation

this issue. Note: We have tried to create a sample program to recreate this issue, but were not

Trouble viewing db in Explorer.

have debug on, here is a sample of the console:     [2012-06-07 11:08:06 #47186 query

Double persist of Entity field with Cascade.ALL

would have double entry of same record. Burabari Burabari Kpai For completeness, attached is the modified sample

javax.persistence.PersistenceException

. Could you please upload your sample project / projects? support Support You may also look at: http://sourceforge.net

Update Entity references if we change the type of an entity

and your sample test passes. However, please note that: It may slow your application. Object IDs

Join query problem with new statetment

a sample case that reproduces the exception (you may attach the database and the code to a support

Populating JavaFx table from ObjectDB

Please I have being working on an application, and I am experiencing some challenges populating my javaFx table from ObjectDB, Please I don't know if I can get a sample code for populating javaFx table from ObjectDB that could aid my Project. Jerry Onoja Jerry You may check the following links

Performance in SELECT statement

more details and sample code. support Support The index thing did the trick! Thank you... I

Storing objects problem

this problem. kiki Kristijan Please follow the posting instructions and provide a sample program

Does ObjectDB support lazy loading?

that demonstrates that issue. The following sample program demonstrates lazy loading: package com.objectdb

WebSphere Liberty Configuration

Hi! I've been trying to get ObjectDB configured with WebSphere Liberty server. I have been able to get the sample app running in TomCat but when I run the jee version of the guestbook in WebSphere I get a combination of errors depending on how I tweak the configuration the most promising error I

virtual servers and one file

when the issue happens as well as generating several sample thread dumps when that happens. support Support

[ODB1] Chapter 8 - ObjectDB Server

the Server on Unix On Unix you can also use a shell script to run and manage the server. A sample

[ODB1] Chapter 9 - ObjectDB Explorer

the Explorer on Unix using a shell script. A sample script, explorer.sh, is located in the bin/sh directory

Which API should I use - JPA or JDO?

, tutorials and  sample code. When to prefer JDO JDO might be preferred when portability to other object

[ODB1] Chapter 7 - JDOQL Queries

demonstrated by the following table:   Literal Type Samples of valid literals in JDOQL int 2003, -127

[ODB1] Chapter 1 - About ObjectDB

Guest Book sample provided with ObjectDB demonstrates a simple web application that uses ObjectDB

stress test -> com.objectdb.o.InternalException: null

? A sample project is very hard, if not impossible, to create, because it uses all the system. May 20 ... , we will need a sample project (even large and with no source code) in order to reproduce and fix it. support Support Ok. I will help with a sample then, because it's a very important issue. I

combined index not used

-Georg Zwicker Running the query on the sample database that you sent in the Explorer shows ... (on that sample database) for further analysis? support Support we do not have that database any ... (); } It may take some time for this process to complete (about 20-30 minutes on your sample database

ArrayIndexOutOfBounds with Critera API and function call

goot from our root selector) I cannot create yet another sample as creating samples takes quite some

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

that demonstrates the exception it may help. support Support attached a sample project with a working ... classes, so criteria queries can only be used with field names (as demonstrated by your sample project

queries more than 10 times slower using 2.8.1 versus 2.7.6

. It seems that running your query on your sample database with version 2.8.1 is slower ... but on a old sample database for which statistics was already updated as part of the work on issue #2417

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

modules can be problematic in projects that use Java 9 modules. I've created a sample project

java.lang.ClassCastException: com.objectdb.o.RFV cannot be cast to com.objectdb.o.RSV

when the parameter type is a Drill instead of a Template. Updated: Sample data file removed now that the issue