ObjectDB Database Search

51-100 of 200 results

How to store and compare Date up to sec.

How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23:112 AM" means date and timestamp including milisec but  I want to store till sec("23 May, 2020 10:25:23 AM") like MySql and other db. They  stores the date up to sec. Manoj Manoj

Why are my Map entries not stored?

Why are my values of the map "states" not stored in the database? It seems the 'State' is stored ... ; 'Authority' (value) is stored (I see entries in the Explorer), but there seems to miss the connection ... @MappedBy: In that case the map content will be stored embedded in the Ticket instances and no 

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported? joelc Joel i use odb to store images, in a complex, persistent uml model based on Eclipse EMF/UML2. to persist the images, i just store an array of bytes (byte[]) representing the encoded images

Storing XML files in ObjectDB

Hello, Is it possible to store XML files in ObjectDB?   Thanks st.clair.clarke St Clair Clarke ObjectDB can be used to store any type of data including XML. For example, you can define a generic Element entity and store the XML as a tree of Element nodes. Another option is to define an entity

First query before any of the object has been stored

object is different from what's already stored .  The problem is that, before any instances of that object have been stored , the query generates an exception.  I'd been expecting  ... if any of an object has been stored yet? jshaffstall Jay Shaffstall The query fails

stored procedure in ObjectDB

Hi,     Does ObjectDB support " stored procedure"?     Some frequent ... Yang No stored procedures in ObjectDB. JPA (or JDO) lifecycle events can be used as a replacement ... overhead (no additional round trips), and JPA lifecycle events (unlike stored procedures) are portable

Class fields selection to store

In a class how do I define which are the fields to be stored ? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store one of the fields should I do the following? Which are the value used for fields that I do not want to store

Attempt to store an instance of a non persistable type java.net.URL

can rewrite this to simply check whether it is a valid URL $url string and storing it. I can return getURL also as transient to keep my public contract. But it would be nice to have URLs stored directly.  

How to configure where the ODB is stored?

Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database file is stored . I need to know where it is so I can inspect it with 'database explorer'. The docs say ... it. So, where is this file stored ??? Also, the contents of the DB don't seem to be persisted between AppServer

Unable to store AtomicInteger

to store an instance of a non persistable type java.util.concurrent.atomic.AtomicInteger I am using ... is to store an int then from the entity call an extra setup function in @PostLoad

Attempt to store an instance of a non persistable type

: Attempt to store an instance of a non persistable type technology.tavla.common.device.data.log.v2 ... : Attempt to store an instance of a non persistable type technology.tavla.common.device.data.log.v2

Storing methods?

I don't think ObjectDB does this, but I want to ask to make sure: are methods stored in the database along with data?  Thanks. lsitongia Leonard Sitongia No, methods are not stored in the database. Therefore, if in client-server mode user defined methods are in use in queries (supported by

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields . The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM

Storing objects problem

Storing objects problem

Wrong data stored in date only fileds

Wrong data stored in date only fileds

Storing Images and Object Pooling

Storing Images and Object Pooling

JPA Metamodel Attributes

stored within the collection. An enumeration defining the specific type of collection interface used

JPA Queries

because it eliminates the need for casting results. Controls the execution of stored procedures (not applicable

Privacy Policy

to track the activity on Our Service and store certain information. Tracking technologies used

ObjectDB - JPA Object Database for Java

  Boost your application database performance. Database performance is critical as it is the bottleneck in most applications. ObjectDB is extremely fast and much faster than any other JPA solution. Using a relational database management system (RDBMS) to store and retrieve Java objects

JPA Core Types

for entities within the persistence unit. This determines which entities are stored in the second-level

Obtaining a JPA Database Connection

that modify database content, such as storing , updating, and deleting entities, must be performed

ObjectDB 2.9 Developer's Guide

ObjectDB. hows how to use JPA to store , retrieve, update and delete database objects. Explains

JPA Connections and Transactions

the database (such as storing , updating, or deleting data) must be performed within an active transaction

JPA Metamodel API

all types whose instances are already stored in the database. Three additional methods retrieve

Updating JPA Entities

all entities that need to be stored , including all modified entities. Therefore, entities

JPA Components Annotations

(primary key) and their own lifecycle. Marks the class as embeddable. Instances are stored as

JPA Persistence Unit

queries are available only after their containing classes become known to ObjectDB—for example, when the first instance of a class is stored in the database.

JPA Optimistic and Pessimistic Locking

entity is 1 when it is first stored in the database. In every transaction where an entity 

ObjectDB Overview

mode and Embedded mode. Single JAR with no external dependencies. Database is stored as a single file

jakarta.persistence.AttributeConverter

Public Instance Methods Y convertToDatabaseColumn ( X attribute ) Converts the value stored in the entity attribute into the data representation to be stored in the database. Parameters: attribute - the entity attribute value to be converted Returns: the converted data to be stored in the database

jakarta.persistence.StoredProcedureQuery

: Query Interface used to control stored procedure query execution. Stored procedure query execution ... of all required IN and INOUT parameters. It is not required to set the values of stored procedure parameters for which default values have been defined by the stored procedure. When getResultList

jakarta.persistence.ParameterMode

Specifies the mode of a parameter of a stored procedure query. See Also: StoredProcedureQuery StoredProcedureParameter Since: Jakarta Persistence (JPA) 2.1 Enum Constants IN Stored procedure input parameter Since: Jakarta Persistence (JPA) 1.0 INOUT Stored procedure input/output parameter

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

whether it is a valid URL $url string and storing it. I can return getURL also as transient to keep my public contract. But it would be nice to have URLs stored directly.       webel Dr

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Entity Class ... (or New Other... Persistence Entity Class and clicking Next ). Enter

Java EE Web Tutorial

is represented by a  Guest entity and all the  Guest entities are stored in an ObjectDB database

Step 4: Run the Application

the existing database file to store an additional 1000 objects. You can view the content of the database file

NetBeans/JPA Spring MVC Web Tutorial

are stored in an ObjectDB database. Required Software For this tutorial you will need the following

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click the project node (in the [Package Explorer] window), select  New Source Folder , enter src/main/java as Folder Name and click Finish . Open the [New Java Class] dialog box, e.g. by

Step 4: Add a Controller Class

is constructed and stored in the database. Processing is forwarded to a JSP page

Eclipse/JPA Java EE Tutorial

by a Guest entity and all the Guest entities are stored in an ObjectDB database. Required Software

Eclipse/JPA Web Application Tutorial

and all the Guest entities are stored in an ObjectDB database. Required Software For this tutorial

JPA Web Application Tutorial

by a  Guest entity and all the  Guest entities are stored in an ObjectDB database

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting  New Entity Class ... (or  New Other... Persistence Entity Class and clicking

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window) and selecting New Class . Enter guest as the package name - use exactly that case sensitive package

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple  Point entities, where each  Point has two persistent fields -  x and  y . If you already know JPA - the source code will be straightforward

NetBeans/JPA Java EE Tutorial

the guestbook is represented by a Guest entity and all the Guest entities are stored in an ObjectDB database

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name

Getting Started with JPA and NetBeans

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

[ODB1] Chapter 1 - About ObjectDB

). ObjectDB is Very Fast ObjectDB has very good performance. It can store and retrieve thousands