ObjectDB Database Search

1-50 of 80 results

ORDER BY problem, when String starts with language specific character

Dear all, I have a problem with ORDER BY clause. I have a simple query: select u from User u order by u.name When the name starts with "normal/english" character, records are ordered correctly. But when it starts with language specific character like 'Č', these records are placed after records

Getting Unexpected internal exception when updating entity in MEM db

Hi, I am using mem db. When am doing Merge operation getting "com.objectdb.o.InternalException: Unexpected internal exception" this exception for some cases.Can you please explain me the reason. Please find the below stack trace for your reference. Caused by: com.objectdb.o.InternalException

Puzzler: Not getting cascades on read from Spring context

Puzzler: Not getting cascades on read from Spring context

Low performance when getting grove roots

Low performance when getting grove roots

Setting and Tuning of JPA Queries

method specifies the starting point of the result window by defining how many results to skip from ... the page number ( starting from 0 for the first page), the following code retrieves the results

Report Generation with BIRT and JPA

simple as possible - we will use the basic  points.odb ObjectDB database file from the Getting Started tutorial. The database file contains 1,000 Point entities, which represent points on the line y

SELECT clause (JPQL / Criteria API)

(whose names start with 'I') use the euro as their currency. Therefore, the query result list contains

Extended mapping-definitions

(respectively its class) gets mapped to a java class. So cats get mapped to the java class 'Cat', dogs to 'Dog ... and 2.) not all classes are known at project start (an editor). To deal with especially the 2 ... for the name of the class. Now this leads to the following problem: By default a Java object gets

Mismatch client-server protocol prefix

starts with a prefix that is checked by the server before handling the request. That check could fail ... . Could you please check the specific query that caused the exception (assuming the stack trace starts ... ; This exception gets thrown at the getSingleResult line: java.lang.ClassCastException: at.co.pjm.tracker

Jboss 6 persistence.xml startup error

out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup ... to Start : name=persistence.unit:unitName=test.war#testUnit state=Create: java.lang.RuntimeException ... drop it in the JBoss's deploy directory, start JBoss ( run ) and open the browser at  http

retrieval again and again started

retrieval again and again started

Duplicate Entity class names causes Exception in Query

... I took that out immediately I started getting them problem...  There are also NO duplicate ... well I am getting the class not found error again ( I have removed the 2nd mode project and duplicate

Attempt to begin a new transaction when a transaction is active

; I don't know why am I getting this.. Thank you very much! adibe Adi Be Apparently the transaction is started automatically by the application server, and as the error message states, you are trying to the start a transaction that is already active. Try commenting the begin and commit commands

Deadlock in objectdb code

Running multi-threaded access to an embedded database using JDO, I'm getting a deadlock in ... in the code.   Is there a convenient way to introduce classes to objectdb at the start of a run ... at the start of a run, so they aren't first encountered later? You can introduce a class by:  

Activation Issue

the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting ... the objectdb server, and then started tomcat, with tomcat throwing the eval license exception ... starts with no errors - your configuration file is not used and probably misplaced. support Support

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file ... the contextDestroyed method of the ContextEventListener class. Is this wrong? ie: it gets calls

query on calendar class

; @Temporal(TemporalType.TIMESTAMP) private Calendar start ; I tested: Query query=em.createQuery("SELECT c FROM Cdr c where c. start .DAY_OF_WEEK = ?1",Cdr.class); query.setParameter(1,Calendar.FRIDAY ... query on that same class but results should be objects where c. start {t '23:00:00'} I tested: Query

How to Use a SF with extended Persistence Context?

: JBoss AS 7.1.1.Final "Brontes" starting 13:52:01,959 INFO  [org.xnio] XNIO Version 3.0.3.GA 13 ...   [org.jboss.as.connector] (MSC service thread 1-15) JBAS010408: Starting JCA Subsystem (JBoss ... 13:52:02,095 INFO  [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming

JPQL query to get entities that does not have a child entity in their child entities

;            JobId 01    Started ... :00      001 02    Step_1_ Started       ...     Step_2_ Started         2105:12:10 14:00:05 

Exception on creation when running multithreaded

transaction. The process is as followed: 1. The organisation gets created 2. The acl is being searched ... a multithreaded unit test whith 8 threads each creating 100 objects. The objects that gets created ... . support Support Well, I'm getting a different behavior now but it is not working yet.   Now

Cast exception?

I'm getting a weird exception: java.lang.ClassCastException: database.entity.Player cannot be cast ... have anything to do with any method from ObjectDB. So I looked into the class loaders and found out: Getting class loader 1: java.net.URLClassLoader@40834bca Getting class loader 2: com.objectdb.o.TYM@16b62091

jakarta.persistence.Embedded

@AttributeOverrides({ @AttributeOverride(name = "startDate", column = @Column("EMP_ START

jakarta.persistence.EntityTransaction

and Transactions article explains how to use EntityTransaction . Public Instance Methods void begin () Start

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

" directory still gets created.  A "log" directory also gets created when I run com.objectdb.Enhancer ... the location of the ObjectDB configuration file. support Support Can you confirm that "log" file still gets

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

have been getting the error 'Enhancement of type ... is old and cannot be used' across a number of projects ... ticket was getting an exception with the error message "Attempt to modify a primary key of a managed ... Build 2.6.9_01 " gets further" but only fixes some cases. Please see  https://www.objectdb.com

General Performance Issues Illustrated with a Specific Method

("listPatientsByIDsWithBasicData - start - " + st); List cs = new ArrayList (); if (ids == null || ids.trim ... - start - 1695401112698]] m = {q=0715812399}]] j = select new lk.gov.health.phsp.pojcs.ClientBasicData(c ... ]] listPatientsByIDsWithBasicData - start - 1695401637568]] m = {q=0715812399}]] j = select new lk.gov

[ODB1] Chapter 6 - Persistent Objects

When a new object is constructed by the new operator, it always starts as a transient object, regardless ... ( ... ) ). Persistence By Reachability The Address instance in the code above also starts out as a transient object ... in object databases, because navigation in the database can easily start from them, as explained in

