ObjectDB Database Search

101-150 of 200 results

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application , I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web ... because they are cloud hosting,  Pay as You Go (PAYG) . - Which IDE and Application Server do you prefer

Does ObjectDB create one instance of each entity class on (web app) load ?

a large web app with the NetBeans 8.2 Profiler. I can see that exactly one instance of each entity is present in memory, at web app startup, before I've loaded anything, and they won't garbage collect ... to the EntityManager metamodel for caching some oft-used information in an application -wide

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

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! I've been developing a GwT application as a project for my computer science ... the cars to rent and needs to ask for some of them to point B or point C. So GWT application of point ... and application . I've learnt that with Spring it's possible to create REST services to access

Database server with an application

Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting

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

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

How to connect to an embedded ObjectDB in a JPA/JEE application?

It is easy to change the properties in persistence.xml file to connect to an ObjectDB server. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application through changing persistence.xml file. Can any one please help ? buddhika75 M H B Ariyaratne Just replace

Access to client/server database from multiple applications

Is there a preferred way to run a client-server database so that updates from one application are immediately visible to another? The way I managed this was to run PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure that a query on MyClass would contain updated

Integrating the ObjectDB logging into the application logging based on slf4j

We would like to write the logs of ObjectDB with into the log of our application . What do you use for logging? With or without slf4j and if so, what concrete implementation? Do you see a way to combine your logging with our logging? btc_es BTC EmbeddedSystems The ObjectDB logging is based

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

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

Problem upgrading

Hello! We are trying to upgrade from 2.6.3 to 2.6.6. Now our application throws an exception. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web ... :1.3.0.RELEASE] at org.springframework. web .filter.OncePerRequestFilter.doFilter(OncePerRequestFilter

How to access database object to my application.

How to access database object to my application.

Evaluating ObjectDB for SaaS Application

Evaluating ObjectDB for SaaS Application

jakarta.persistence.EntityManager

to the associated persistence unit. An application -managed EntityManager may be created ... the EntityTransaction obtained by calling getTransaction . A complete idiom for custom application ... . Since: Jakarta Persistence (JPA) 1.0 void close () Close an application -managed entity manager

jakarta.persistence.EntityManagerFactory

the application , and which must be colocated in their mapping to a single database. If two entity types ... . An EntityManagerFactory with a lifecycle managed by the application may be created using the static operations ... @PersistenceUnit(unitName="orderMgt") EntityManagerFactory entityManagerFactory; An application

Database Management Settings

is appropriate for most applications . The element When recovery is enabled, ObjectDB creates a recovery file

Setting and Tuning of JPA Queries

. The application can change the default mode at the EntityManager level, which applies to all queries in

Storing JPA Entities

of the same transaction. The application is responsible for ensuring that when an object is stored in

JPA Named Queries Annotations

of the ObjectDB Manual. Query references Access named queries in the application by name or by using

Database Replication and Clustering

( | ). Typically, the application uses only the first URL, which is the master database in

Auto Generated Values

is global to the application and can be used by multiple fields across different classes. Specify

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

Database Schema Evolution

() if necessary). From String to numeric types, including enum types (when applicable ). From any date/time type

Chapter 2 - JPA Entity Classes

Entity class is a user-defined class whose instances can be stored in a database. To store data in an ObjectDB database by 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

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

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

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 3: Define a Spring DAO Component

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

Step 3: Define a Spring DAO Component

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

Getting Started with JPA - Eclipse Project

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

Spring MVC JPA Tutorial - NetBeans Project

Tomcat as a server and click  OK . Note: To run the application on GlassFish - change