-->
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.  [ 4 posts ] 
Author Message
 Post subject: Exception specified cast is not valid with simple mapping
PostPosted: Tue Dec 13, 2005 6:30 am 
Newbie

Joined: Tue Dec 13, 2005 6:00 am
Posts: 3
Hello

I'm doing a simple nhibernate 1.01, NET 2.0, Visual Studio 2005 application with maps a vary simple Access database ( 2 tables without relations between them ).

I have a table called T


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 7:36 am 
Newbie

Joined: Tue Dec 13, 2005 6:00 am
Posts: 3
Hello again

Checked with nhibernate 0.9 and it works.

I don't understand anything :cry:

Greetings


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 10:40 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
You have some properties of OperacionPreventivo mapped incorrectly (for example an Int16 property is mapped as Int32 or something like that).


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 17, 2005 7:09 am 
Newbie

Joined: Tue Dec 13, 2005 6:00 am
Posts: 3
You are right.

Changing from Int16 to Int32 works fine with nhibernate 1.0.

Thanks for the info


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

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.