About package

forum_thread

Index on map key

Is there a way to create an Index with @Index on the key of a map? ... of embedded objects, as demonstrated below: package test ;     import java. util . *;   ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... controller classes for each of the models. Each controller package consists of Overview, Add, Modify, Delete. Overview uses a ...

 
manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes.... name and any access level ( public , protected , package and private ) but should not be static . The annotation ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP to an Eclipse Spring MVC JPA web application project.... by right clicking WEB-INF under src/main/webapp (in the [Package Explorer] window), selecting  New > Other... > Web > JSP ...

 
manual

FROM clause (JPQL / Criteria API)

Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query.... name of the class (e.g. just Country with no package name). The default name can be overridden by specifying another name ...

 
forum_thread

Does ObjectDB support lazy loading?

I'm evaluating ObjectDB 2.0 RC1. Everything works fine except a lazy loading problem. I've a Parent class which contains List<Child>, marked with @OneToMany. After persisting a Parent object, (in the Explorer) I can see all the property values of the Child objects in the list. However, when the Parent object is read from EntityManager, all the properties except ID of the Child objects are null. The EntityManager is not yet closed when the getters are called.... sample program demonstrates lazy loading: package com. objectdb . test ;   import java. util . *; ...

 
tutorial

Spring MVC JPA Tutorial - Maven Project

The Spring MVC JPA tutorial for Tomcat / Jetty as a Maven project (download & run).... from the command line by: > mvn package jetty:run The current directory should be  guestbook-spring ...

 
forum_thread

Merge with Parent/Child entities not possible

Can you please tell me why the following unit test ends with "[ObjectDB 2.5.7_02] javax.persistence.RollbackException"? ... 2.5.7_02] javax.persistence.RollbackException"? package example ;   import java. io . File ; import ...

 
forum_thread

Use of sequences to generate field values in JDO

I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid use of annotations. This is an example of what I'm trying:   <package name="com.spiffymap.sealog.model">         <sequence name="audit_seq" factory-class="java.lang.Long" strategy="contiguous"/>         <class name="Audit" identity-type="application"> ... This is an example of what I'm trying: <package name = "com.spiffymap.sealog.model" > <sequence name ...

 
issue

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

I was experiencing an exception so I did a test to reproduce it.   here it is. ...   The code is as follows: package com. reproduce . error ;   import ...