Internal Website Search

51-100 of 136 results

Unexpected behaviour upon update. Bug?

This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expect: 3 Get: 4 import java.io.Serializable; import java.util.List; import javax.persistence.*; @Entity public class Update implements Serializable { @Id int i; int v; public static void main

Unable to convert 1.x odb file to 2.x

would be much more difficult to fix, since no exception with a stack trace is available now. Therefore, we may need a sample

How to disable Transparent Update.

How to disable Transparent Update. I have done 2 task in a single transaction. 1. Find a entity by a em.find(Class cls,Object o) and change some fields.(not updating) 2. Persist a new entity. But i found the in 1st case the changed value was updated. I have attached the sample program

Get multiple entities by Id

Bischel Could you please post a sample test case that demonstrates the problem? Something simple in

getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor.

data.   Manoj Manoj Kumar Maharana Can you send a sample database that can demonstrate

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

Bad Backups – Null Error when issuing simple query on backup via ObjectDB Explorer

sample database that have this issue with us (e.g. through a link for download in a private support

Database size is much larger than expected (x2)

these questions without a sample test case since many details are missing, but here are the general

Understanding Database max-threads objectdb.conf Settings Option

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 set Database max-threads.  In the documentation

Queries are slow on a large database

should be returned by this sample query? If there are many Message instances with the same requested 

How to do an Offline Database Backup?

These are questions asked in the context of the proposed architecture described in the forum thread titled, " Sample JDO Architecture for Follow Up Questions".   I desire offline backups.  I must close all connections, wait for current database activity to stop, and prevent new

How the sort order (in queries) works for non english letters?

strings and for sample code (but notice that the code in that thread demonstrates the less efficient

Should I Avoid Compressing Database Files?

These are questions asked in the context of the proposed architecture described in the forum thread titled, " Sample JDO Architecture for Follow Up Questions".   I saw a forum statement, which I can't find now, that led me to believe that ObjectDB database files do not compress well (in

URGENCY, or in query does not report any objects on first operand having no results

;relevant was fixed in build 2.8.9). Can you share a sample database that demonstrates the issue

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

an index is missing? It would help if you could upload a sample database and a simple test program

How to convert a boolean to an int in the query?

, which should also enable using such casting with criteria queries. The following queries against the world.odb sample

DB Explorer cannot be opened after schema package renaming of entity types

path. Otherwise, you will have to provide a sample database that fails to open in the Explorer, for this issue to be investigated further. support Support

persistence.xml classes not respected by ObjectDB

and it could be demonstrated by a sample application, we will look for a fix. support Support Finally

Undeployment of an remote Glassfish application locks objectdb log file

(unitName = "testdb") private EntityManager em; /** This is a sample web service operation */ @WebMethod

LEFT (OUTER) JOIN problem when mappedBy is defined

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

Shrinking Database Files

These are questions asked in the context of the proposed architecture described in the forum thread titled, " Sample JDO Architecture for Follow Up Questions".   I thought I read something on the ObjectDB website (forum? 1.x manual?), which I cannot find now, that stated that the datastore

Some details about db behavior

using simple test cases, or sample database (and particularly the Explorer view situation that you described above). support Support

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

enough then the solution works without out of memory exception. btc_es BTC EmbeddedSystems These 2 sample

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample : cb.equal(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d

Inconsistent return types from JDO query

the query and specify the relevant types. support Support I am attaching sample code which reproduces

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the server url fails the ping test.  I get (Failed to connect

How to apply Unique constraints on embedded fields?

These are my sample classes. @Entity @Unique(members = { "b1.c.values", "b2.c.values" }) public class

Unexpeted internal exception

Can you post a sample database for review? support Support I sent you the Database with the error

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

Hi! I've been trying to get Glassfish 4 (Java EE 7) work with ObjectDB the whole day. It seems to be an error. The same code (adapted to Java EE 6) works perfect in Glassfish 3.1.2.2. I attached the samples as NetBeans projects, so that you could check easier. 1 for GF3 (6) and 1 for GF4 (7

JPA Query language support in OBjectDB / Sub query or nested Query

Hi Wanted to check with you on the exact level of support of JPA QL within the ObjectDB world. I have given a sample typed query below which fails to work with ObjectDB and it runs very well with the Hibernate/MySQL JPA. We are using Spring Data here. It looks like a problem with Sub query or

Slow performance on Mac

(build 25.131-b11, mixed mode)   Running sample jar: - To generate data (write):    

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

trace. If you can also upload a sample database that may be used to run the query and see the error

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

These are questions asked in the context of the proposed architecture described in the forum thread titled, " Sample JDO Architecture for Follow Up Questions".   I tried to configure my objectdb.conf to give 256KB disk accesses and use PersistenceManager L1 ref=soft caching and datastore

Fields in objects not populated in query result.

Hosek It is unclear why you are having these issues. Please provide a minimal runnable sample program

Fantom

Hi, so far I've been able to get ObjectDb to persist objects from many JVM languages, eg.: Java/Groovy/Scala/Kotlin. However, I can't seem to get Fantom to work. Anyone tried this yet? Dave dmoshal David Moshal Please post a sample project, instructions on how to run it and details

Object explorer cannot open odb file. ObjectDB many-to-many relationship

wasn't the problem but the id class. Anyway, build 2.3.4 fixes this bug and now your sample database

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

using DbUnit with ObjectDb

. Can you provide a sample object model and XML file in the format of your existing XML data

queries under 2.7.6_4 significantly slower than under 2.7.6

on your sample database). It may be effective to run this again occasionally when the database

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

ObjectDB 2.3.1

Added support for using ObjectDB with JBoss AS 7.0 . Sample databases (world.odb, points.odb) included in ObjectDB distribution. New default Explorer colors (apply with Tools Options Fonts Reset All). New menu for accessing local databases (in $objectdb/db ) in the Explorer. Improved

Update query null error

Could you please demonstrate it with a query that has results with the sample database that you sent us, as

InternalException

is fine. If you could post a sample database with the query that causes this exception it may help

again merger missing logs + objectdb exception

. Can you locate a sample query that generates such an InternalException ? support Support

Entity field renaming does not work

. Could you please post (possibly in a private support ticket) a sample test database before

performance issues, database after adding statistics, after doctor

Thank you for this report (if possible, please compress large sample files in the future for faster

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

InternalException when using MEMBER OF on a large list in a query

if you analyse the sample . The example works if you reduce the count (line: 31) to 20.000  or 

Null pointer exception being thrown from within ObjectDB.

a simple test case (preferred format is specified  here ) or a sample database with a query