ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh

LazyInitialization / join fetch

I have a survey that carries the tabla Items . A company has several items , a user charge and technical user also . A specialty has several technical users . Area A has a charge . What happens ... that carries the tabla Items . Being a company that has multiple items , a user charge

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable {     @Id ... { ArrayList<User> attendeeList = (ArrayList<User>) ts.getAttendees(); List<User> attendeesToRemove = (List<User>) getAllUsers(em); transaction.begin(); for(User u

Change path for urls2.xml file

the program still creates objectdb/urls2.xml in my system user folder. Is there a setting to change ... and log files. jb11 James Evarts This file is created in a directory .objectdb under the user home directory (regardless of the ObjectDB home path). You can change the user home directory by changing a Java

use of Singleton into tomcat

of a user, a search for a lastname, so way. but i ask if all method it to be syncorniuzed into signature?????? for example: public syncronized User searchForName(String name){ User user=null //query for get the user correspondant. return user; } public void syncronized updateUser(User userToUpdater

NPE after an @embedded obj is updated for a detached entity

I have an entity that looks like this: class User {     @embedded private Profile profile;     ... } After running something like this:     User user = entityManager.createQuery("select......     entityManager.detach(user);     user.getProfile().setDescription("Something... I

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

String url; @Value("${javax.persistence.jdbc.user}") private String user; @Value("${javax ... .persistence.jdbc.user",user); props.put("javax.persistence.jdbc.password",password ... .persistence.jdbc2.user}") private String user; @Value("${javax.persistence.jdbc2.password}") private


that results from the query execution. If the type of the criteria query is CriteriaQuery for some user


of the criteria query is CriteriaQuery for some user-defined class X (i.e., a criteria query object created by


Method javax.jdo.Transaction void setSynchronization( Synchronization sync ) The user can specify a Synchronization instance to be notified on transaction completions. The beforeCompletion method is called prior to flushing instances to the data store. The afterCompletion method is called


Method javax.jdo.PersistenceManager Object removeUserObject( Object key ) Remove the specified key and its value from the map of user objects. Parameters: key - the key of the object to be removed Since: JDO 2.0

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