|
Re: Eint or EIntegerObject? primitive types and some debug messages--should I worry? [message #429823 is a reply to message #429822] |
Sun, 03 May 2009 18:40 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Certainly Integer object will take up a lot more space than will just a
primitive int...
aappddeevv wrote:
> I have a class that has a property with @Id set on it. The primary key
> is an int both in the schema definition using the SQL Server 2005
> admin tool and generated via EMF using EInt as the type.
>
> However, when I run it with teneo I get a debug message:
>
>
> 9700 [main] DEBUG
> org.eclipse.emf.teneo.hibernate.mapping.property.EAttributeP ropertyHandler
> - Expecting int as instance class but it is: java.lang.Integer
>
>
> Is this a problem that I should work to solve? Changing the EInt to
> EIntegerObject makes the message go away but I am not sure if there
> are other side effects I should worry about.
>
> This seems to be true for me whether or not it is a primary key. Is
> there a setting somewhere that I should be setting to identify
> primitive versus non-primitive/object types?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03431 seconds