About mapping

forum_thread

OEM enhancing

Hello, I have question regarding OEM licence enhancement. @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)  private SomeClass[] props; @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)     private Map<String, SomeClass2> vars = new TreeMap<String, SomeClass2>(); Are these classes(SomeClass, SomeClass2), when not enhanced, limited by number 1 million instances in DB? Thanks Marta   #1 2013-06-07 08:23 Hello, I have question regarding OEM licence enhancement. @ OneToMany ( fetch ...

 
forum_thread

Spring 4 setup

Can someone provide an example of setup ObjectDB embeded to be used with Spring4? Existing examples is like for Spring3 and I can't figure how to use ObjecDB in Spring tutorial: http://spring.io/guides/gs/accessing-data-jpa/   Thanx. #1 2014-09-20 10:26 Can someone provide an example of setup ObjectDB embeded to be used with Spring4? Existing examples is l ...

 
issue

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package.jdo) JDO Annotations All these... ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JPA 2 Annotations Reference ...

 
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. ... to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB ...

 
forum_thread

Using a file extension other than .odb

I love that ObjectDB's implementation of Persistence.createEntityManagerFactory(...) treats a parameter ending in .odb as a file name rather than a persistence unit name.  It makes opening a DB in my app as easy as selecting it from a file chooser. However, I wish that I could use a file extension other than odb.  Since this functionality is already non-standard, why not allow it?  Perhaps any string beginning with "file://" could be treated this way. #1 2011-07-28 07:32 I love that ObjectDB's implementation of Persistence.createEntityManagerFactory(...) treats a parameter endin ...

 
api-jpa

javax.persistence.Query

Interface used to control query execution.(Interface of JPA)

 
api-jdo

Constants.ORM_XSD_RESOURCE

The name of the resource for the XML schema of the standard JDO object-relational mapping metadata file.(Static Field of javax.jdo.Constants)

 
api-jpa

javax.persistence.Inheritance

Defines the inheritance strategy to be used for an entity class hierarchy.(Annotation of JPA)

 
api-jpa

javax.persistence.GeneratedValue

Provides for the specification of generation strategies for the values of primary keys.(Annotation of JPA)

 
api-jpa

SecondaryTable.uniqueConstraints

(Optional) Unique constraints that are to be placed on the table.(Annotation Element of javax.persistence.SecondaryTable)