About execute

forum_thread

Delete me

Is there a listener or program that can be used to sync across data from/to MySQL and ObjectDB so that I can use ObjectDB for development and then just make sure MySQL always has the same data so that we can say "we use MySQL as one of our products"? ... against ObjectDB in a database access layer code that will execute these database operations on both ObjectDB and MySQL (accessing MySQL ...

 
forum_thread

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement that should be done beforehand?   #1 2010-11-11 09:24 The error: Type User is not found (error 301) occurs when I query the db for a type before any in ...

 
api-jpa

getFlushMode()

Get the flush mode in effect for the query execution.(Method of javax.persistence.Query)

 
forum_thread

Online backup in embedded mode fails

Hi, As in topic. "online backup" fails when executed in embedded mode. Everything works fine with server mode. #1 2011-07-25 19:16 Hi, As in topic. "online backup" fails when executed in embedded mode. Everything works fine with server ...

 
forum_thread

persitencia (Preguntas y respuestas)

1ra.pregunta:     tengo un formulario y cuando grabo mas de un registro, solo me grava el ultimo mas no los anteriores. 2da.Pregunta:    Tengo un indice que no es el ID y necesito que mi tabla muestre los datos de acuerdo al indice. Como                          puedo hacerlo?. Alguien me sugiere algo. Gracias   #1 2015-08-06 19:46 1ra.pregunta: tengo un formulario y Cuando Grabo mas de un registro, solo me graba el ultimo pero no los anterior ...

 
forum_thread

Problems down-casting in WHERE clause

I have a family of related types, like this: @Entity class Base { String val1; String val2; }; @Entity class Derived1 extends Base { String val3; }; @Entity class Derived2 extends Base { String val4; };  I'm trying to implement a query which will return all Base objects which have a given string within any of their String-typed fields.  The query I'm using looks somewhat like this: #1 2013-07-07 03:04 I have a family of related types, like this: @ Entity class Base { String val1 ...

 
tutorial

Step 6: Run the Java EE 6 Application

Shows how to run the NetBeans/JPA Java EE (J2EE) web application tutorial. You can run the application now by right clicking the  GuestServlet node (in the [Projects] window), selecting  Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - ...

 
forum_thread

Feature Request: Improved ObjectDB Explorer

ObjectDB explorer is mainly designed as database viewer, not editor. However, I think it can be improved to function as a capable editor also, and I think this will make ObjectDB an even better product. ... some methods, but still varying input each time), and execute some main method to get blocks of data into the database, while we can ...

 
forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. #1 2011-06-18 13:34 I am getting this exception on a regular basis, after a period of time of repeating the same code execution. &nbs ...

 
api-jdo

removeCategory(categoryName)

Remove the members (fields or properties) of the named category from the set of members in this FetchGroup.(Method of javax.jdo.FetchGroup)