ObjectDB Database Search

1-50 of 173 results

Getting Started with JPA and Eclipse

This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entities, where each Point has two persistent fields: x and y

Getting com.objectdb.o.UserException:

the default configuration file. I am getting the follwing error when I launch the application. Please help ... .StandardContext. start (StandardContext.java:3404) at org.apache.catalina.core.ContainerBase.addChild ... .HostConfig.deployApps(HostConfig.java:324) at org.apache.catalina.startup.HostConfig. start (HostConfig.java

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

Starting Explorer programmatically

Hi wondering if it's possible to start Explorer from code. Reason: In cases where Gradle is used to manage the ObjectDb jar version, it would be useful to start the explorer from a Groovy script (or java program), to guarantee that it's using the same Gradle-managed objectdb jar version.  

How to start a objectdb server with new Daemon (without blocking the thread)??

I am planning to use objectdb+jetty on Google compute engine server for my next project. But it seemed starting the server will block my thread. Any instruction to avoid thread blocking?    taheta Taheta Woon Consider using embedded mode, which is faster, and does not require running

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

Getting this error when fetching records from mem db.

Getting following error when executing bellow query.   [2022-03-25 14:42:19 #1 query] Error during query execution: Select rt From RtDelete rt Where rt.EntityClass =: encls And rt.DeletedAt : lastcheck({encls-RtCall,lastcheck-Fri Mar 25 14:42:14 IST 2022}) [2022-03-25 14:42:19 #2 *] [ObjectDB

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

.Skill.Campaign.Id=: campid And agsk.Skill.Queue.Channel=:chan" for this query am getting empty result

Getting the database file size

and it supports getting the file size and the total number of entity objects by queries: try

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

Getting a list of all the entity class names

Getting a list of all the entity class names

Getting Foreign Key

Getting Foreign Key

Strings in JPQL and Criteria Queries

') is evaluated to 5 . LOCATE - locating substrings The LOCATE(str, substr [, start ]) function searches for a substring in a string and returns the substring's starting position. For example: LOCATE ... found. The optional third argument specifies the position from which to start the search. LOWER

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

SELECT clause (JPQL / Criteria API)

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

Database Replication and Clustering

root directory, $replication , which is located under the server's data root directory. To start

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

Soft Reference Object Cache Recommendation

) when heap RAM gets low for my application.  This would use a Least Recently Used (LRU) mechanism ... when the JdoBlob2 gets deleted. I use JavaVirtualVm to look at my application heap to see the references to the byte ... the JdoBlob2 via persistenceManager.deletePersisted(jdoBlob2) then the memory gets freed by

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

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

? Regarding the merge errors, did you start getting them only after fixing the database? According ... copy with the Doctor. With this arrangement you should find issues when they start (in that case ... is a pain, everytime we start it it connects directly to the database and then we have the access error

Unexpected NoSuchFieldError exception

) java.lang.NoSuchFieldError: __odbTracker 3) Attempt to start a transaction ... above: transaction is active. So, for some reason, I'm getting these 3 errors repeatedly. David   ... .AbstractCallSite.call(AbstractCallSite.java:133) at app.AuServerRedis$_ start _heartbeat_closure2.doCall

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

retrieval again and again started

retrieval again and again started

Application not starting after enhancement

Application not starting after enhancement

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

Intermittent Server Shutdowns Due to Out of Memory (OOM) Issues

: 32GB ( ) Other settings: Stated below Problem Description : The ObjectDB server starts normally but gets terminated intermittently. The dmesg log indicates that the process is killed by the OOM Killer ... the server is started . I have already tried reducing the processing cache and monitoring system resource

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

ObjectDB within a resource adapter module and Java EE Connector Architecture

database file name. Under http://www.objectdb.com/java/jpa/ start /connection it is explained ... default at least gets written respectively to: .../SpecWeb1/build/web/WEB-INF/db/samename.odb .../SpecWeb2

WebSphere Liberty Configuration

file. When liberty starts up I do get this error: [ERROR ] CWWJP0015E: An error occurred in the com ... for getting the fix out there so quickly!   -Aaron aobrien Aaron OBrien Thanks for the update

Indexing a field results in internal Exception

) It might take a while to prepare a test case as it's a large codebase, but I'll get started ,   As for why JDO. I have long been a fan of JDO as it's a hugely easer API and gets work done with a lot less metadata. 

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 

jakarta.persistence.Embedded

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

jakarta.persistence.EntityTransaction

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

Step 3: Add a Context Listener Class

if not existing yet) when the web application starts , by instantiating an EntityManagerFactory ... an application scope attribute in the servlet context - when the web application starts

Step 1: Create a Maven Web Project

We start by creating a new Maven-WTP dynamic web project in Eclipse: Open the [New Project] dialog box, e.g. by using  File New Project... Select  Maven Maven Project and click  ... -plugin 6.1.10 10 foo 9999 start -jetty pre-integration-test run 0 true stop-jetty post-integration-test

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g. by using File New Project... Select Maven Maven Web Application and click Next . Choose a Project ... ;               start -jetty    

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ). The name of the Main class should be tutorial.Main . Verify that exactly this case sensitive fully

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project] dialog box, e.g. by using File New Project... Select Web Dynamic Web Project and click Next . Choose a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target

Negative snapshot user count exception

shows up a number of times, and today at 10:14 AM PDT we started getting the mismatch client-server ... new database pages). Could you please provide more details? Particularly, when did this start ... a link in a private support ticket) we can try getting some hint. support Support On our Dev server

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

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

I'm getting the ClassCastException below when querying objects. As yet I haven't been able ... on attempts to recreate - but presumably at some point an object gets saved which objectdb doesn't like. Any ... ) and either start with a clean database or fix this database by running the Doctor in repair mode

ArrayIndexOutOfBoundException

to the "processing cache", increasing it to 256mb may result in getting these exception less often, and on the other hand, decreasing it to 8mb may result in getting these exception ... ) at ysoft.sqpro.queue.SecuredPrintQue.run(SecuredPrintQue.java:350) and later after new start : [2013

Server NPE

I'm getting the following NPE when attempting to persist an object to a server based database: [2011-11-13 09:11:47 #11 server] java.lang.NullPointerException at com.objectdb.o.UTT.z(UTT.java:311 ... . When the first service starts it registers types with object db - this would either be the object