ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
8

javax.persistence.EntityManager

. The select list of the query must contain only a single item, which must be assignable to the type ... resultClass - the type of the query result Returns: the new query instance Throws: IllegalArgumentException ... or if the query result is found to not be assignable to the specified type Since: JPA 2.0 Query
8

javax.persistence.metamodel.MapAttribute

>>, Bindable<V>, PluralAttribute<X,Map<K,V>,V> Instances of the type MapAttribute represent persistent java.util.Map-valued attributes. Since: JPA 2.0 Class<T> getBindableJavaType() Return the Java type of the represented object. Return the Java type of the represented object. If the bindable type
7

JPA Miscellaneous

This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations:
7

Entity Management Settings

") specifies whether the Enhancer Agent should be loaded to enhance persistable types on the fly ... mechanisms for entities: The ref attribute specifies the reference type for holding non dirty entities in ... method for instances of serializable types that are non persistable otherwise (e.g. a user defined
7

Storing JPA Entity Objects

of other persistable types can only be stored in the database embedded in containing entities (as ... already contains another entity of the same type with the same primary key, an EntityExistsException ... ().commit(); Instances of persistable types other than entity classes are automatically stored
7

JPA Criteria API Queries

); List<Country> results = query.getResultList(); Because eventually both types of queries ... , currentDate, ...). Paths, navigation and types (get, type). Arithmetic expressions (sum, diff, prod
7

javax.persistence.Query

not support this use Since: JPA 2.0 Parameter<T> getParameter(int position, Class<T> type) Get the parameter object corresponding to the declared positional parameter with the given position and type ... and type. This method is not required to be supported by the provider. Parameters: position
7

javax.persistence.metamodel.SetAttribute

>>, Bindable<E>, PluralAttribute<X,Set<E>,E> Instances of the type SetAttribute represent persistent java.util.Set-valued attributes. Since: JPA 2.0 Class<T> getBindableJavaType() Return the Java type of the represented object. Return the Java type of the represented object. If the bindable type
1

Step 5: Add a JSP Page

import="guest.*"%> <jsp:useBean id="guestDao" type="guest.GuestDao" scope="request" /> <!DOCTYPE ... > <body> <form method="POST" action="guest.html"> Name: <input type="text" name="name" /> <input type="submit" value="Add" /> </form> <hr><ol
1

Step 5: Add a JSP Page

" pageEncoding="ISO-8859-1"%> <%@page import="guest.*"%> <jsp:useBean id="guestDao" type="guest.GuestDao ... "> Name: <input type="text" name="name" /> <input type="submit" value="Add

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