Hi,

I am deploying my application in jboss-4.2.0.CR2. Using Oracle9i. Ejb3.0,JSF.

Getting following exception.  Don't know why 

Caused by: org.hibernate.HibernateException: Wrong column type: CREATE_TIME, 
expected: date

Below is my EJB entity bean code, Here I used java.util.Date 

  | @Column(name = "CREATE_TIME")
  | private Date createTime;
  | 

And the actual table column datatype is like this.
CREATE_TIME     TIMESTAMP(6)    Y       sysdate 

Even I used @Temporal(TemporalType.TIMESTAMP) Still giving same problem

Please suggest.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050645#4050645

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050645
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to