About persist

api-jdo

JDO Predefined ID Classes

The following classes serve as predefined ID classes for persistence capable classes with a simple single field primary key (whose type is one of the supported simple types): javax.jdo.identity.ByteIdentity javax.jdo.identity.CharIdent ...

 
tutorial

Eclipse/JPA Web Application Tutorial

Step by step tutorial that demonstrates how to build a simple database web application (with Servlet and JSP) in Eclipse using JPA. This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic g ...

 
api-jpa

javax.persistence.Entity

Specifies that the class is an entity.(Annotation of JPA)

 
forum_thread

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type and run DB Doctor on the exiting DB file in order to update the schema. The fields are added to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached DB file is what was produced by DB Doctor after adding the emergency and broadcast fields. If you run in DB Explorer #1 2014-05-29 03:04 Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable typ ...

 
api-jpa

MapKeyColumn.insertable

(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.(Annotation Element of javax.persistence.MapKeyColumn)

 
api-jpa

getParameter(position, type)

Get the parameter object corresponding to the declared positional parameter with the given position and type.(Method of javax.persistence.Query)

 
api-jdo

PersistenceCapable.table

Table to use for persisting this class or interface.(Annotation Element of javax.jdo.annotations.PersistenceCapable)

 
api-jdo

Constants.PMF_ATTRIBUTE_READONLY

The name of the persistence manager factory element's "readonly" attribute.(Static Field of javax.jdo.Constants)

 
forum_thread

can not use spring-data-jpa repository with NamedQuery

in spring-data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/#jpa.query-methods.named-queries for example #1 2011-04-29 19:39 in spring-data-jpa named queries are used to implement repository interface methods, see http://stati ...

 
api-jpa

getPersistenceProviders()

Returns a list of the PersistenceProvider implementations available in the runtime environment.(Method of javax.persistence.spi.PersistenceProviderResolver)