ObjectDB Database 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

JPA Persistence Unit

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

What's next?

this chapter: 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

Database Server

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

Chapter 1 - Quick Tour

: To run the sample program of this chapter in your IDE refer to one of the following tutorials

Is ObjectDB better than competing object databases?

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

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

. 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, you should be able to follow

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    

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

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

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

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

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

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

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

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

Does ObjectDB support lazy loading?

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

Integration

roo with gwt sample running (something is still wrong but i will delve deeper when i find time

JPA query of a Set of terms

may have multiple entries in the index, one per term. See also the document and words sample queries in the manual. support Support

ObjectDB version 2.1 has been released

ObjectDB 2.1 has been released and it includes important additions and fixes: Added Online Backup utility ( issue #16 ). Added Master-Slave  Replication / Clustering (issue #17 ). Added a PDF version of the ObjectDB manual (included in the download). Added sample (tutorials) Maven projects

Doctor - high memory usage

Walkowski I just checked the 64MB sample database. With 512MB max heap size ( -Xmx512m ) it works

Jboss 6 persistence.xml startup error

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

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

let me know if i should provide you with more code/xml or an sample project chris Christoph Ernst

Different behavior with persist() and queried instances?

persist works though in a sample project, *after* the commit, my list property is correctly enhanced

Mysterious "Attempt to persist a reference to a non managed instance" error

.TicketNumbers instance taheta Taheta Woon Sorry for the wrong answer: Here is the final sample :- Bus.class

javax.persistence.PersistenceException

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

LEFT (OUTER) JOIN problem when mappedBy is defined

, LEFT JOIN works correctly. Is this normal behaviour? Thank you Michael   Sample application public

Join query problem with new statetment

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

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

of all the persistable classes. If you still get the exception please post a sample program that reproduces it. support Support

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 9 - ObjectDB Explorer

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

[ODB1] Chapter 1 - About ObjectDB

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

[ODB1] Chapter 8 - ObjectDB Server

the server. A sample script, server.sh , is located in the bin/sh subdirectory. Before using that script

[ODB1] Chapter 7 - JDOQL Queries

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

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

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

ArrayIndexOutOfBounds with Critera API and function call

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

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

ObjectDB 2.1.0

Added Online Backup utility ( issue #16 ). Added Master-Slave  Replication / Clustering (issue #17 ). Added a PDF version of the ObjectDB manual (included in the download). Added sample (tutorials) Maven projects (included in the download). Added support of disabling optimistic locking

Object DB Explorer fails to open database

_03 that was fixed in build 2.05_04. I just opened your sample odb file using the Explorer of 2.1.0

Better OSGI Compability

We are currently using objectdb using osgi. However, the objectdb jar seems to be very monolithic and should be more modular to make it easier to use it with osgi, samples are: - Remove SWING dependency from core objectdb bundle - Externalize persistence and jdo apis and not putting them into