What are the steps of creating small web app?

am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web ... , Glassfish. ------------- - Now I am starting the project, and I designed the database model, and I am ready ... me before I start ? Thanks so much for reading taher9990 TAHER AHMED BAHASHWAN In this forum

Pessimistic Lock Timeouts setting

are being blocked, subsequent threads are still getting errors (after the pause). Using TestNG, my settings

Too many objects for this ObjectDB Edition

but have switched to a newer version and am still getting the error. Any help would be much appreciated, Thanks

Source not found error after downloading ObjectDB 2.3.7_04

= pmf.getPersistenceManager(); I am getting an error Source attachment does not contain source

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

Hello, I've written a small OSGi Declarative Services application to run in Apache Karaf 4.0.7 to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB server and Karaf running on localhost. When I try to persist the entity I'm getting the  javax

InternalError on query of empty database

. Please try it. support Support I'm now getting an empty set returned on empty database. Thanks!!!! pedwards Paul Edwards

Object belongs to another EntityManager - ERROR

Hi, From time to time we are getting following error in our project when trying to insert/update a record in database [ObjectDB 2.4.6_13] javax.persistence.RollbackException 10:29:14,880 ERROR [stderr] (http--10.23.3.98-8081-5) Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl#8

Objectdb Doctor

Hi, I have deleted an instance of ClassA . However, if I try to access ClassB , which has a field of type ClassA , ClassB.classA , then, rather than getting a null pointer for classB.classA , I get an enormous exception. How does the ObjectDB Doctor help?   dmoshal David Moshal When objects

Problem persisting a TreeSet field

Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field Message.children to java.util.HashSet" when persisting a Message object with a parent/children relationship: @ManyToOne private Message parent; @OneToMany(mappedBy = "parent") private TreeSet children

javax.persistence.PersistenceException

; This is another bug. I cannot get past the previously mentioned line. I keep getting given apersistence error

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "Attempt to reuse an existing primary key value". In this particular instance, the error is: Attempt to reuse an existing primary key value (com.x.y.z.UserPassword:1) (error 642) at com.objectdb.jpa

Server crash - Mismatch client-server protocol prefix

;Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot ... (which fortunately gets auto-mailed to me): [ObjectDB 2.5.2] javax.persistence.PersistenceException ... that both issues started now? Maybe the other issue is the cause of this server problem? Maybe

Filename.odb$ Persisting Issue

rootLayout; @Override public void start (Stage stage) {   primaryStage = stage;   ... can happen just by starting and stopping the program in quick succession or after running it for extended

Tutorial issue

name: point.Point tutorial.Point Remove one of them from your project and start with a new empty ... class previously and the database had a memory of it. By starting with a new database that memory

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

your case? If so, starting with a fresh copy of the database may resolve the issue. You should now ... becomes more complex. Such changes must be performed with great care. When ObjectDB starts after the refactoring

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

static void main(String[] args){ // todo start JdoDatabase jdoDatabase = new JdoDatabase(JdoEntity ... .moxydox.server.Main.lambda$ start $3(Main.java:337) at com.unilogical.moxydox.server/com.unilogical

find() cost unreasonable time!

", iNum, (System.currentTimeMillis()- start )/1000f);     trans.commit();    ... = (System.currentTimeMillis()- start )/1000f;   System.out.printf("Insert: %f objects per second %n", iNum

JQL-Update Queries fails with activated L2-Cache

-Query and fetching Entities afterwards from database. Expected result: Getting changed Entities from ... . Expected result:  Getting changed Entities from database - Actual result: Everything ok ... using UPDATE-Query and fetching Entities afterwards from database. Expected result: Getting changed

combined index not used

). support Support Thanks, question: do we have to run this query every time we start our application or ... yet if this is the only issue. Is it your first attempt to use a build starting 2.7.6_08 that just ... ). Would you like to try repeating Doctor + Stat on it and send the result? Or better, start

NullPointerException in __odbGetNumMember

) the entity gets removed without any problems??? quasado Alexander Adam The stack trace may indicate

Can't open replicated database

! felixobjectdb Richard Szurgot Not sure if its related but I'm also getting the following null pointer

Adding objectdb-jee.jar to the maven repository

Thank you for this report. Starting build 2.6.2_02 the ObjectDB Maven repository will include ... with no errors or warnings. To use ObjectDB outside a Java EE application server ( starting build 2.6.2_02

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

.e4.ui.internal.workbench.swt.E4Application. start (E4Application.java:164) at org.eclipse.equinox ... .adaptor.EclipseAppLauncher. start (EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor