• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in finder method  RSS feed

 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
following is my finder method.

following is the error i am getting at the time of deployment

any idea why this error is coming?
 
Sergiu Truta
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With JBoss, for timestamps I am using numbers inside the database (Oracle) and BigDecimal in my beans/DTOs.
You could try this solution. I'm not really sure all application servers support java.sql.Timestamp. For example I have found on
"http://otn.oracle.com/tech/java/oc4j/904/content_preview.html" that Oracle9iAS Container for J2EE (9.0.4)has a new feature "Support has been added for java.util.Date, java.sql.Date, java.sql.Time, java.sql.Timestamp in EJB-QL." So I say it depends on the application server whether you can use timestamp or not inside your EJB-QL queries. What do you think guys?
[ January 21, 2004: Message edited by: sergiu truta ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!