Internal Website Search

101-150 of 200 results

Feedback on new site

Font size on new site is huge! This is especially a problem when browsing the api.   dmoshal David Moshal Difficult to find info on ODB1, including api javadocs. dmoshal David Moshal Thank you for your useful comments. The ObjectDB 1 manual is available here . You can use the JDO menu

New Tutorial: Using BIRT with ObjectDB/JPA

Version 2.2.7 of ObjectDB added support of report generation using the popular open source Business Intelligence and Reporting Tools (BIRT). The new   Report Generation with BIRT and JPA  tutorial provides step by step instructions on how to use BIRT to produce reports based on data

Adding new unique columns

What is the best practice for when you need to add a new unique column to an existing database? Simply adding the column with the @Unique annotation will result in "Attempt to reuse an existing value (null)", so the only option I can surmise is to add the column, update all existing entries

How to start a objectdb server with new Daemon (without blocking the thread)??

How to start a objectdb server with new Daemon (without blocking the thread)??

"Unsupported auto value type java.lang.String" when persisting new instance

"Unsupported auto value type java.lang.String" when persisting new instance

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. Our solution is that we create a seperate product (we call it ProfileMigration) for each new

New Java 8 (JDK 1.8) Collection Methods

ObjectDB version 2.5.5 (and above) supports Java 8 (JDK 1.8). Tracking changes to collections and maps using some new Java 8 methods is currently not fully supported. The main known issue ... (which becomes an orphan) using the new methods:  removeIf(predicate) and remove(key, value). support Support

Email notification about new build

Just a quick thought. It would be nice to get email notification about new builds. If a new build resolves a problem that I'm not subscribed for, I don't know about it until i check ODB page :) lwalkowski Lukasz Walkowski

new database error

Exception in thread "main" [ObjectDB 2.7.3] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_31 (on Windows 8.1 6.3). Please report this error on http://www.objectdb.com/database/issue/ new com.objectdb.o.InternalException: com.objectdb.o.UserException: Failed

New issues with queries using build 2.7.8

(although it does solve this reported bug). A new build will be released soon. support Support Please check

500 Internal Server Error on creating a new issue

Hi, we tried (several times) to create a new issue but we receive a message: hgzwicker Hans-Georg Zwicker Thank you for this report. The error seems to be related to uploading a file (according to the website log), but unfortunately we couldn't repeat the error. Please report again if it reoccurs

UPDATE query cannot set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save

Generating new activation code gives 500 server error

Trying to generate a new activation code using our site license key gives a 500 error every time. Code generated using version 2.7.4_04 and openjdk 1.8.0_171. spiffy Jonathan Harley There was a problem, thank you for this report. Please try again now. support Support

Generating new activation code gives 500 server error

Generating new activation code gives 500 server error

JPA Entity Fields

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

Server Configuration

on which the server is listening for new connections. Usually the default port 6136 should be specified

Database Replication and Clustering

, under the server data root directory. Starting a new replication of an existing master database

Detached Entity Objects

object yet a new managed entity object is constructed. The detached object itself, however, remains

Logical Operators in JPQL and Criteria API

that take two Expression operands (including Predicate instances) and return a new Predicate instance

Is ObjectDB better than Object Relational Mapping (ORM)?

