Fast Object Database for Java - with JPA/JDO support

Internal Website Search

91-100 of 200 resultsRefresh
5

Step 5: Add a JSP Page

" pageEncoding="ISO-8859-1"%> <%@page import="guest.*"%> id="guestDao" type="guest.GuestDao
5

Step 3: Define an EJB Session Bean

ORDER BY g.id", Guest.class); return query.getResultList(); } } The GuestDao session
5

Step 3: Define a Spring DAO Component

( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return query
5

[ODB1] Chapter 7 - JDOQL Queries

object IDs from lower to higher, which means that objects will be returned in the order in
5

Query in JPA2 with LEFT JOIN on INNER JOIN

How write a query in JPA2 with LEFT JOIN on INNER JOIN? select a.description, a.id, p1.description, p2.description,p3.description from action a left join action_profile ap1 on ap1.id_action=a.id inner join profile p1 on ap1.id_profile=p1.id and p1.name='?' left join action_profile ap2 on ap2
5

javax.persistence.GeneratedValue

conjunction with the Id annotation. The use of the GeneratedValue annotation is only required ... primary keys. Example 1: @Id @GeneratedValue(strategy=SEQUENCE, generator="CUST_SEQ") @Column(name="CUST_ID") public Long getId() { return id; } Example 2: @Id
5

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

the parameter instance from the second-level cache. Parameters: oid - the object id of the instance ... . Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void evictAll(Collection oids ... the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void
5

javax.persistence.OneToOne

// On Customer class: @OneToOne(optional=false) @JoinColumn( name="CUSTREC_ID", unique ... : @Entity public class Employee { @Id Integer id; @OneToOne @MapsId EmployeeInfo ... { @Id Integer id; ... } Example 3: One-to-one association from an embeddable class
5

javax.jdo.datastore.DataStoreCache

instance from the second-level cache. Parameters: oid - the object id of the instance to evict ... . Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void evictAll(Collection oids ... the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void
5

javax.jdo.PersistenceManagerFactory

setting. Since: JDO 1.0 String getServerTimeZoneID() Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. If not set, assume that the server has the same TimeZone ID as the client. Returns

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