About map

release

2.3.4

Release date: 2011-11-25 Download (5.49 MB) Binary:  objectdb-2.3.4.zip You should start by following a  tutorial or reading the manual ...

 
api-jdo

javax.jdo.PersistenceManagerFactory

The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.(Interface of JDO)

 
forum_thread

@JoinColumn(nullable=false)

  During the evaluation of ObjectDB (We're currently developing with EclipseLink/mysql) I noticed was the following: #1 2011-08-01 20:44 During the evaluation of ObjectDB (We're currently developing with EclipseLink/mysql) I noticed was the ...

 
forum_thread

Persisting collection where members are subclasses

OK, I have a number of classes which are all subclasses of Entry (e.g., Folder, Link, Book). In the Folder class, there is a @OneToMany Map<String, Entry> children If I store something in that map which is an Entry, then I can persist just fine. But if I try to put any of the subclasses into the map, then I get  ... Link, Book). In the Folder class, there is a @OneToMany Map<String, Entry> children If I store something in that map which is an Entry, then I can persist just fine. But if I try to put any of ...

 
forum_thread

Entity Type is not found (error 301) in Query

Overall test OpenJPA, HibernateJAP, EclipseLink and ObjectDB. No Problem with OpenJPA, HibernateJAP, EclipseLink For ObjectDB there is one query in following method, where the full qualified class name is necessary. See method code - red part Otherwise an error will occure. ... = null ;   HashMap<String, Object> map = new HashMap<String, Object> ( ) ; if ... ( update == null ) { map. put ( "email" , getEmail ( ) ) ; ...

 
release

2.3.3

Release date: 2011-11-10 Download (5.49 MB) Binary:  objectdb-2.3.3.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Server connection management

The server does not appear to release broken connections. My typical development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the following in the server logs: ... The property can also be specified in properties map createEntityManager(map) EntityManagerFactory's method Create a new application-managed ...

 
forum_thread

mappedBy problem

If I put the mappedBy element to the @OneToMany, the owned side (the many side) will never persist ! for example @Entity public class Employee { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Long id; public String name; @OneToMany(targetEntity=Address.class,mappedBy="employee") public List<Address> addresses; }   @Entity #1 2010-06-12 18:03 If I put the mappedBy element to the @OneToMany, the owned side (the many side) will never persist ! for exa ...

 
api-jpa

javax.persistence.EntityListeners

Specifies the callback listener classes to be used for an entity or mapped superclass.(Annotation of JPA)

 
manual

Query Parameters in JPA

Explains how to use parameters (named parameters and ordinal parameters) in JPA queries.... . DATE TemporalType.DATE enum constant Map as java.sql.Date See JavaDoc Reference Page... ) ; ... . Date TemporalType.DATE enum constant Map as java.sql.Date See JavaDoc Reference Page... represents a ...