try this did not work. <property name="createdTS" column="RECORD_CREATE_GMTS" type="Timestamp" /> 2011-02-12 12:43:48,116 [10] DEBUG NHibernate.Type.StringType [(null)] - binding 'L6050100' to parameter: 0 2011-02-12 12:43:48,116 [10] DEBUG NHibernate.Type.TimestampType [(null)] - binding '12:43 PM' to parameter: 1 2011-02-12 12:43:48,116 [10] DEBUG NHibernate.Type.StringType [(null)] - binding 'randomSeed' to parameter: 2 2011-02-12 12:43:48,116 [10] DEBUG NHibernate.Type.Int32Type [(null)] - binding '210' to parameter: 3 2011-02-12 12:43:48,131 [10] DEBUG NHibernate.SQL [(null)] - INSERT INTO ICN_GENERATOR (DNS_NM, RECORD_CREATE_GMTS, ICN_SEED_NM, ICN_GENERATOR_ID) VALUES (:p0, :p1, :p2, :p3);:p0 = 'L6050100' [Type: String (8)], :p1 = 2/12/2011 12:43:48 PM [Type: DateTime (0)], :p2 = 'randomSeed' [Type: String (10)], :p3 = 210 [Type: Int32 (0)]
On Sat, Feb 12, 2011 at 12:06 PM, Fabio Maulo <[email protected]> wrote: > type="Timestamp" > > > On Sat, Feb 12, 2011 at 2:35 PM, YingGuo <[email protected]> wrote: > >> I am trying to persist milli seconds of Datetime into oracle >> timestamp. >> Some milli seconds is not been save. Any clue? >> >> I saw a few posts however could not get a clear answer. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "nhusers" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/nhusers?hl=en. >> >> > > > -- > Fabio Maulo > > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
