ObjectDB Database Search

151-200 of 200 results

Problem with log file in an embedded db with netbeans platform application

Hello, I'm starting a new desktop application built with netbeans platform 7 and objectdb/JPA as ... , but running the netbeans platform application that use the same domain class library an error occurs that crash the application . This is part of the stack trace: java.io.FileNotFoundException: file:\C:\Users

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans/JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

How to use ObjectDB properly in spring boot application?

I have a spring boot application with objectdb embedded database. I am manually handling ... in order to properly close connections. I want to refactore my application so that database ... ; very simple spring boot sample application  with: spring-boot-starter-data-jpa Objectdb

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

Hi,  Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help ... application and we need to decide if we are going to purchase it very soon. Many Thanks   Persistence

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue ... - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer ... ObjectDB in embedded mode? Apparently undeploying a web application from GlassFish doesn't close

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single ... a Netbeans web application build.xml works for an entire build:        

Can I use the objectDB in android application?

I'm interesting in the ObjectDB, and I want to know if it passiable run at the android application . The ObjectDB does not support other program language , but can the export an relational database models and data,when they have to change. wamdy wamdy Android is currently not supported

Rename Application StringIdentity

I don't think JDO supports altering an entity's Application Identity.  Does ObjectDB? @PersistenceCapable public class MyClass implements Serializable, Cloneable{ @Id private StringIdentity id; ... }   PersistenceManager persistenceManager = ...; Transaction transaction

Refresh data in application after database data has changed

Hi, I have a Java program that can manage and create some Person objects. When I start my application and I want to add a person with the same national number as a person already in the database, my program has to block the creation. So far so good. Now... I have a person in my database

internal object DB locking in an embedded multi threaded application

Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked

multi thread application, id field sporadically null

We are testing objectDB with a multi thread application . Each thread has it's own entityManager created from a common factory. In one thread we receive sometimes an object from the database with the field that is declared as @Id having the value null (what is not correct, we checked

server.exe on 32bit and 64bit Windows

Is the server .exe compatible to start the objectdb server on Windows 64bit OS?  Or 32bit ... was to create a .bat file with the following command: "C:\Program Files\Java\jdk1.7.0\bin\java" - server -Xms16M -Xmx256M -cp "objectdb.jar" com.objectdb. Server start   The OS is Windows Server 2008

How to access database object to my application.

How to access database object to my application.

The server cannot start in CentOS

.objectdb. Server start The result is attached. After typing the command, the system seems halting. gzdillon Lai Yang Actually your attached screenshot shows that the server has been started successfully. If you want to start it in the background, try: java -cp objectdb.jar com.objectdb. Server start &  

client server mod of communication

Hi,    I want to use in client Server mode one is client and another in server mode. Assume that one server is there and 'n' number of clients are there each client wants to communicate with server , in client server mode.    1)EntityManagerFactory emf = Persistence

Objectdb server out of heap space

I have had a server crash with the following stack trace: java.lang.OutOfMemoryError: Java heap ... (Thread.java:722) I don't understand why this should happen - a server process has full control ... ; sjzlondon Steve Zara  a server process has full control of its resources, and so should never end

lockfiles in client/server mode

i have an objectdb server running on localhost as user "objectdb", spawned like so: java - server -cp /usr/local/share/objectdb/objectdb.jar: com.objectdb. Server -conf /etc/objectdb/objectdb.conf ... naturally cannot do this on the same machine where the objectdb server has done it. a persistence unit

Online Backup in client-server mode

Hello, we have issue with online-backup when using client- server mode. It seems, that it is working the following way. When we run the backup, server is creating tmp file for whole database ... . Can it be improved? In my opinion the server proces should handle whole backup proces and do it as

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/ server connection. I ... file.  The connection using the server url fails the ping test.  I get (Failed to connect to server localhost:6136) Nothing made it to the log. The following is my setup: Dev Versions:  

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application , ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

JPA Query Structure (JPQL / Criteria)

and easier to use in Java applications . JPQL Query Structure Like SQL, a JPQL SELECT query consists

