ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

Updating Entities

void updateItem(String item, boolean empty) { if(item != null) { setText(item ... , String>() { @Override protected void updateItem(String item, boolean empty) { if(item ... item, boolean empty) { if(item != null) { setText(item); setAlignment(Pos.CENTER

mapping file is not being loaded

, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel ... empty with ObjectDB Set<EntityType> managedEntities = emf.getMetaModel().getEntities(); I am certain ... still returns the empty set when 'getEntities()' is invoked. The prototype is running in a Tomcat

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

the verification argument. What happens if getObjectsById() is called with an empty collection? carr.onstott Carr Onstott There are no known issues with this method. If you pass an empty collection the method should return an empty collection. It should work with single or multiple IDs and with any collection

Possible issue with LAZY Loading

part of the test? Or should it be empty? Pretty much I want a unit test that shows the locationlist coming back empty, and then someway of calling so that it comes back populated. I'm uncertain now ... ;     } This method is used by ObjectDB to initialize the field with an empty lazy proxy collection


Moshal You can disable the L2 cache (or empty it with evict) and empty the EntityManager (L1) cache ... to automatically refresh objects in the L2 cache? You can empty the L2 cache or remove a specific class / object from that cache. support Support

JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread, collection operators and methods (IS EMPTY ... query = em.createQuery(         //    "SELECT a FROM A a WHERE a.list IS EMPTY ... EMPTY         List<A> list1 = em.createQuery(             "SELECT DISTINCT b.a FROM B b", A.class

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

via a querying @EJB gives many fields null (and not even empty, I mean truly null). In the following ... either empty or populated are served as null (!). The query is performed by an @EJB: @Stateless public class ... non-null, either as empty or correctly populated). This seems to imply that ObjectDB operation

Can't open replicated database

this may be related to the initial empty state of the database. I inserted a few rows into the databases ... (therefore, with an almost empty database this is more likely to happen frequently). It is unclear ... the exception and skip the query as I'll know the database is empty but this would be a bit messy as

File lock exception on odb$

affected as the dbs were empty anyway but I'm a bit worried about data loss if & when this is not ... to open that empty database with its associated odb$ file? support Support It was repeatable ... file exists but it is empty. Build 2.3.7_09 should fix this issue. Thank you for this report


Annotation Element javax.jdo.annotations.Persistent String customValueStrategy Custom value strategy to use to generate the value for this field or property (if any). If customValueStrategy is non-empty, then valueStrategy must be UNSPECIFIED. Returns: the custom value strategy Default value: "" Since: JDO 2.1

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support