Internal Website Search

101-150 of 171 results

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type

Issue with alias

is:     FROM - WHERE - GROUP BY - HAVING - SELECT - ORDER BY and you cannot use an element before it is defined.   support Support

OptimisticLockException

would have thought that would be done automatically. Having used objectdb for nearly 10 years now, all in

@PrePersist Implementation

Hi Please help me.I have requirement like In my project having arround 100 pojos .I have used @EntityListener and @prePersist annotaions to invoke my action class .. But problem is how can i get oldvalue and new value of current form of pojo in side my @entity Listener Action class. code snipt

Calendar in Criteria Querys

Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder has no methods for checking if one Calendar is bevor or after another. Javas Calendar Class got such methods, but i dont know how to use those in my query. suez Tobias JPA supports 3

Duplicate a table

Hello, I would like to know if it's possible to copy the content of a table representing one class of object to another table whithout having to use java object (no object instantiation) ? In fact, I would like to execute a native query like "select * into T0 from T1" My purpose is to backup

Invalid/Missing licence when connecting, however correct licence is definitely present

to having the activation key in an objectdb.conf file that is not in use. Therefore, the first thing

Fetch Set from DB only works on debug mode

of ObjectDB. Now I updated to 2.7.5_05, but I still having the same problem. As i'm pretty sure it is a bug

Null returned by Persistence.createEntityManagerFactory

Hi, So I'm currently having an issue where createEntityManagerFactory returns null. When I run the application on the my local machine through Tomcat it works fine, the odb file is created.    public class TaskDaoODBImpl implements TaskDao {     private

TypedQuery implementation problems

Hi everyone, I'm having problems. I have implemented TypedQuery in a module of my web system and everything works perfectly. but when making another module and implementing TypedQuery again it doesn't work anymore I would appreciate your opinion. I leave a portion of my code with example. @Service

object creation during pmf.getPersistenceManager()

even having 300 PC classes. In the future it could be an option for an enhancer to generate

How force always recreate database on redeployment.

, and am not having problems with drop anymore. In client-server mode, sometimes drop works

dual access

Hello Exploring the product having had significant experience win Kodo/BEA/JDO1.x, yes I know dated but still works.  Is it possible to still have the SQL emitted from only the JAVA syntax?  If so is it also possible get each SQL statement before it is sent to the store?  Does

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

pm.newObjectIdInstance returns null

'ish). Trying to modify as little as possible. I am having trouble with the following:(names

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

is our platform of choice now and not having JPA work is a bit of a deal killer here.  Not

Attempt to refresh a non managed entity object (error 635)

Support Still having problems here. Was going to put a long posting here, but I think I'll explore

Possible issue with Spring JPA and Embedded

Hello, I'm having some fun with Spring and embedded objects. I have need to embed some small objects inside another object. When I tried this from our project it doesn't work, so I created a small unit test (which is attached called "TestEmbeddable.java"), and it works perfectly. So I think

Slow performance on Mac

! I am on OSX 10.12.6, JVM 1.8.0_144-b01, and I was also having performance issues

JBoss 7.1 and EAP 6 support

I understand that keeping up with a new version can be difficult. Having said that, JBoss 7.1.1 Final was released in early March and Enterprise Application Platform (EAP) 6, the fully supported version by RedHat which is based on 7.1, has been released recently. I would really like to use

Fields in objects not populated in query result.

Hosek It is unclear why you are having these issues. Please provide a minimal runnable sample program

Replication error - parsing objectdb config

\$replication but I'm having some trouble connecting to the slave database: [ObjectDB 2.2.1_01] javax

Multitenancy with discriminator

"  a user that has "Enterprise 3" as "mainDomain", with "Enterprise 3"  having "Dept 1", "Dept

Java 8 compatibility?

. support Support Thank you. This is a good start. We look forward to having full compatibility with Java 8. zmirc Mircea Chirac

using DbUnit with ObjectDb

couldn't find a way around having to include the name of the entity as the XmlElement name

Failed to resize file - file system limitation error

