ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
109

log entry date/time

It would be very useful if each entry in the log file has a date/time stamp. Thanks, Carl FastModel Ben Schreiber Version 2.2.2 adds date/time stamps to the log. Thank you for your suggestion. support Support
109

In version 2.5.2_05 does not work greatest by Date

In earlier versions this query worked fine. In version 2.5.2_05 does not work .orderBy(cb.desc(cb.greatest(root.get("createDate").as(Date.class)))).distinct(true) Thank you for your help. galandor Orlov Sergey Please try build 2.5.2_06 that should fix this regression (of casting to Date). support Support
107

Entity Update - Is the documentation up to date?

is always expected to be up to date with the last ObjectDB version. > First, I've been modifying managed
21

Database Schema Evolution

of an old schema is loaded into memory it is automatically converted into an instance of the up to date ... int to Date) the fields are not considered as matching and the new field is initialized ... any date type to any date type. From any collection or array type to any collection or array type, as
18

Index Definition

indexedField3; @Unique Integer indexedField4; // unique @Unique(name="u2") Date indexedField5 ... , Long, Float, Double. java.math.BigInteger, java.math.BigDecimal. java.lang.String. java.util.Date, java.sql.Date, java.sql.Time, java.sql.Timestamp. Any enum type. Reference to an entity object
3

Step 2: Entity Class and Persistence Unit

.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax ... ; private String name; private Date signingDate; // Constructors: public Guest() { } public Guest(String name) { this.name = name; this.signingDate = new Date
3

Step 2: Entity Class and Persistence Unit

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

Step 2: Entity Class and Persistence Unit

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

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
3

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

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