ModelFieldType.getJavaClass()

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

ModelFieldType.getJavaClass()

Adam Heath-2
What happened to the above method?  This is related to 959470.
Reply | Threaded
Open this post in threaded view
|

Re: ModelFieldType.getJavaClass()

Adrian Crum
It was removed when I took the conversion framework code out of the
entity engine.

-Adrian

On 7/28/2010 3:39 PM, Adam Heath wrote:
> What happened to the above method?  This is related to 959470.
>
Reply | Threaded
Open this post in threaded view
|

Re: ModelFieldType.getJavaClass()

Adam Heath-2
On 07/28/2010 05:58 PM, Adrian Crum wrote:
> It was removed when I took the conversion framework code out of the
> entity engine.

I know that.  But what is the replacement?  How can I get the
java.lang.Class for an entity field?  I'm asking because I didn't see
a way to do so.
Reply | Threaded
Open this post in threaded view
|

Re: ModelFieldType.getJavaClass()

Adrian Crum
On 7/28/2010 4:07 PM, Adam Heath wrote:
> On 07/28/2010 05:58 PM, Adrian Crum wrote:
>> It was removed when I took the conversion framework code out of the
>> entity engine.
>
> I know that. But what is the replacement? How can I get the
> java.lang.Class for an entity field? I'm asking because I didn't see a
> way to do so.

I guess we could put it back. I added it when I put the conversion
framework stuff in the entity engine. The class was needed to select the
correct converter.

-Adrian
Reply | Threaded
Open this post in threaded view
|

Re: ModelFieldType.getJavaClass()

Adam Heath-2
On 07/28/2010 06:11 PM, Adrian Crum wrote:

> On 7/28/2010 4:07 PM, Adam Heath wrote:
>> On 07/28/2010 05:58 PM, Adrian Crum wrote:
>>> It was removed when I took the conversion framework code out of the
>>> entity engine.
>>
>> I know that. But what is the replacement? How can I get the
>> java.lang.Class for an entity field? I'm asking because I didn't see a
>> way to do so.
>
> I guess we could put it back. I added it when I put the conversion
> framework stuff in the entity engine. The class was needed to select the
> correct converter.

Additionally, JdbcValueHandler should be generified, similiar to the
conversion framework.
Reply | Threaded
Open this post in threaded view
|

Re: ModelFieldType.getJavaClass()

Adrian Crum
On 7/28/2010 4:13 PM, Adam Heath wrote:

> On 07/28/2010 06:11 PM, Adrian Crum wrote:
>> On 7/28/2010 4:07 PM, Adam Heath wrote:
>>> On 07/28/2010 05:58 PM, Adrian Crum wrote:
>>>> It was removed when I took the conversion framework code out of the
>>>> entity engine.
>>>
>>> I know that. But what is the replacement? How can I get the
>>> java.lang.Class for an entity field? I'm asking because I didn't see a
>>> way to do so.
>>
>> I guess we could put it back. I added it when I put the conversion
>> framework stuff in the entity engine. The class was needed to select the
>> correct converter.
>
> Additionally, JdbcValueHandler should be generified, similiar to the
> conversion framework.

I agree. I tried to do that, but I ran into too many problems and I
didn't have time to work on it any further.