<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Double, Long, Float, Custom Types--- Not Supported in Code Generation?"]]></title>
		<link>http://forums.visual-paradigm.com/posts/32.html</link>
		<description><![CDATA[Latest messages posted in the topic "Double, Long, Float, Custom Types--- Not Supported in Code Generation?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ When I Generate POJOs from DBVA 4.2, I get the following Error.<br> <br> Class  <i><&lt;class-name's&gt;>     </i>attribute  (<i><&lt;attribute-name&gt;> </i>: <b>java.lang.Double</b>)  <b>   must specify a supported type.</b><br> <br> I am getting these errors for   <u>Long</u>,      <u>Double</u>,      <u>Float</u>    and      <u>Custom Data Types</u>(Classes of our Model).<br> <br> But java.math.BigDecimal and java.lang.Integer work fine.<br> <br> I tried specifying these data types in the  <i>Modeling -> Application Options -> Data Types -> UML </i> and also in   <i>Modeling -> Application Options -> Data Types -> Java</i>.<br> But this did not help.<br> <br> Any suggestions on how to resolve it? Requesting help on this.<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#21856.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#21856.html</link>
				<pubDate><![CDATA[Tue, 26 Feb 2008 05:47:30]]></pubDate>
				<author><![CDATA[ sunilkroy]]></author>
			</item>
			<item>
				<title>Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ Hello sunilkroy,<br> <br> Would you mind send me your project file to have a look? Thanks in advance!<br> <br> Best regards,<br> Rain Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#21875.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#21875.html</link>
				<pubDate><![CDATA[Tue, 26 Feb 2008 11:55:58]]></pubDate>
				<author><![CDATA[ Rain]]></author>
			</item>
			<item>
				<title>Re:Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ I am attaching a dummy project here with the same issues. I am getting these data type related errors while generating code (POJOs). <br> <b>Please help.</b>]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23488.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23488.html</link>
				<pubDate><![CDATA[Sat, 8 Mar 2008 03:44:49]]></pubDate>
				<author><![CDATA[ sunilkroy]]></author>
			</item>
			<item>
				<title>Re:Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ Hello sunilkroy,<br> <br> There are 3 problems in your drawing. <br> <br> Problem 1:<br> The attribute "class1" in class "Class2" cannot be typed as "Class1". If you want to relate this attribute with Class1, please use association instead. <br> <br> Problem 2:<br> This is our mistake - The type for attribute cannot be fully qualified. If you want to use Long, type "Long" instead of "java.lang.Long". I already reported this problem to our team for bug fixing.<br> <br> Problem 3:<br> Class1 need to be "ORM Persistable". You can set it by assigning it with "ORM Persistable" stereotype.<br> <br> I am attaching an image to show you the correct way of drawing.<br> <br> Best regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23514.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23514.html</link>
				<pubDate><![CDATA[Tue, 11 Mar 2008 10:55:05]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ Dear sunilkroy,<br> <br> I would like to notify you that the problem of code generating is fixed and deployed. You can download and try the build in the following link. <br> I hope this solves your problem. <br> <br> <a href="http://files3.visual-paradigm.com/200803/Patch/sp1_20080311j/VP_Suite_Windows_3_2_sp1_20080311j.exe" target="_blank" rel="nofollow">http://files3.visual-paradigm.com/200803/Patch/sp1_20080311j/VP_Suite_Windows_3_2_sp1_20080311j.exe</a><br> <br> Best regards,<br> Lilian Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23718.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23718.html</link>
				<pubDate><![CDATA[Mon, 17 Mar 2008 16:44:15]]></pubDate>
				<author><![CDATA[ LilianWong]]></author>
			</item>
			<item>
				<title>Re:Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ Thank you very much, Jick & Wong.<br> You guys have been very helpful.<br> <br> Just wanted to confirm that if Class A is required to have 3 attributes (after code generation) with the data type as Class B, then we should have 3 Relations from Class A to Class B, with the role names matching the required attribute names.<br> <br> I tried this after Jick suggested that I should create a relation from Class A to Class B, instead of directly having an attribute with Type B, inside A. <br> <br> I created 3 relations from A to B & I got 3 attributes (after code generation) in A, with Type B.<br> <br> <b>Is this the required approach?</b>]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23778.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23778.html</link>
				<pubDate><![CDATA[Tue, 18 Mar 2008 04:05:41]]></pubDate>
				<author><![CDATA[ sunilkroy]]></author>
			</item>
			<item>
				<title>Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ Hello sunilkroy,<br> <br> Actually it is not necessary to have 3 association pointing to 3 attributes. By defining the name and type in association end already represent it will become an reference attribute in generated code. Defining both association end and attributes will only causing duplicated attribute. If you require any further information, please do not hesitate to contact me again.<br> <br> Best regards,<br> Rain Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23784.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23784.html</link>
				<pubDate><![CDATA[Tue, 18 Mar 2008 10:46:53]]></pubDate>
				<author><![CDATA[ Rain]]></author>
			</item>
			<item>
				<title>Re:Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ Oh, I think I did not explain properly.<br> When I created the 3 relations, I  <b>removed </b> the 3 attributes from the model that were present earlier. Then, when I generated the code, I got those 3 attributes in the code.<br> <b>What I really needed the confirmation for is whether it is fine to have 3 relations from Class A to Class B, or can there be any issues with that?</b>]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23860.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23860.html</link>
				<pubDate><![CDATA[Wed, 19 Mar 2008 00:33:43]]></pubDate>
				<author><![CDATA[ sunilkroy]]></author>
			</item>
			<item>
				<title>Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ It is absolutely fine to have 3 relationships from Class A o Class B. The meaning is just same as having 3 attributes in Class A which type is Class B.<br> <br> Best regards,<br> Rain Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23922.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23922.html</link>
				<pubDate><![CDATA[Wed, 19 Mar 2008 13:53:14]]></pubDate>
				<author><![CDATA[ Rain]]></author>
			</item>
			<item>
				<title>Re:Double, Long, Float, Custom Types--- Not Supported in Code Generation?</title>
				<description><![CDATA[ Thanks Wong, for heping.]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2879#23973.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2879#23973.html</link>
				<pubDate><![CDATA[Thu, 20 Mar 2008 01:56:19]]></pubDate>
				<author><![CDATA[ sunilkroy]]></author>
			</item>
	</channel>
</rss>