About begin

issue

Issue with UPPER ?

Hi, Assuming those queries which are all the same except the UPPER calls: Bug Version: 2.3.5 Priority: High Status: Fixed Replies: 6 Type:  Bug ...

 
tutorial

Step 3: Add a Main Class

Explains how to add the JPA tutorial Main class in NetBeans.... em. getTransaction ( ) . begin ( ) ; for ( int i = 0 ...

 
forum_thread

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: ... code: pm. currentTransaction ( ) . begin ( ) ; Extent<ABC> extent = pm. getExtent ...

 
forum_thread

EntityManager refresh problem

Dear Support, in the following code you can see a EntityManager.refresh() example. The example throws an assertion error with the following statement: Assert.assertEquals("entity 1", simpleEntity1.getFieldA()); In my opinion there should be no assertion error. I have tested the example with several objectdb versions (2.5.4, 2.5.6_06 and 2.5.7). Do you have an explanation for the assertion error? ... entityManager. getTransaction ( ) . begin ( ) ;   SimpleEntity simpleEntity1 ...

 
forum_thread

JDOHelper.isDetached failure ?

Running this example code: ... ; pm. currentTransaction ( ) . begin ( ) ; TestClass test = new TestClass ...

 
issue

Exception occurs on Linux during commit

I wrote and tested my code on Windows 7 in a tomcat environment. When deployed on Linux (under tomcat) I get the following exception during a call to commit. Code: pm.currentTransaction().begin(); pm.makePersistent(p); pm.currentTransaction().commit();   Stacktrace: ... to commit. Code: pm.currentTransaction().begin(); pm.makePersistent(p); pm.currentTransaction().commit(); ...

 
forum_thread

Setting temp directory location in ObjectDB

HI, I am using ObjectDB and would to change the temp directory location wihtout using objectDB.conf file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); properties.setProperty("javax.jdo.option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory(properties), JDOHelper.class.getClassLoader()); ... from the fileName.odb. When pm.currentTransaction().begin(); hits it creates a .$fileName.obd$ file in the same directory where ...

 
api-jdo

getObjectId(pc)

Return a copy of the JDO identity associated with the parameter instance.(Method of javax.jdo.spi.StateInterrogation)

 
forum_thread

Removing an element from an @OneToMany doesn't work

Hello. I have a Parent and Child entities. // in the parent @OneToMany(mappedBy = "parent", fetch = FetchType.EAGER, cascade = CascadeType.ALL) private List<Child> children; // in the child @ManyToOne private Parent parent; Somewhere I do this: parent.getChildren().remove(0); manager.merge(parent); Manager.merge is just ... ; Manager.merge is just transaction. begin ( ) ; entityManager. merge ( o ) ; ...

 
forum_thread

Great product - needs better marketing - more popularity

Hi, ObjectDB! While you have a very nice product, which I recommend everywhere I go, it is quite difficult to explain to my customers what is it and why we should use it, and things like that, because it's quite unknown.  It's a great product, therefore I'm building the 3rd product based on ObjectDB since the beginning of this year, but I think it would be much better if your db was more popular. #1 2013-07-16 07:06 Hi, ObjectDB! While you have a very nice product, which I recommend everywhere I go, it is quite difficul ...