Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4595140
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:55:40+00:00 2026-05-21T22:55:40+00:00

I have a query: select TO_DATE(TRUNC(table1.DATE_SENT)) AS dateSent Datatype of DATE_SENT is : Timezone

  • 0

I have a query:

select TO_DATE(TRUNC(table1.DATE_SENT)) AS "dateSent"

Datatype of DATE_SENT is : Timezone with TimeStamp

This works in WAS 6.1 but in WAS 7.0 I get :

No dialect mapping for JDBC type : -9

I suspect this is because of the different hibernate implementations between WAS 6 and WAS 7.
But how do i solve this? We need to move to WAS 7.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T22:55:41+00:00Added an answer on May 21, 2026 at 10:55 pm

    Look at the java.sql.Types.

    See what is the int constant that corresponds to -9.

    That should tell you what is the type that it is complaining about.

    You might have to write some custom code if there is no native support for that data type.

    I don’t have a WAS 7 or a JDK 6 in front of me to help out.

    Check this one out to get some ideas:

    http://javaalert.wordpress.com/2008/05/31/no-dialect-mapping-for-jdbc-type-7/

    HTH

    Manglu

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a query like this: select to_date(to_char(registime, 'YYYY-MM'),'YYYY-MM') as dt,count(id) as total_call from
I am trying to have information displayed for this query: SELECT o.sub_number,o.unique_id,o.period_from,o.period_to,o.total_amt, i.paid_amt,i.dated,i.payment,i.paid_by,i.entered_date,i.paid_for_unique, j.cheque_num,j.drawn_on,j.dated
I seem to have a problem with this SQL query: SELECT * FROM appts
I have this query that runs fine: SELECT Value FROM data WHERE MetaDataID =
I have this query select date(fecha) as day, min(num) as mi from myTable where
I have this query: SELECT TA.id, T.duration, DATE_FORMAT(TA.startTime,'%H:%i') AS startTime, TEI.displayname, TA.threatment_id, TE.employeeid, TTS.appointment_date
I have a query in Oracle for a report that looks like this: SELECT
I have this query: SELECT TO_CHAR(HON.CREATE_DT,'DD-MM-YYYY') as CREATE_DT, HON.ACCOUNT_NO,(SELECT TO_CHAR(CURRENT_DATE - INTERVAL '7' DAY,
I have this query: SELECT COUNT(*) as clicks, DATE_FORMAT(FROM_UNIXTIME(click_date), '%w %M %Y') as point
I have two queries. The first query looks like this : SELECT subject_id, period,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.