ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
3

JPA Primary Key

. java.lang.String. java.util.Date, java.sql.Date, java.sql.Time, java.sql.Timestamp. Any enum type ... ; : } @Embeddable Class EventId { int sensorId; Date time; } Because entity objects are ordered
3

javax.persistence.TypedQuery

() Get the current lock mode for the query. Get the current lock mode for the query. Returns: lock mode ... if the argument is of incorrect type Since: JPA 2.0 Query setParameter(int position, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a positional parameter. Bind an instance of java
3

Storing JPA Entity Objects

is thrown. The exception is thrown either by persist (if that existing entity object is currently ... to the database is sometimes also useful before executing queries in order to get up to date results
3

Online Backup

on the server side). A new subdirectory with a name that reflects the current date and time (e.g
3

General Settings and Logging

<yyyymmdd>.log (where <yyyymmdd> represents the date). A new log file is also generated when the log ... of the subsystem loggers are currently undocumented and can change at any time without notice. The supported
0

Step 2: Entity Class and Persistence Unit

; import java.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue ... Long id; private String name; private Date signingDate; // Constructors: public ... ; this.signingDate = new Date(System.currentTimeMillis()); } // String Representation: @Override
0

Step 2: Define a JPA Entity Class

.Serializable; import java.sql.Date; import javax.persistence.Entity; import javax.persistence ... @GeneratedValue Long id; private String name; private Date signingDate ... ; this.signingDate = new Date(System.currentTimeMillis()); } // String Representation
0

Step 2: Define a JPA Entity Class

code: package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence ... Date signingDate; // Constructors: public Guest() { } public Guest(String name) { this.name = name; this.signingDate = new Date(System.currentTimeMillis
0

[ODB1] Chapter 3 - Persistent Classes

and String. Selected classes in package java.util: Date, Locale, HashSet, TreeSet, ArrayList ... converted into an instance of the new up-to-date persistent class. The conversion is straightforward ... type. If casting is illegal (for example from int to Date) the field is initialized with a default
0

javax.jdo.PersistenceManager

has no effect if the instance is already deleted in the current transaction. This method throws ... and manipulation outside of a JDO environment. When detaching instances, only fields in the current FetchPlan ... must either be in the default-fetch-group, or in the current custom FetchPlan. Parameters: pcs

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