ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh

Entity with java.util.Date column gives ClassCastException in BIRT

it in ObjectDB 2.5.3_02. After creating an ObjectDB BIRT DataSource and a DataSet, entered a simple ... :348) ... 21 more I'd rather not use java.sql.Timestamp in my entity classes. Is this a bug in ObjectDB or BIRT or is there an error in my entity class? martijnvt Martijn van Tilburg A new version

remove & persist in same transaction => Attempt to reuse an existing primary key value

Hello Support, in our configuration (FlushModeType.AUTO) is the execution of em.find(Entity.class ... to the existing otherwise we create it. Now we got the problem that we try to do two thinks in the same ... . Is it expected that the commands not executed in the order they are pushed to the context or is it a BUG

Drop in Client/server mode not working

Hi, can't seem to get drop to work in c/s mode: version: objectdb-2.3.5_04 config: <extensions drop ... is connected to a c/s database then it is not dropped! I confirmed this with my code. In my view, this is a bug in the drop feature, as it's important to be able to have the explorer open during testing

@SequenceGenerator and single id in whole database

Hi, I have a question about @SequenceGenerator. I have separate @SequenceGenerator in each ... like in RDBM? lwalkowski Lukasz Walkowski You can use different generators for different entity ... values), and attaching these generators to @Id fields in different classes. Make sure you set

removed objects stay with null field values in the reference

<ObjectNode>(); When we remove an object that is in this relationship (workflow), the object stays in ... from the set explicitly, in addition to deleting it. However, if the set is defined as mapped by ... of invalidated remaining sceleton is still in the database and loaded by a subsequent lazy loading

How to Remove records from many to many relationship tables in JPA

<TransportationEvent> transportationEvents = new ArrayList<TransportationEvent>(); .... } here in database ... here my requirement is i need to delete records in both tables (TransportationEvent and Conclusion ... occurred in database "ECT", table "dbo.TransportationEvent_Conclusion", column 'conclusions_id' by

Failing to read entities under load in multithreaded tests

Hi, We are experiencing an issue in our application that only occurs under load - we sometimes fail ... that creates, reads and updates these entities in multithreaded application it sometimes fails to read them from the DB with "No matching results for a unique query" error. The error occurs in 2-3

Memory use in OneToMany relationships

Hello everyone, I have a question regarding the OneToMany / ManyToOne Relationship in ObjectDB. So imaging following setup: We have class A which holds an collection (List, Arrray ...) of class B. In ... and enhancement mode. In enhancement mode, each PicData is loaded when it is accessed. In

Is named-query supported in orm.xml

I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in ... against the JPA 2 ORM schema, probably because of the location of the named-query element in ... queries should be defined in the XML before any type (entity, embeddable, etc.) definition. Named queries

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue has been described in forum post 1254 (JPA JPQL WHERE clause for IN :variable not working if variable ... you for this report. The bug can be easily repeated by changing the example in forum post #1254 to @Enumerated

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support