ObjectDB Database Search

51-100 of 200 results

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. Exception in ... more Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar

using objectdb.jar in writing data to mariadb or mysql db

(for desktop version) and python or php for the web version but i want to code queries in native java ... to mariadb or mysql using native java JPA API and in some cases JPQL or must i store to an Objectdb unique ... . You cannot use to write to MySQL or MariaDB (as you cannot use PostgreSQL to write to MySQL). You can use

EntityManager JPA or JDO impl and different behavior

the persistance.xml or is something in the spring is doing something I don't understand? Or have I missed ... " is called, the object is being lazy loaded. So if the "equals" or "hashcode" method use more than the database id for generation or comparison, it all fails horribly. Have a look at the output from

OR not working with isNull

); Predicate ownerIsNull = cb.isNull(root.get("owner")); Predicate ownerMatchesOrIsNull = cb. or (ownerIsNull, isOwnedByUser); The isNull predicate will only match records when NOT inside the OR predicate.  The other predicate works normally within or outside the OR . bhamilton Bruce Hamilton Your query

URGENCY, or in query does not report any objects on first operand having no results

operand: select a from Action a where (a.state = 2 or a.state = 3) and a.type = 0 and a.transferred = 0 if the query is changed to select a from Action a where (a.state = 3 or a.state = 2) and a.type = 0 and a.transferred = 0 there are all the results for the condition a.state = 3 it seems that the or

@OneToOne query issue with OR and IS NULL

A where another is null OR another.counter = 0 "  What I expected to get where the 2 entities I ... : SELECT FROM A WHERE another IS NULL OR another.counter = 0 is a short form of the this equivalent query: SELECT a FROM A a JOIN a.another b WHERE a.another IS NULL OR b.counter = 0 You missed

Eager Fetch is not stable for collection or map types?

Hi, thanks very much for your helpful software. The problem is the storage of collection or ... there is no known open bug that can cause this problem (including in using or not using generics ... is we confirm that the collection or map are stored successfully by using explorer tools when the JVM

Corrupted Database or error in ObjectDBExplorer?

). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in ... to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos ... ) available in the the classpath (either in the Explorer or using your application) in order to update

Database Inconsistency or corruption

