-->
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: Mapping unsigned type ?
PostPosted: Mon Oct 31, 2005 3:20 pm 
Hi

Well, i need to save some ushort values in my database but the UInt16 type seems to be only evalable with SQLiteDialect. Am i wrong here ? And does it's possible to do such mapping using MySql or SQLServer ?


Top
  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 6:40 pm 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Yes it should be possible to use UInt16. SchemaExport might not work with them, but everything else should work ok. If it doesn't, file a bug report.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 7:50 pm 
When i use MySQLDialect and try to map a ushort with a UInt16 i have the following exception at the startup :

[code]00:46:38,155 - [MAIN] - ERROR - DOL.GS.GameServer - Error loading Database
System.ArgumentException: Dialect does not support DbType.UInt16
Nom du param


Top
  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 7:57 pm 
Well now another question, does it is planned to enable it int the SchemaExport and when if possible ?


Top
  
 
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.