ObjectDB Database Search

101-150 of 200 results

Type ... is not defined as an entity (@Entity is missing) (error 302)

/database/jdo/ manual /chapter2#Hello_World), i'm using neatbeans 8.1 to build it Exception in thread "main

Page dividing support in Objectdb

In Mysql, one can divide records by select * from ttt limit x,length. Then how to do it in Objectdb? gzdillon Lai Yang This is explained in the manual . support Support

alter table

Evolution in the manual ).  alter table add index ... Add the index definition and rebuild the database

Drop the entire database, Change the schema

. See the manual for more information on  database urls and this configuration . support Support

Duplicate Entity class names causes Exception in Query

the manual . But of course, ObjectDB should not throw a  NullPointerException in this case. I will try

Path in tomcat

path in the manual . Notice that the database file can be at any absolute path that you specify

Modifier operations

.2.4 but undocumented yet (the manual will be updated soon for version 2.3). This has the advantage

JBoss 7 startup fails

, if necessary, edit the persistence.xml file manually , following the attached sample file

Getting a list of all the entity class names

I was wondering if there is any way to get a list of the entity names in the database? dmoshal David Moshal You can use the Metamodel API as explained by the JPA Metamodel API  page in the manual . support Support Actually, there is a simpler way to get the class names (in one line of code

Explorer in 2.3

collection). The features above are described in the Explorer page in the new 2.3 manual . In addition

config file for embedded database

(on both the client side and the server side). It is explained on this manual page . support Support

Storing objects problem

;private List children; You may also specify cascading persist globally as explained in the manual . support Support

Access ClassTransformer

Hello, As in our OSGI Environment, we do need to manually weave classes. To be able to do so, we'd need access to the ClassTransformer from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which seems to implement a ClassTransformer as

EntityManager JPA or JDO impl and different behavior

.4_03). I had to load them manually in the transaction due to lack of time but would like

LIMIT or TOP functions

Is there LIMIT or TOP functions in object db? If so can you provide some examples? vinodh vinodhkumar You can set query result range by using the setFirstResult and setMaxResults methods. You can find more details and an example in the manual . support Support Thanks. This solved my purpose. vinodh vinodhkumar

Multi selection and distinct in a criteria query

; CriteriaQuery . There are some relevant examples in the manual .   support Support Ok yes I

possible index required for improving query performance

the manual : In the [Parameters] table provide arguments for parameters (if any). An entity object

slow performance for a complex query

and filter the organisations manually . However if I do that, I cannot support pagination

lockfiles in client/server mode

this configuration file is probably not used (see rules for the configuration path on this manual page

Undeployment of an remote Glassfish application locks objectdb log file

is still there. If you try to manually delete the folder, you will get an "Folder in use" error message

Occasionally slow requests in load testing

The way resizing works is briefly described in the manual  and no other tuning options

Example database world.odb

Persisting objects is explained in this manual page . Related source code that can be made public

Entity Update - Is the documentation up to date?

The online manual is always expected to be up to date with the last ObjectDB version.  First, I've

mapping file is not being loaded

.  I have followed both suggestions - manually listing classes along with setting exclude-unlisted

ObectDb 2.3.6 in OSGi environment

the end of this manual page . support Support It works now! The problem was that I had have imported

How to define Default Entity Listeners without persistence.xml and orm.xml

chapter 3 of the manual . You may also register listener using the JDO API, which is not documented but supported by ObjectDB. support Support

Using List to save data

Hello, How can I save data dynamically such as "List" in Java - ArrayList, LinkedList, etc. thanks Seena Abdollahi Seena Abdollahi Software Engineer sabdollahi Seena Abdollahi Lists are persisted automatically as fields of entity classes. See chapter 2 and 3 of the manual for more details. support Support

ObjectDb Supports Clustering of Servers?

is described on this manual page . You can use it for a cluster of database servers, with one read

How to use JOIN FETCH?

The ObjectDB manual ( https://www.objectdb.com/java/jpa/query/jpql/from ) gives an example of using JOIN FETCH to avoid excessive round trips to the database: SELECT c FROM Country c JOIN FETCH c.capital I've tried a few variants of the following example, and haven't been able to get this to work

ways to recover from DB curruption

the database file - it may be possible to fix it manually . support Support

Insert time increases as db grows.

maven goal and got no effect. I've also tried to use enhancer manually on classes, but still getting

Problems Running ODB Explorer

explained in the manual , so if you have several objectdb.jar files, you have to update the relevant

Query in JPA2 with LEFT JOIN on INNER JOIN

  faber Faber The syntax of using JOIN in explained on this manual page . Using ON in a 

Need disk usage and delete some old files

of objectdb?   kadirbasol Kadir BASOL You can read about backup on this manual page

Add class to objectdb ?

Hello , i've made blank db project and opened with explorer.jar How can i add class file then push objects manually by explorer.jar   It only gave me blank : http://img543.imageshack.us/img543/7463/screenshot20130203at001.png     Here is second screenshot: http://img210

How to resolve 404 errors with Eclipse/Maven Spring MVC

make the jar file to copy to tomcat and I don't know why. In the version were I manually created

Saving custom list which implements java.util.List fails

defined classes. Notice, however, that similarly to the  Arrays.asList example from the manual

Low performance when getting grove roots

is explained in this manual page . support Support As I understand, I require having javax.annotation.xxx

"Attempt to lock a non entity object" error

- from the ObjectDB manual - by: "The following operations clear the entire persistence context

Search through collection for value using index

Herman You can define an index on a collection field as explained in the manual , and the index

Optimistic locking: prevent version increment on entity collection attribute

the manual , but following this report an error message, which is missing in this case, should be added

How to open a running db in ObjectDB Explorer?

??? junior Lekane Nimpa, Junior See this manual page regarding the configuration file path. support

Optimistic lock failed : object has version .. instead of ..

.java:381) ... Thank you! adibe Adi Be Optimistic locking is explained in this manual page . support Support

Does aggregate function "greatest" work on entity objects?

. See the list of Comparable Data Types in the manual . support Support

Spring Transactions (@Transactional) within ObjectDB

!   Sandeep Sandeep Dhamale See the links to the manual in #2 above. You should prepare

NullPointer on query

when the process was shutdown manually after the error occured but it's hard to be certain. The error

Issue with DISTINCT Select

being returned as otherwise I will have yet another overhead manually iterating over the resultset

'DROP TABLE' in ODB?

to work https://www.objectdb.com/database/jdo/ manual /chapter9 There I also read that you can load new

JQL-Update Queries fails with activated L2-Cache

on the UPDATE query manual page : Updating entity objects in the database using an UPDATE query may be slightly

ObjectDB 2.5.1

Added support of editing enum values in the Explorer. Added logging of type registration . Added error message when using mapped by (inverse) collections and maps of invalid types. Changed JOIN FETCH to act as LEFT JOIN in path expressions. Updated the PDF manual . Fixed a possible deadlock