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

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

Pessimestic Locking doesn't release when application unexpectedly terminates.

Pessimestic Locking doesn't release when application unexpectedly terminates.

Embedding ObjectDB on server application

Embedding ObjectDB on server application

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

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

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

How find out ObjectDB version at runtime (in a web app)

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/ web / WEB -INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy

Your Glassfish example on the web

Hi, I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java EE JPA (Glassfish) with Netbeans". When I try to run the example and add an entry in the guestbook, it throws this exception: com.objectdb.o._PersistenceException: Attempt to obtain a connection from

Pre-detach loading: retrieval by navigation not working in if statement

: objectdb.temp.no-detach NOT USED This problems only seems to occur in my large web application ... web application parallel to the large web application , but the problem does not happen in the smaller web application (as I will demonstrate below), so there is no point making that available

Database Management Settings

of a page in a database file. The default 2KB is appropriate for most applications . The element

Setting and Tuning of JPA Queries

the default is COMMIT (which is more efficient). The default mode can be changed by the application

Strings in JPQL and Criteria Queries

order to support optional arguments and when applicable simple Java objects as well as criteria expressions.

Auto Generated Values

is 50). A sequence is global to the application and can be used by one or more fields in one or

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 Annotations for Java EE

The following JPA annotations are in use to integrate JPA into a Java EE application and are managed by the Java EE container:

Query Parameters in JPA

, embedding strings in queries is unsafe and can expose the application to JPQL injection attacks. Suppose

Database Schema Evolution

(when applicable ). From any date type to any date type. From any collection or array type to any

Chapter 2 - JPA Entity Classes

JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes.  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

Deleting JPA Entity Objects

may continue recursively when applicable (e.g. to entity objects that the Address object references

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.

Entity Management Settings

, could improve performance. However, for some applications disabling this ability could be more efficient

Posting Sample Code

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

JPA Persistence Unit

the persistence.xml file (if it is packed) are registered automatically. If the application is not

Working with JPA Entity Objects

entity object is no longer in use by the application the garbage collector can discard

Locking in JPA

automatic. Optimistic locking should be the first choice for most applications , since compared

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

InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo

the standard XML mapping format, be uniquely named and be resource-loadable from the application classpath ... PersistenceUnitInfo.getClassLoader . None of the classes loaded by this class loader are visible to application ... is rooted in the WEB -INF/classes directory, this is the URL of that directory.) The URL

Minor typo on web page...

Minor typo on web page...

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