About settings

forum_thread

Understanding limitations of schema evolution

Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.com/java/jpa/entity/schema as well as the link therein regarding manual schema update when changing a field’s name Yet, i am confused regarding how to handle the case where one re-factors a class by moving one if it's Fields to a different class. Is this case managable? Thanks #1 2014-10-31 12:31 Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.c ...

 
forum_thread

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where X is a value passed to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD for this type of file, though I can't see a mention of it in the manual. ... is in loading the XML metadata? Can you check that other settings in that XML file affect? Could you try putting it in the ordinary ...

 
forum_thread

Items in list are doubled, when the entity class is not enhanced

Dear all, I have a problem with adding items (entities) into other entity list. When the classes are not enhanced, added items are doubled. Here is an example: #1 2011-06-09 08:24 Dear all, I have a problem with adding items (entities) into other entity list. When the classes are not ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP page that uses JPA to a NetBeans Web Application. In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New > JSP ... Enter guest as the jsp ...

 
forum_thread

Help understanding Entity behavior with JPA

Hi Support,   We have a entity with an @Id entity which we then put into a list and store in an different entity inside a field defined as:   @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; #1 2012-12-06 11:01 Hi Support,   We have a entity with an @Id entity which we then put into a list and store in ...

 
forum_thread

Performance in large transactions

Hello, we have a performance problem when we use a large transaction. Let's do exactly the same in several transactions the ObjectDB works much faster. In our use case, we create many new entities and between the creations we call a select query. The execution of the query becomes slower at each iteration. (In the query, we search for an item of type Entity2. However, there is only one entity.)   Pseudocode for the fast and the slow solution FAST: #1 2015-03-03 15:07 Hello, we have a performance problem when we use a large transaction. Let's do exactly the same i ...

 
forum_thread

Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db when I use Undeploy tool. TIA #1 2011-09-05 09:09 Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? ...

 
forum_thread

ObjectDB Privacy

What privacy does ObjectDB have to offer? I'm watching my firewall and it looks like ObjectDB is pushing my data out? Are there any guarantees that I will retain my privacy when using ObjectDB? #1 2014-09-27 21:12 What privacy does ObjectDB have to offer? I'm watching my firewall and it looks like ObjectDB is pushing my d ...

 
api-jdo

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

Returns a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax.persistence.EntityManagerFactory cast to a PersistenceManagerFactory.(Static Method of javax.jdo.JDOHelper)

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Spring MVC web application project.... A default JPA persistence unit (with default settings) was generated in a persistence.xml file that was added to the ...