<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : IdGenerator doesn&#039;t work with Tinyint columns</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : IdGenerator doesn&#039;t work with Tinyint columns</description>
  <pubDate>Sat, 11 Apr 2026 06:48:26 -700</pubDate>
  <lastBuildDate>Thu, 12 Jul 2007 15:39:04 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=205</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>IdGenerator doesn&#039;t work with Tinyint columns : This is a limitation of our implementation...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=205&amp;PID=451#451</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 205<br /><strong>Posted:</strong> 12-Jul-2007 at 3:39pm<br /><br /><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This is a limitation of our implementation of IdGenerator for numeric and identity columns.&nbsp; We tried to make these generators as flexible as possible so that they could be used with a variety of column sizes, but it’s quite likely that we forgot about the case of tinyint.&nbsp; I’ll add a low priority Feature Request for this.&nbsp; If you are using our implementation of the NumericIdGenerator, you could probably add this feature on your own.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 15:39:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=205&amp;PID=451#451</guid>
  </item> 
  <item>
   <title>IdGenerator doesn&#039;t work with Tinyint columns : If I have a tinyint in the PK...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=205&amp;PID=450#450</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 205<br /><strong>Posted:</strong> 12-Jul-2007 at 3:38pm<br /><br /><P>If I have a tinyint in the PK field, and even if&nbsp;the field is autoincrement, an exception is thrown when the newly created entity is added to the persistence manager.&nbsp; I forget what the exception name was, but I could reproduce it.<SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><DIV><P =Ms&#111;normal><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV><DIV><P =Ms&#111;normal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">I also found that when I changed the PK/autoincrement field to a smallint, the problem went away.</SPAN></P></DIV>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 15:38:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=205&amp;PID=450#450</guid>
  </item> 
 </channel>
</rss>