ObjectDB Database Search

51-100 of 200 results

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

When using inheritance throw exception java.lang.NoSuchFieldError: __odbTracker on NetBeans 7. 3 ... () { return "test.AbstractObject[ id=" + id + " ]"; } } This code throw exception: Person person ... ) if remove the inheritance works fine. On GlassFish 3 .1 with inheritance also works fine. Why "person

Explorer in 2.3

servers, it may be faster for local files. 3 . On the Query page, please add a checkbox to request ... evaluation. For me, #1, #2 and # 3 would be the most important. Also, I've found some small bugs: 1 ... a very large array in the debugger). This will limit retrieval to open branches in the tree. 3

Source not found error after downloading ObjectDB 2.3.7_04

Code snippet: Properties prop = new Properties(); prop.setProperty("javax.jdo ... am trying to debug code snippet mentioned above in Eclipse it asks me to provide source code at debug ... any PMF.java class.   For setup I downloaded the ObjectDB zip file. Placed it in source code

Glassfish 3.1.2.1 and ObjectDB 2.4.3

- The requested resource () is not available. I tried it on Glassfish server 3 .1.2 and 3 .1.2.2. Sometimes I ... INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3 .1.2 (build 23) INFO: Grizzly ... ) at org.glassfish.hk2.classmodel.reflect.Parser$ 3 .call(Parser.java:307) at org.glassfish.hk2

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3 .1.1 to 3 .1.2 ... more It seems that there is something wrong with persistent context. it seems that glassfish 3 .1.2 behaves differently. I tested another project which uses eclipseLink and java DB. it works well. glassfish 3 .1.1 logins

Activation code is invalid, if restart OS Ubuntu 22.04

I created an activation code and the database works fine. After restart of the computer I ... How the activation code is binded at the computer? The mac adress? There are three mac adresses ... be a problem?   btc_es BTC EmbeddedSystems How the activation code is binded at the computer

Hitting Evaluation Limit After Code Rollback

In error, we deployed code to production that was compiled on a machine without a valid license key.   We have since rolled the code back, however our other production servers that access the same database files (that were touched by the unsigned code ) are still encountering

Concerning coding style of the example in the posting instructions

with reference to the coding example in the posting instructions and many of your other examples posted in the forums. While I appreciate the recommended coding style as shown makes for convenient minimal examples ... and examples, it is not a compliant coding style. Webel webel Dr Darren Kelly Your observation is correct

Get activation code for a server with no Internet connection

. How do we get the activation code ? Dmitry Zakharov uncol Dmitry Zakharov Run activation on that server. It does not ... that you can open on another computer that is connected to the Internet, in order to retrieve the activation code . Add the activation code that is received on that url to the ObjectDB configuration file of the server. support Support

InternalException using 2.3.7_12

Sorry can't shed any light on this, other than the code where this came out of, worked fine with 2. 3 .7_02. I had to upgrade to 2. 3 .7_12 to pickup the fix for wildcard search on index, and now get this. [ObjectDB 2. 3 .7_12] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server

[ObjectDB 2.8.3_01] Unexpected exception (Error 990)

Seeing strange new error, with previously working code ! Objectdb: 2.8. 3 _01 JVM: 1.8.0_252 OS: Ubuntu: 18.0.4 ----   [ObjectDB 2.8. 3 _01] Unexpected exception (Error 990) Generated by OpenJDK 64 ... .run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [ObjectDB 2.8. 3 _01

Storing JPA Entities

code stores an Employee entity class instance in the database: Employee employee = new Employee ... the EntityManager , or by commit . Referenced embedded objects The following code stores an Employee instance

What are the main benefits of using ObjectDB?

. The ability to store ordinary objects in the database directly can simplify the code significantly. Less (and more simple) code to write, debug and test, as well as a much easier learning curve leads

JPA Query API

em in the following code snippets). The EntityManager serves as a factory for both Query ... ("SELECT c FROM Country c", Country.class); In the preceding code , the same JPQL query

Numbers in JPQL and Criteria Queries

