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

Storing a tree of data (depth=3)

Storing a tree of data (depth=3)

Database crash

; ------------------------------------------------------------------------------------------------------------------------ [2017-07-10 11:22:12 #1 store ... server] Server on port 3333 has started by 10380@wzbhb101 [2017-07-10 23:06:55 #3 store ] Database ... -07-10 23:07:23 #1 store ] Database 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' is opened by 11028

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

Obtaining a JPA Database Connection

an EntityTransaction Operations that modify database content, such as store , update, and delete

ObjectDB 2.9 Developer's Guide

to store , retrieve, update and delete database objects.        

Database Connection using JPA

); EntityTransaction Operations that affect the content of the database ( store , update, delete

JPA Metamodel API

. This includes all the types whose instances are already stored in the database. Three additional

JPA Persistence Unit

classes become known to ObjectDB, for example when a first instance of the class is stored in the database.

Locking in JPA

object. The initial version of a new entity object (when it is stored in the database for the first

ObjectDB Overview

-Server mode and Embedded mode. Single JAR with no external dependencies. Database is stored as

JPA Exceptions

because of an attempt to store a new entity object with a primary key that is already in use by another existing

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

javax.persistence.EntityManager

of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. If the stored procedure returns one or more result sets ... to the stored procedure query in metadata Return: the new stored procedure query instance Throws

javax.persistence.NamedStoredProcedureQuery

and names a stored procedure, its parameters, and its result type. The NamedStoredProcedureQuery ... is the name of the stored procedure in the database. The parameters of the stored procedure ... the parameter list of the stored procedure. The resultClasses element refers to the class (or

EntityManager.createStoredProcedureQuery(procedureName,resultSetMappings) - JPA Method

an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. The resultSetMapping arguments must be specified in the order in which the result sets will be returned by the stored procedure invocation

Java EE Web Tutorial

is represented by a  Guest entity object and all the  Guest entity objects are stored in an ObjectDB

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

entity objects are stored in an ObjectDB database. Required Software For this tutorial you will need

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

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

Eclipse/JPA Java EE Tutorial

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

Eclipse/JPA Web Application Tutorial

and all the Guest entity objects are stored in an ObjectDB database. Required Software

JPA Web Application Tutorial

by a  Guest entity object and all the  Guest entity objects are stored in an ObjectDB

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 entity objects, where each  Point has two persistent fields -  x and  y . If you already know JPA - the source code

NetBeans/JPA Java EE Tutorial

the guestbook is represented by a Guest entity object and all the Guest entity objects are stored in

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 entity objects, 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

javax.jdo.PersistenceManagerFactory

. PersistenceManagerFactory instances may be configured and serialized for later use. They may be stored via JNDI ... for the data store connection. Return: the driver name for the data store connection. Since: JDO 1.0 Object getConnectionFactory () Get the data store connection factory. Return: the data store

javax.jdo.PersistenceManager

;pc) Delete the persistent instance from the data store . This method must be called in an active transaction. The data store object will be removed at commit. Unlike makePersistent , which makes the closure of the instance persistent, the closure of the instance is not deleted from the data store

javax.jdo.JDOHelper

instance with the same data store identity. If the JDO identity is managed by the application ... the PersistenceCapable class. If the JDO identity is not managed by the application or the data store ... on the properties stored in the file at propsFile . This method is equivalent to invoking