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.
Internal Website Search81-90 of 200 resultsRefresh
- if the statement execution exceeds the query timeout value set and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set ... object was set to retrieve. The position of the first result the query object was set to retrieve
of every reachable object or alternatively by setting automatic cascading persist. Cascading Persist Marking ... of Address, which is another entity class. Due to the CascadeType.PERSIST setting, when an Employee ... setting the ObjectDB configuration or in a JPA portable way, by specifying the cascade-persist XML
Logical operators in JPQL and in JPA criteria queries enable composition of complex JPQL boolean expressions out of simple JPQL boolean expressions. Logical Operators ObjectDB supports 2 sets of logical operators, as shown in the following table: Set 1 - JPQL / SQL Set 2 - Java / JDO AND && OR
can be set explicitly by using the name attribute of the Entity annotation: @Entity(name="MyName") public ... share the same class name, explicit entity name setting is required to avoid clashes. Mapped ... .util.List, java.util.Set, java.util.Map), and that is also a good practice when working with ObjectDB
the managed type Since: JPA 2.0 Set< Attribute<?,?>> getAttributes() Return the attributes ... declared in the managed type Since: JPA 2.0 Set< Attribute<X,?>> getDeclaredAttributes() Return ... set if the managed type has no declared attributes. Returns: declared attributes of the managed type
- if the statement execution exceeds the query timeout value set and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 1.0 int getFirstResult() The position of the first result the query object was set
.... Select the guestbook-spring directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately ... the green run icon (or Shift+F10). If the browser fails to open check the settings at File > Settings > Web Browsers.
is initialized to the same settings as that of the PersistenceManager. Subsequent modifications ... the fetch group to the set of active fetch groups. Add the fetch group to the set of active fetch groups ... getFetchSize() Return the fetch size, or FETCH_SIZE_OPTIMAL if not set, or FETCH_SIZE_GREEDY to fetch
.getFetchGroup, it is unscoped. When a FetchGroup is added to the set of active FetchGroups ... is removed from the set of active FetchGroups via PersistenceManagerFactory.removeFetchGroups ... . Using this category also sets the fetch-depth for the members in the default fetch group