ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh

Object as parameter results in exception

is valid since objects such as a Company instance are expected to be passed to the query as parameters ... the primary key is used as a literal, which means that the query has to be compiled every time and the query ... ! Most of our queries will still be named queries, just our 'search' queries will be coded as

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

.epimss.lab.data.bacti.CultureRqst is not defined as an entity (@Entity is missing) (error 302) at com ... can overcome this with 15 projects to use objectdb. I tried placing objectdb as a variable ... . Package objectdb as an OSGi bundle. 2. Seaparate ObjectDB from the JDO API, thus allowing us to use any

@MappedSuperclass and @Transient not working as I expected

. But here is the problem: The base class of my entity hierarchy is annotated as @MappedSuperclass, and one of its fields ... thread. ObjectDB 2.3 will be released with a new Explorer that should fix the transient field as well as the NPE. support Support So are the tables that appear for classes annotated @MappedSuperclass

multiple LEFT JOINs do not work as expected

.valueAsString='1')) AND (($3.organisationId='root') OR ($4.organisationId='root'))) As I understand ... has null as it's parent. The log generated when I run this against the DB is attached ... JOIN that works. Please try to modify it to demonstrate a different query that doesn't work as

LAZY @ManyToOne field functions as EAGER

and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2 ... as @ManyToOne(fetch=FetchType.LAZY) ? package com.greensoft.objectdb.test.console; import javax ... and ManyToOne relationships only in enhanced classes. If you run your test as recommended

Access objectdb.conf as class loader resource

Hi, is it possible configure ObjectDB so it searches the objectdb.conf file as a class loader ... at the expected path, then it is loaded as a resource from: META-INF/objectdb.conf Default configuration is included in objectdb.jar as a resource at that path. You may try putting your jar file

starting objectdb as a service in linux

Hi, how to start objectdb as a service from linux command line. Every time i close the terminal (putty) servers stops. Running it with the & parameter dont help. we are starting the database ... command or the start command? Using the start command it should start as a separate process. support Support

About LIMIT and OFFSET as query tokens

Hi, I would like to know why the query tokens OFFSET AND LIMIT are not available and if they will be in a near future. Is there any equivalent way to get, from the database, the object at given position i as well as a given number of objects that follow such object? Thanks you in advance MiguelGT

Enhancer option -s works not as expected

-s com.btc.base.impl.* Entity1 and Entity2 enhanced as expected. ... com.objectdb.Enhancer -noaware -s com.btc.base.* Entity1 and Entity2 enhanced as expected. BUT: ... com.objectdb.Enhancer ... either as packages and classes or as files. The -s attribute is for searching files in subdirectories

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ... .LDR.UU(LDR.java:669) at com.objectdb.o.MST.aT(MST.java:522) at com.objectdb.o.MST.aS(MST.java:454

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support