Hi,  we are having production problems with ObjectDB and the below error in our production ODB service log.  Can you please let us know the reason this is occuringand how to resolve? Thank you, Clinton Moore 813-562-0116 Exception in thread "Thread-13044" com.objectdb.o.UserException

Start ObjectDB inside java code.

I am building an MMORPG with ObjectDB, and I use it both for the saving of character and inventory (permanent object), but also the storing of ability and maps information (object I load, use, and dispose and then reuse without having change anything). The problems is, as my server and client

Implement "equals" method

. support Support I am having trouble using ObjectDB entity objects with ComboBox in Vaadin [1]. I

String comparison in query where clause

I am having trouble getting a simple string comparison to work in an SQL "where" clause.  It is my understanding that queries are case sensitive by default and I do not want that, so I am constructing the query as follows... SELECT e FROM Exercise AS e WHERE UPPER(e.name) = ?0 and then I

Java 6/7 Performance Comparison

it has to be something other than java 7 but having trouble narrowing it down. Attached is a test case I've been running

Cascade delete with unidirectional mapping

    Suppose entity A is referenced from entity B, like (A - * B) but not actually having that reference, instead only B has @ManyToOne relationship to A and A has none. Is there a way to cascade delete of B's when deleting A? Or this should be done programatically with separate

Maven and multiple JARs

to run too). - Dependent more specific project: SpecEnt, SpecEJB, SpecWeb (downstream). Just having 2

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

I'm trying to setup Spring + JPA + ObjectDb in my test environment and having trouble with the following: Here is the stack trace I get: Caused by: java.lang.AbstractMethodError: org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence

What role is the JDO in ObjectDB?

Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? Due in part to some of the failures of the EJB persistence model, and some frustration at not having a satisfactory standardized persistence API, another persistence specification

String representation of a query

Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't have any method like "getQueryString" or "getDatabaseQuery", maybe it's going to be added in near future? It would be very useful to have something similiar to : queryObject.unwrap(com.objectdb.jpa

Trouble bug on explorer

Hello having trouble when i try to push new objects from class. I got exception from explorer. KadirBASOL:bin apple$ java -jar explorer.jar Jul 19 20:00:52 KadirBASOL.local java[9942] : CGContextGetCTM: invalid context 0x0 Jul 19 20:00:52 KadirBASOL.local java[9942] : CGContextSetBaseCTM: invalid

Embedable & Reference?

;consequences of not having an identity for embedded objects. Sharing persistent objects is only possible with entity objects. support Support

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

are already indexed (and with a primary index, which is usually more powerful), so what are the benefits of having

Externalising persistence.xml properties in Glassfish?

either with Glassfish/JBoss and having environment specific datastore properties being build independent

Type ... is not defined as an entity (@Entity is missing) (error 302)

. support Support I'm having the save error building the helloworld exemple(http://www.objectdb.com

Enhancing a class causes it to not save changes.

, but I hate having unexplained exceptions in logs as they tend to bite you in the long term... [2019-09

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: package com.experiments; import javax.persistence.*; import java.util.HashMap; public class ErrorTest

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

my evaluation of ObjectDB and report my client, the end-customer (without having to tell

ArrayIndexOutOfBounds with Critera API and function call

is there. The only thing is that we're having an inheritance hierarchy like class TestEntity_1 { public

ArrayIndexOutOfBoundsException with enhanced Entity

for which I use and store a string now. but it seems the second issue is really having an embeddable

Internal objectdb exception when using different language on a machine

regards BTC btc_es BTC EmbeddedSystems Maybe the problem is due to having two different  TCVector

Why is ObjectDb is holding onto classes that no longer exist? 

having unexplained exceptions in logs as they tend to bite you in the long term...    

ObjectDB 2 JDO Manual

have been having significant trouble finding the information I need to use JDO in general

Exception when the log file is full and no archive is defined

a user error, as the limit is directly associated with having a valid archive directory to move log files

Error during closing an entity manager

EmbeddedSystems The exception may be due to having partial enhancement. Mixing enhanced entity classes