• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

problem in finder method

 
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic