ObjectDB Database Search

151-200 of 200 results

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications ? What we would like ... have experience with this. thanks peric.emil Emil Perić If you can run all these 3 applications on your web ... (because there is only one process). If your applications run in separate processes and need to access

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 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

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook

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

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

Setting and Tuning of JPA Queries

. The application can change the default mode at the EntityManager level, which applies to all queries 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

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

ObjectDB License

and/or cloud hosting companies (including shared web hosting and VPS), if the hosted applications

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

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

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 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

jakarta.persistence.PersistenceUnitUtil

: PersistenceUtil Utility interface between the application and the persistence provider managing ... is found not to be an entity. Since: Jakarta Persistence (JPA) 1 .0 Object getVersion ( Object entity ... Persistence (JPA) 1 .0 boolean isLoaded ( E entity , Attribute attribute ) Determine the load state of a given

jakarta.persistence.ColumnResult

the name of a column in the SELECT list — i.e., column alias, if applicable . Scalar result types ... NamedNativeQuery ConstructorResult Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String ... (JPA) 1 .0 Class type (Optional) The Java type to which the column type is to be mapped. If the type

jakarta.persistence.FieldResult

") }) }) See Also: EntityResult SqlResultSetMapping Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1 .0 String column Name of the column in the SELECT clause - i.e., column aliases, if applicable . Since: Jakarta

jakarta.persistence.criteria.JoinType

. Applications which make use of right joins might not be portable between providers or between SQL databases ... (JPA) 1 .0 LEFT Left outer join. Since: Jakarta Persistence (JPA) 1 .0 RIGHT Right outer join. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf(String) Additional JDK

jakarta.persistence.Parameter

parameter or no name has been assigned. Returns: parameter name. Since: Jakarta Persistence (JPA) 1 .0 ... only. Applications that use this method for Jakarta Persistence query language queries and native queries will not ... support this usage. Since: Jakarta Persistence (JPA) 1 .0 Integer getPosition () Return the parameter

jakarta.persistence.PersistenceUtil

the application and the persistence provider(s). The PersistenceUtil interface instance obtained ... Persistence (JPA) 1 .0 boolean isLoaded ( Object entity ) Determine the load state of an entity ... : false if the entity has not been loaded, else true. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.Lob

should be persisted as a large object to a database-native large object (LOB) type. Portable applications should use ... it defaults to CLOB ; for all other types it defaults to BLOB . Example 1 : @Lob @Basic(fetch = LAZY ... ElementCollection Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements This is a marker annotation

jakarta.persistence.EntityManager.getReference(Class,Object)

the EntityNotFoundException when getReference() is called.) This operation allows the application to create an association to an entity without loading its state from the database. The application should not expect the instance state to be available upon detachment, unless it was accessed by the application

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

Step 4: Add a Servlet Class

is retrieved from the application scope attribute, and then an EntityManager (representing a database

JPA Web App Tutorial - NetBeans Project

To open and run the  JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select  File Open Project... . Select the  guestbook-web directory and click  Open

Java EE 6 JPA Tutorial - Eclipse Project

To open and run the Java EE 6 Web Application tutorial project in Eclipse: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in Eclipse: Select  File Import... Maven Existing Maven Projects and click  Next . Select

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.

Java EE 6 JPA Tutorial - NetBeans Project

To open and run the  Java EE 6 Web Application tutorial project in NetBeans: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in NetBeans: Select  File Open Project... . Select the  guestbook-jee6 directory

Step 3: Define a Spring DAO Component

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

JPA Web App Tutorial - Eclipse Project

To open and run the  JPA Web Application tutorial project in Eclipse: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in Eclipse: Select  File Import... Maven Existing Maven Projects and click  Next . Select the 

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

Spring MVC JPA Tutorial - NetBeans Project

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