db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r764238 - in /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA: JPAAppCompany.java JPAAppEmployee.java JPAAppPerson.java
Date Sat, 11 Apr 2009 19:44:57 GMT
Author: andyj
Date: Sat Apr 11 19:44:56 2009
New Revision: 764238

URL: http://svn.apache.org/viewvc?rev=764238&view=rev
Log:
JDO-629 Changed @Temporal type to TIMESTAMP so we can still check on the full date/time and
don't have to delve through the code to find the comparison for date components

Modified:
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppCompany.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppEmployee.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppPerson.java

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppCompany.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppCompany.java?rev=764238&r1=764237&r2=764238&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppCompany.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppCompany.java
Sat Apr 11 19:44:56 2009
@@ -53,7 +53,7 @@
     @Column(name="NAME")
     private String      name;
     @Column(name="FOUNDEDDATE")
-    @Temporal(TemporalType.DATE)
+    @Temporal(TemporalType.TIMESTAMP)
     private Date        founded;
     @Basic
     @Embedded

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppEmployee.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppEmployee.java?rev=764238&r1=764237&r2=764238&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppEmployee.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppEmployee.java
Sat Apr 11 19:44:56 2009
@@ -42,7 +42,7 @@
 public abstract class JPAAppEmployee extends JPAAppPerson implements IEmployee {
 
     @Column(name="HIREDATE")
-    @Temporal(TemporalType.DATE)
+    @Temporal(TemporalType.TIMESTAMP)
     private Date             hiredate;
     @Column(name="WEEKLYHOURS")
     private double           weeklyhours;

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppPerson.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppPerson.java?rev=764238&r1=764237&r2=764238&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppPerson.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppPerson.java
Sat Apr 11 19:44:56 2009
@@ -58,7 +58,7 @@
     @Column(name="MIDDLENAME")
     private String  middlename;
     @Column(name="BIRTHDATE")
-    @Temporal(TemporalType.DATE)
+    @Temporal(TemporalType.TIMESTAMP)
     private Date    birthdate;
     @Embedded
         @AttributeOverrides({



Mime
View raw message