JPA Criteria Query Date/Time Extraction

, and  java.sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable

SQL Queries Annotations

Jakarta Persistence (JPA) provides a set of annotations to define and map native SQL queries when the standard Java Persistence Query Language (JPQL) is insufficient. While ObjectDB focuses on JPQL and ignores these annotations, they remain essential for applications interacting with relational

JPA Container Injection Annotations

Jakarta Persistence (JPA) provides standard annotations to manage dependencies on container-managed persistence resources in both Jakarta EE and Spring Framework environments. They enable the container to inject EntityManager or EntityManagerFactory proxies directly into application components

Query Parameters in JPA

the application to JPQL injection attacks. For example, suppose the name parameter is received as user input

Chapter 2 - JPA Entity Classes

An entity class is a user-defined class whose instances can be stored in a database. To store data in an ObjectDB database using Jakarta Persistence (JPA), you define entity classes that represent your application's data object model. This chapter contains the following sections:

ObjectDB 2.9 Developer's Guide

Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure Demonstrates basic database

Is ObjectDB a NoSQL Database?

). Therefore, ObjectDB can be used in applications that cannot use conventional non ACID NoSQL databases because of a requirement for a very high level of consistency.

JPA Criteria Query Selection and Results

( CriteriaBuilder.array ), application defined result classes  ( CriteriaBuilder.construct ), and tuples

Chapter 6 - Configuration

subdirectory. However, moving objectdb.jar changes the value of $objectdb . For example, in a web application

Entity Management Settings

their persistent content lazily when they are accessed can improve performance. However, for some applications

Posting Sample Code

/ embeddable classes. Avoid dependency on external libraries . Use a console application with a main

Managing JPA Entities

. Therefore, when a managed entity is no longer in use by the application , the garbage collector

JPA Optimistic and Pessimistic Locking

locking should be the first choice for most applications because, compared to pessimistic locking

JPA Exceptions

Jakarta Persistence (JPA) defines a hierarchy of unchecked exceptions rooted in PersistenceException to handle runtime failures. This structure enables applications to catch specific errors or manage broad persistence issues by using the base class. The exception hierarchy is as follows

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

. application .view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) at com.sun.faces. application .view.MultiViewHandler.renderView(MultiViewHandler.java:131) at javax.faces. application .ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) at com.sun.faces.lifecycle

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section. support Support The following web tutorials are now available: JPA Web Application in Eclipse JPA Web Application in NetBeans Java EE 6 (J2EE) in Eclipse Java EE 6 (J2EE) in NetBeans support Support

Application not starting after enhancement

I added the class enhancer to my build script and I get the expected output of a list with the enhanced classes. Now if I try to deploy my created application I get the following error: Caused by: java.lang.AbstractMethodError: Receiver class org.test.app.base.models.Data does not define or

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server

ObjectDB Server not able to handle large collections

client- server mode. Using objectdb version 2.8.8.b05 When switched to embedded mode, the migration ... ;   at eu.extech.communication. server .RequestContext.forkAndRun(RequestContext.java:82)     ... .java:343)         at eu.extech. server .BasicJacORBServerLauncher.launchServer

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 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 Name (e.g. Guestbook ) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring

Step 3: Define a Spring DAO Component

the application to the Spring Framework. For instance, in this example the Spring container: Manages

Step 4: Add a Controller Class

" and its value is guestDao ). The next step is adding a JSP page that will serve as the application view and will produce the guestbook page output.

Step 3: Define a Spring DAO Component

the application to the Spring Framework. For instance, in this example the Spring container: Manages

Step 5: Add a JSP Page

replace the content of the new jsp file with the following content: JPA Guestbook Web Application

Getting Started with JPA - Eclipse Project

Eclipse: Right click the project node and select Run As Java Application . Select Main - point and click OK .

Step 4: Add a Servlet Class

on every http request: The EntityManagerFactory is retrieved from the application scope attribute

[ODB1] Chapter 3 - Persistent Classes

for ArrayList ). Portable JDO applications , however, should only store instances of user defined persistent