ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
10

JPA Persistable Types

, Mapped superclasses, Embeddable classes. Simple Java data types: Primitive types, Wrappers, String ... public class Address { String street; String city; String state; String country; String zip; } Instances of embeddable classes are always embedded in other entity objects
10

JPA Criteria API Queries

JPQL queries are defined as strings, similarly to SQL. JPA criteria queries, on the other hand ... rather than at runtime. On the other hand, for many developers string based JPQL queries, which are very similar to SQL queries, are easier to use and understand. For simple static queries - string based JPQL queries (e
9

SELECT clause (JPQL / Criteria API)

, the following query returns country names as String instances, rather than Country objects: SELECT c.name ... results. The results of the above query are received as a list of String values: TypedQuery<String> query = em.createQuery( "SELECT c.name FROM Country AS c", String.class); List<String
8

Database Connection using JPA

of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Map<String, String> properties = new HashMap<String, String>();   properties.put("javax.persistence.jdbc.user ... , bypassing the need for a persistence unit. Any string that starts with objectdb: or ends with .odb or
8

Database Explorer

execution of JPQL and JDOQL queries. To execute a query: Enter a query string. In the [Parameters ... the new value. Use the Edit > Edit Multi Line String command to edit a multi-line string. Reference ... the following settings: The [Encoding] combo box is useful when strings in the database are not encoded using
7

Comparison in JPQL and Criteria API

, Double), BigInteger and BigDecimal can be compared by using any comparison operator. String values can be compared by using any comparison operator. Equality operators (=, <>, ==, !=) on strings in queries ... but not to a String instance. [NOT] BETWEEN The BETWEEN operator is a convenient shortcut
0

javax.jdo.Constants

. Since: JDO 2.1 String ANONYMOUS_PERSISTENCE_MANAGER_FACTORY_NAME The name of the anonymous PersistenceManagerFactory, which is the empty string. The name of the anonymous PersistenceManagerFactory, which is the empty string. Since: JDO 2.1 String ELEMENT_INSTANCE_LIFECYCLE_LISTENER The name of the instance
0

[ODB1] Chapter 4 - JDO Metadata

. String and Integer), types defined in java.math (e.g. BigInteger), and java.util.Date. Collections ... . Wrapper objects, strings, dates, collections and arrays are embedded by default. To use them as non ... with default values (e.g. new Integer(0) for a java.lang.Integer field, "" for a java.lang.String
0

[ODB1] Chapter 9 - ObjectDB Explorer

the "Edit Multi Line String" command to edit a multi line string. Use the "Set Reference" command ... . The "Encoding" combo box should reflect the encoding of strings in the database. ObjectDB stores String instances in the database using the same encoding that they have in memory, which is usually
0

javax.jdo.Query

only for this execution, and are not remembered for future execution. Since: JDO 1.0 String JDOQL The string constant used as the first argument to PersistenceManager.newQuery(String,Object) to identify that the created query should obey the JDOQL syntax and semantic rules. The string constant used

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