About INSERT INTO

forum_thread

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: ... } Should I separate the deletes and adds into separate transactions? I think I remember reading in another forum post ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Using the wrong class to access a database

Hello, just starting to test ObjectDB and ran into a problem. I've created a small program to test the Point database described in the Getting Started section: ... Hello, just starting to test ObjectDB and ran into a problem. I've created a small program to test the Point ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported?... which has a field of type byte array.  to turn the bytes into an image, i use a UI toolkit called HCIL Jazz, which knows how to ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Bug: ClassCastException by retrieval

Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: ... Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: package ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
issue

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

Hi, ... is not catching all Exceptions, allowing them to bubble up into the wrapper, which writes them to it's log file.  The stack ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

DB reading fails in debug mode in Eclipse

Hello, I got an unpleasant bug which turned into a serious issue. Using ObjectDB 2.6.9.b08 on Linux. Here is the structure (JDO metadata) of 3 classes which I am storing as values in a HashMap of another entity in the DB. ... Hello, I got an unpleasant bug which turned into a serious issue. Using ObjectDB 2.6.9.b08 on Linux. Here is ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

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"? TIA ... cause exceptions. Yes, you'd better to put it into manual, since "drop table" is often in debugging. I can not find "drop ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

On initialisation of lists: impact on migration from EclipseLink to ObjectDB

I would like to draw the attention of those assessing migration from EclipseLink ORM to ObjectDB to a significant difference in the initialization of persistent lists, namely that EclipseLink injects a List implementation into the List field to be initialise it during EntityManager.persist(). So in EclipseLink the following works: public class HasListOfBlocks { .. ... namely that EclipseLink injects a List implementation into the List field to be initialise it during EntityManager.persist(). ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Multiple joins did not return expected result

Hello, I have 3 entity classes: Event - String title Calendar - List<Event> @OneToMany SharedCalendar extends Calendar - Calendar original Now I want to retrieve all events from a specific calendar by its id like: ... different separate queries and merging the results (e.g. into a Java set, maybe LinkedHashSet , if order is important) may be the ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...