-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: @past and ORA-02436 issue
PostPosted: Mon Apr 07, 2008 5:50 pm 
Newbie

Joined: Thu Feb 24, 2005 1:30 pm
Posts: 4
Location: Los Angeles
Data base: Oracle XE 10g
hibernate.dialect=org.hibernate.dialect.Oracle9Dialect


Payment.java

Code:
@Past
@Column(name = "payment_date")
@Temporal(TemporalType.DATE)
public Date getPaymentDate() {




schemaexport ant task creates schema.sql as:

payment_date date check (payment_date < current_date),

Then Oracle doesn't like it and says:
Code:
ERROR  04/07 14:42 [main] SchemaExport.create(275) | ORA-02436: date or system variable wrongly specified in CHECK constraint

_________________
--
Reza


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.