ObjectDB Database Search

51-100 of 136 results

InternalError on multiple AND and JOIN Query

.RemoteTestRunner.main(RemoteTestRunner.java:197)   I have attached a sample project demonstrating

Failed to generate dynamic type

, please provide a sample case that demonstrates the problem. Please create separate forum threads

Database size is much larger than expected (x2)

these questions without a sample test case since many details are missing, but here are the general

using DbUnit with ObjectDb

. Can you provide a sample object model and XML file in the format of your existing XML data

Unexpected behaviour upon update. Bug?

This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expect: 3 Get: 4 import java.io.Serializable; import java.util.List; import javax.persistence.*; @Entity public class Update implements Serializable { @Id int i; int v; public static void main

JBoss 7 startup fails

, if necessary, edit the persistence.xml file manually, following the attached sample file

How the sort order (in queries) works for non english letters?

strings and for sample code (but notice that the code in that thread demonstrates the less efficient

Storing objects problem

this problem. kiki Kristijan Please follow the posting instructions and provide a sample program

"No Persistence provider for EntityManager" in OSGI bundle.

.createEntityManagerFactory(Persistence.java:84) Attached is a sample application demonstrating this. (including

Object explorer cannot open odb file. ObjectDB many-to-many relationship

wasn't the problem but the id class. Anyway, build 2.3.4 fixes this bug and now your sample database

Double persist of Entity field with Cascade.ALL

would have double entry of same record. Burabari Burabari Kpai For completeness, attached is the modified sample

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample : cb.equal(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d

Query vs Extent for retrieving data

? support Support Well I whipped up a standalone sample app, and of course now it works perfectly. I'm

Optimization of Map Queries

of querying maps in ObjectDB has to be improved. If you post a sample test that demonstrates a heavy

Glassfish REALM objectdb...

hello , i ve made some research implementing objectdb to glassfish realm. Do you have realm for glassfish ? Here is some sample here: developers.sun.com/appserver/reference/techart/as8_authentication/index.html kadirbasol Kadir BASOL We don't, but if you implement it and you can make it public it would be nice. support Support

Fantom

Hi, so far I've been able to get ObjectDb to persist objects from many JVM languages, eg.: Java/Groovy/Scala/Kotlin. However, I can't seem to get Fantom to work. Anyone tried this yet? Dave dmoshal David Moshal Please post a sample project, instructions on how to run it and details

Undeployment of an remote Glassfish application locks objectdb log file

(unitName = "testdb") private EntityManager em; /** This is a sample web service operation */ @WebMethod

ODB tries to create log files inside its own jar on Win7

; ObjectDB Home ($objectdb) explicitly could solve the problem. If you can upload a sample Eclipse

Possible issue with String fields

Hi I'm brand new to objectdb and I'm trying to create an objectdb from a sample db via jdbc. The code all works and for a few thousand records but when I increase the number of records I get the following Exception in thread "main" [ObjectDB 2.3.7_15] javax.persistence.RollbackException Failed

Empty query results after JAR creation

to report the same issue. I've created a small test case (attached zip file) with a sample DB to reproduce

Deploying a BIRT Project using ObjectDB onto Tomcat

-BIRT driver. If you still have a problem you may submit a sample web project that demonstrates it. support Support

Restrict by class in query

Hosek This is an unexpected behavior. Could you please provide a sample test case that demonstrates

Trouble viewing db in Explorer.

have debug on, here is a sample of the console:     [2012-06-07 11:08:06 #47186 query

Spring MVC Errors

that you are using the last ObjectDB version with the sample project that is bundled with that version

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

an index is missing? It would help if you could upload a sample database and a simple test program

Get multiple entities by Id

Bischel Could you please post a sample test case that demonstrates the problem? Something simple in

World database - Changing country ID

Hi, I am getting familiar with OpenDB as I am considering using it in some project. I opened Sample world DB in ObjectDB Explorer - and couldn't find my country, as it has invalid id ( ez instead of cz ). I changed the id of country to "cz". But when I try to find the country: SELECT c FROM

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

Hi! I've been trying to get Glassfish 4 (Java EE 7) work with ObjectDB the whole day. It seems to be an error. The same code (adapted to Java EE 6) works perfect in Glassfish 3.1.2.2. I attached the samples as NetBeans projects, so that you could check easier. 1 for GF3 (6) and 1 for GF4 (7

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

trace. If you can also upload a sample database that may be used to run the query and see the error

persistence.xml classes not respected by ObjectDB

and it could be demonstrated by a sample application, we will look for a fix. support Support Finally

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

How to convert a boolean to an int in the query?

, which should also enable using such casting with criteria queries. The following queries against the world.odb sample

Unable to convert 1.x odb file to 2.x

would be much more difficult to fix, since no exception with a stack trace is available now. Therefore, we may need a sample

Queries are slow on a large database

should be returned by this sample query? If there are many Message instances with the same requested 

Inconsistent return types from JDO query

the query and specify the relevant types. support Support I am attaching sample code which reproduces

Some details about db behavior

using simple test cases, or sample database (and particularly the Explorer view situation that you described above). support Support

Upgrade to Java 8 won't run

the next days. If you can share a sample database with this issue it may help.   support Support

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the server url fails the ping test.  I get (Failed to connect

Class loading problem with private packages in OSGi environment

a sample database file that can be used to reproduce the exception? support Support Hello, following

Performance in SELECT statement

more details and sample code. support Support The index thing did the trick! Thank you... I

Populating JavaFx table from ObjectDB

Please I have being working on an application, and I am experiencing some challenges populating my javaFx table from ObjectDB, Please I don't know if I can get a sample code for populating javaFx table from ObjectDB that could aid my Project. Jerry Onoja Jerry You may check the following links

ObjectDB 2.3.1

Added support for using ObjectDB with JBoss AS 7.0 . Sample databases (world.odb, points.odb) included in ObjectDB distribution. New default Explorer colors (apply with Tools Options Fonts Reset All). New menu for accessing local databases (in $objectdb/db ) in the Explorer. Improved

TYE NullPointerException

;may be sufficient to locate the problem, so at least as a first step - no sample program

Issue with cascade delete & add/remove

Hi, Please see the attached sample project (important: classes need to be enhanced as done in the pom.xml file). What happens: We have two entities Address & Contact. Contact keeps a collection of Address which cascades deletes (orphanRemoval=true) to its children which is what we want

InternalException

problem of course. Please run the Doctor to check the database file. Can you also upload a sample

InternalException

is fine. If you could post a sample database with the query that causes this exception it may help

java.lang.ClassCastException: com.objectdb.o.RFV cannot be cast to com.objectdb.o.RSV

when the parameter type is a Drill instead of a Template. Updated: Sample data file removed now that the issue

java 8 LocalDateTime is not working in query

Here is a self-contained sample how it should work: package test; import javax.persistence.*; import java.sql

InternalException when using MEMBER OF on a large list in a query

if you analyse the sample . The example works if you reduce the count (line: 31) to 20.000  or