[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1170) Mapping SQL Timestamp and Date in a different way

Gerd Saurer (JIRA) noreply at atlassian.com
Thu Nov 25 08:14:13 EST 2010


Mapping SQL Timestamp and Date in a different way
-------------------------------------------------

                 Key: HBX-1170
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1170
             Project: Hibernate Tools
          Issue Type: Bug
    Affects Versions: 3.2.4.GA
            Reporter: Gerd Saurer
            Priority: Critical


Oracle10gDialect is configured

if i am using following Type maping in the reveng file 

<sql-type jdbc-type="TIMESTAMP" hibernate-type="java.util.Date" />
<sql-type jdbc-type="DATE" hibernate-type="at.XYZ" />

all properties are generated using the TIMESTAMP Type even in the DB there are DATE and TIMESTAMP columns

at.XYZ is a HibernateType i use to remove the time part of the date

	

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list