ObjectDB Database Search

51-58 of 58 results

Problem with entities detection

.persistence.OneToMany; import javax.persistence.Table; import javax.persistence. Temporal ; import javax ... _nacimiento") @ Temporal (TemporalType.DATE) private Date fecha_nacimiento; private int[] telefonos

_PersistenceException: Type is not found on getSingleResult.

;  @ Temporal (TemporalType.DATE)     private Date fechaNacimiento;    

Error using query with MAX() function

@ Temporal (value = TemporalType.TIMESTAMP) private Date changeDate; public int getId() { return id

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Quick example:  public class MyClass { @Column(name = "myText") String myText; @ Temporal (TemporalType.TIMESTAMP) @Column(name = "myDate") Date myDate; } Now, when querying the db with: Query q = JPA.em().createQuery("SELECT m FROM MyClass m WHERE m.myDate LIKE :query OR m.myText LIKE :query

Auto Date for Creation and Update

and time when book author has been created. */ @ Temporal (TemporalType.TIMESTAMP) private Timestamp

Setting temp directory location in ObjectDB

directory where fileName.odb is located. But i want to set the tempority folder location

java.sql.Timestamp with milliseconds

Using JPA with other providers java.util.Date will not provide support to store milliseconds, this can usually be overcome using (see here http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/Timestamp.html) @Id @Column(name = "STMP") @ Temporal (TemporalType.TIMESTAMP) private Timestamp

Entity with java.util.Date column gives ClassCastException in BIRT

; @ Temporal (value = TemporalType.DATE)     private Date birthdate;     /**