ObjectValue are just deleted from the database. If I had detailled traces of the EntityManager or ... IDs available on persist, or flush after persist to get IDs allocated. It is unclear ... relationship. If an update is not detected (e.g. due to 3 or 4) - you may try changing another (even dummy

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table ... MyEntity e").executeUpdate();” works, but it can not reset id to zero! "drop table" or "delete from table" or "truncate" can clear the id counting. Any idea? gzdillon Lai Yang Resetting generated ID

Should I be able to persist a JFrame (or gui components in general)?

.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax ... ideas on the runtime error, or how I could reduce amount of code to map UI to a database to as ... somehow. This may exist, and I just don't get it, or whatever. And second, the idea of persisting interface

database more or less destroyed

file was not closed correctly. Was it controlled exit or server process killed? Even if the process ... not copy the db file or do anything special, see attached the log after the restart (after server ... down. If you see errors in the storage device or the file system then the database file may develop

Is it ok to put list or map of embeddable objects in entity ?

Hi, Is it ok to put list or map of embeddable objects in entity? I mean, for example : @Entity ... part of the containing entity. Since there is no separate space allocation for the collection or its elements ... happening... Is that a bug or are cascade operations not supported with Embeddable classes ? kborkowski

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

are redundant. Q: Is there an option or strategy to disable/skip runtime enhancement checks (to improve load time ) ?     webel Dr Darren Kelly Please provide more information about these checks, such as log messages or stack traces. support Support

Cannot save or update entity on Spring App

I've got this DAO in my Spring App import javax.transaction.Transactional; @Repository // or @Component @Transactional public class LanguageRepository { // Injected database connection ... (); return guest; } //DELETE or UPDATE command public boolean deleteOrUpdate(String query, Map map

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com

Waterfall tree algorithm for more optimized version of objectdb or

hello , i heard its very good and new datastructure known as waterfall tree compared to btree. It could be good if you think and research some datastructure or take a look at waterfalltree Or it can be selectable by objectdb :   here what i talk about :  http://stsdb.com/stsdb-w4.0

Annotations not supported in -source1.3 (use -source 5 or higher ..)

and other files: Annotations not supported in -source1.3 (use -source 5 or higher ..) Generics not supported in -source1.3 (use -source 5 or higher ..) (Note that the version of Java I ran Maven as

Persistent domain in Scala or Java...

.  Are there strong JPA-like libraries for Scala, or should I be considering Scala-specific persistence or using Java for the domain to take advantage of JPA / ObjectDB etc. All input greatly

Schema or odb file compare

Dear Support, is there a way to compare two schemas or odb files? I try to compare two object graphs Thx wua Andreas Wurm This is currently not supported, but you may file a feature request  if you need this ability (describing what exactly you expect from this new feature, and how it should work). support Support

Internal objectdb error when open a database or open an entity manager

we get following exception when we open a database or open an entity manager   Exception in thread "ODB IndexActivation" [ObjectDB 2.6.6_06] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www

JPA Query language support in OBjectDB / Sub query or nested Query

Hi Wanted to check with you on the exact level of support of JPA QL within the ObjectDB world. I have given a sample typed query below which fails to work with ObjectDB and it runs very well with the Hibernate/MySQL JPA. We are using Spring Data here. It looks like a problem with Sub query or

Field or Table Encryption

Is there a build-in way to encrypt object fields or entire "tables" with annotations?  If not, are there any recommended design patterns? Thanks mrbahr2003 Thomas Gregory Please see this feature request in the issue tracking. If you need selective encryption of types / fields - please describe your suggestion in that issue thread. support Support

LIMIT or TOP functions

Is there LIMIT or TOP functions in object db? If so can you provide some examples? vinodh vinodhkumar You can set query result range by using the setFirstResult and setMaxResults methods. You can find more details and an example in the manual . support Support Thanks. This solved my purpose. vinodh vinodhkumar

One transaction or two?

If I have a large number of objects to delete and then add to a PersistenceManager is it more efficient to do everything in one transaction or two? Currently my code looks like this: PersistenceManager pm = m_pmFactory.getPersistenceManager(); try { pm.currentTransaction().begin(); pm

query null or by zero error

we have the critical problem that we receive a null or by zero (in the log a java.lang.ArithmeticException) error for this query: select o from ObjectNode o where o.currentLocation.nodePath = "/(MG)TOOLPOOL-DMC-125U4/(MP)IN" and o.classIdentifier = '(TP)' database can be download from

Shared (L2) Entity Cache

can also be enabled or disabled using a persistence unit property:         ... explicitly. For example: @Cacheable // or @Cacheable(true) @Entity public class ... when the database might be updated by other applications ( or using other EntityManagerFactory instances

ObjectDB Object Database Features

Requirements Windows, Linux, Unix, Mac OS, and most other OS with Java support. Java 8 or higher Tested ... API - any user with some experience with Hibernate, TopLink, EclipseLink, OpenJPA, JPOX or ... - a single @Id field. Composite primary key - multiple @Id fields or a @EmbeddedId field

Server User List

is "true" or "false" ) specifies if the user is a superuser. A superuser is authorized to manage ... ;          Every element may contain one or more subelements ... is still allowed to view the directory content (using the Explorer) but cannot open database files or modify

ORDER BY clause (JPQL / Criteria API)

method takes a variable number of  Order instances as arguments ( or a list of Order ... , which adds order direction - either ascending (ASC) or descending (DESC). The CriteriaBuilder 's asc and desc methods (which are demonstrated above) take an expression and return an ascending or descending Order instance (respectively).

Logical "or" works not correcly when field is @Id and first position

The following code doesn't respect the logical " or " correctly. Instead of returns all 2 datasets it returns only this one, which matches the first predicate in the or . BUT: this happens only, if the field for the " or " is the first one defined as @Id. public class OrTest {     

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

. ORS .Z9()" because " " is null at com.objectdb.o.MSG.a(MSG.java:77) at com.objectdb.jpa.EMImpl.commit ... :833) Caused by: java.lang.NullPointerException: Cannot invoke "com.objectdb.o. ORS .Z9 ... : (No such file or directory) at java.base/java.io.RandomAccessFile.open0(Native Method) at java.base

Feature request: helpdesk user can change issue or support ticket page title/name

I would like the capability to change helpdesk support ticket page titles. Or if there is a way to already do this please describe. [EDIT: sorry I don't know how to key this to your online helpdesk system as opposed to the objectdb software version] webel Dr Darren Kelly You should be able

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

Luc Have you tried 2.4.5 or 2.4.5_03? Because 2.4.5_03 fixes a GlassFish integration issue . support

Running the Activator requires Java 6 or above.

. Running the Activator requires Java 6 or above.         dmoshal David Moshal Note

JPA Query Expressions (JPQL / Criteria)

, [NOT] MEMBER [OF] and the [NOT] LIKE operator. Logical operators : AND, OR , NOT. In addition, JPA ... ( equal , notEqual , gt , ge , lt , le , between , isNull , ...) Logical expressions ( and , or , not , isTrue ).

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)

. JPQL keywords, for example, can appear in queries either in upper case (e.g. SELECT) or in lower ... declares one or more query variables (also known as identification variables). Query variables

Numbers in JPQL and Criteria Queries

, which is always a positive number or zero. For example: ABS(-5) is evaluated to 5 ABS(10.7) is evaluated ... must be a criteria numeric expression. The other operand may be either another numeric expression or a simple

JPA Named Queries

to exactly one entity class or mapped superclass - usually to the most relevant entity class ... queries. Notice that named queries may be attached to any entity class or mapped superclass

How to install ObjectDB?

ObjectDB is distributed as a zip file. Just download and extract the ObjectDB distribution zip file. No need to run any install or setup program. You can uninstall ObjectDB by deleting the ObjectDB directory. ObjectDB does not modify the registry or any other system file.

Is ObjectDB better than Object Relational Mapping (ORM)?

of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational

Eclipse/JPA Spring MVC Web Tutorial

Eclipse - using ObjectDB, JPA, Tomcat ( or GlassFish) and Maven. The demo web application manages ... the following software: Java JDK 6.0 ( or above). Eclipse IDE for Java EE Developers. m2eclipse

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 ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

JPA Web App Tutorial - NetBeans Project

Project . Run the project: Select Run Run Main Project... ( or F6 ). Choose or define the server and click

Step 3: Add a Context Listener Class

a ServletContextListener to perform initialization and cleanup operations: The database will be opened ( or ... . The database will be closed when the web application stops ( or when the web server shuts down), by

Getting Started with JPA and Eclipse

. For this tutorial, besides the Java JDK (8 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB

NetBeans/JPA Web Application Tutorial

you will need the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version

Java EE Web Tutorial

(session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6. If you need a web application that can run on a simple servlet container (such as Tomcat or Jetty

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.