. For example: MOD(11, 3 ) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT(2

JPA Named Queries Annotations

Jakarta Persistence (JPA) provides annotations to define static, reusable queries at the class level, separating query logic from business code . Query definitions Declare named queries using the following annotations: Specifies a static, named query in the Jakarta Persistence Query Language (JPQL

Schema Update

The configuration element supports renaming packages, classes, and fields in ObjectDB databases. This is a complementary operation to renaming or moving these elements in your IDE during source code refactoring. You specify only these schema changes in the configuration file. As explained in

Is ObjectDB better than competing object databases?

, supporting community, forums, IDEs support, tools, books, tutorials and sample code . ObjectDB

Logical Operators in JPQL and Criteria API

), cb. isTrue (isInEU)); In the preceding code , non- Predicate Boolean expressions are converted

ObjectDB - JPA Object Database for Java

- start writing more effective database code using Java classes and objects! Try an ObjectDB / JPA

Defining a JPA Entity Class

classes When you store an entity in the database, its methods and code are not stored

Is ObjectDB better than Object Relational Mapping (ORM)?

databases when necessary - with exactly the same code .

Eclipse Distribution License - v 1.0

Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice

JPA Relationships Annotations

Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties) in persistent classes that hold a reference or a collection of references to other entities. Jakarta Persistence (JPA) provides annotations to configure

Paths and Types in JPQL and Criteria API

expressions in the preceding code can be divided into two main groups: FROM variable expressions

JPA Criteria API Queries

(); The Criteria API requires more code , especially for simple static queries. The equivalent JPQL query

JPA Optimistic and Pessimistic Locking

lock or a PESSIMISTIC_READ lock on that database object. For example, consider the following code

Database Explorer

, the Explorer can only execute queries that include user-defined methods if the code for those methods

Step 1: Create a Maven Web Project

       org.springframework    spring-webmvc    3 .0.5.RELEASE        org.springframework    spring-tx    3 .0.5.RELEASE        org.springframework    spring-orm    3 .0.5.RELEASE

Step 1: Create a Java EE 6 Web Project

a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6

JPA Tutorials

, such as GlassFish 3 .0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework 3 web application: Spring MVC and JPA Maven Projects for Download The tutorials provide step

Step 2: Entity Class and Persistence Unit

and paste to replace the new source file content with the following code : package guest; import java.io

Step 4: Add a Controller Class

the new Spring Controller class. Now replace the content of the new source file with the following code

Step 2: Define a JPA Entity Class

the new class. Copy and paste the following code into the newly created Point class: package tutorial

Step 4: Add a Servlet Class

to create the new servlet class. Now replace the content of the new source file with the following code

NetBeans/JPA Web Application Tutorial

with other NetBeans versions as well (dialog boxes and menus might look slightly different but the code

Step 2: Entity Class and Persistence Unit

to replace the new source file content with the following code : package guest; import java.io

NetBeans/JPA Spring MVC Web Tutorial

slightly different but the code would be the same). The tutorial is based on using a Maven project

Step 2: Entity Class and Persistence Unit

and paste to replace the new source file content with the following code : package guest; import

Step 4: Add a Controller Class

replace the content of the new source file with the following code : package guest; import javax.servlet

Step 2: Entity Class and Persistence Unit

to replace the new source file content with the following code : package guest; import java.io

Step 2: Define a JPA Entity Class

and paste to replace the new source file content with the following code : package guest; import java.io

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

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import javax

Step 2: Define a JPA Entity Class

code : package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence.Entity

Step 4: Add a Servlet Class

the new servlet class. Now replace the content of the new source file with the following code : package

Getting Started with JPA and NetBeans

well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps:

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import java

[ODB1] Chapter 8 - ObjectDB Server

his or her private database files (as demonstrated in section 8. 3 ). The element The element ... to do the same operation in subdirectories of that directory. 8. 3   Multi User Server

Which API should I use - JPA or JDO?

, tutorials and sample code . When to prefer JDO JDO might be preferred when portability to other object