As noted above, using ObjectDB instead of a relational database and ORM combination is easier and leads to better performance. ORM tools, however, are very useful where the use of a relational database is mandatory (e.g. as a result of a customer request or when a new application

JPA Query API

Queries are represented in JPA 2 by two interfaces - the old Query interface, which was the only interface available for representing queries in JPA 1, and the new TypedQuery interface that was introduced in JPA 2. The TypedQuery interface extends the Query interface. In JPA 2 the Query interface

CRUD Database Operations with JPA

Given an EntityManager , em , that represents a JPA connection to the object database, we can use it to store, retrieve, update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Point  objects in the database: em. getTransaction (). begin

Running JPA Queries

. If, however, the new TypedQuery interface is used - casting is unnecessary and the warning is avoided

Criteria Query Selection and Results

;for more details and examples. Query Results as Tuples JPA 2 introduces a new way to represent

Chapter 6 - Configuration

"); // new $objectdb As with any other system property it can also be set as an argument to the JVM

Posting Sample Code

.getTransaction().begin();         MyEntity e = new MyEntity("test

Paths and Types in JPQL and Criteria API

the equivalent JOIN query. Entity Type Expressions The TYPE operator (which is new in JPA 2) returns the type

Updating JPA Entity Objects

. getTransaction (). begin (); employee.projects[0] = new Project(); // not detected automatically

Server User List

of a database. create - permission to create new subdirectories and database files. delete - permission

JPA Exceptions

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

JPA Primary Key

is a sequential 64 bit number ( long ) that is set automatically by ObjectDB for every new entity object

javax.persistence.EntityManager

). Parameters: name - the name of a query defined in metadata Return: the new query instance Throws ... metadata resultClass - the type of the query result Return: the new query instance Throws ... to the stored procedure query in metadata Return: the new stored procedure query instance Throws

javax.persistence.EntityManagerFactory

() Create a new application-managed EntityManager . This method returns a new EntityManager instance ... Since: JPA 1.0 EntityManager createEntityManager (Map map) Create a new application-managed EntityManager with the specified Map of properties. This method returns a new EntityManager instance each

Step 4: Run the Application

, a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation

JPA Web App Tutorial - Maven Project

The  JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but if you prefer

Spring MVC JPA Tutorial - IntelliJ Project

IDEA: Select the new run configuration at the toolbar and click the green run icon (or  Shift

Java EE JPA Tutorial - Maven Project

The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but 

Step 4: Run the Application

) When you run the application for the first time, a new ObjectDB database file is generated in the db sub

Step 3: Add a Main Class

a database connection // (create a new database if it doesn't exist yet): EntityManagerFactory emf

Step 5: Design a BIRT Report Chart

In this step we will add a simple chart to the report: Open the [ New Chart] dialog box by dragging a  Chart from the [Palette] window and dropping it on the report design (.rptdesign) layout. In the [Select Chart Type] tab select Tube as the chart type and click Next . In the [Select Data

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but if you prefer, you may download and run the result

Getting Started with JPA

, you should be able to follow this tutorial easily, even if you are completely new to JPA. This tutorial

Spring MVC JPA Tutorial - Maven Project

The  Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but if you prefer

JPA Web App Tutorial - IntelliJ Project

the Configurations dialog box. Run the project in IntelliJ IDEA: Select the new run configuration

Java EE 6 JPA Tutorial - IntelliJ Project

dialog box. Run the project in IntelliJ IDEA: Select the new run configuration at the toolbar

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new applications. You can use JPA as

javax.jdo.spi.StateManager

- the field number currentValue - the current value of the field Return: the new value for the field ... field - the field number currentValue - the current value of the field Return: the new value ... instance field - the field number currentValue - the current value of the field Return: the new value

javax.jdo.PersistenceManager

void flush () Flushes all dirty, new , and deleted instances to the data store. It has no effect ... the PersistenceManager scope, return it. If not, create and populate a new FetchGroup from the existing ... , it assigns an object identity to the instance and transitions it to persistent- new . Any transient

javax.jdo.spi.JDOImplHelper

( StateInterrogation  si) Add a StateInterrogation to the list. Create a new list in case ... ; StateManager  sm) Create a new instance of the class and assign its jdoStateManager . The new instance ... - the StateManager which will own the new instance. Return: the new instance, or null if the class is not

javax.jdo.spi.PersistenceCapable

, transactional, dirty, new , deleted, or detached; and to get its associated PersistenceManager ... PersistenceCapable jdoNewInstance ( StateManager  sm) Return a new instance of this class ... a performance optimization as an alternative to using reflection to construct a new instance. It is used