I'm using an ORM framework. It tries to generate the appropriate object of the 
data value using the returned data type.  No type, no object. My only option 
would be to tear into the framework and bypass/override a lot of code, thereby 
potentially nullifying the need of the framework. 

I guess I'm mystified why there are types not returned. Other tools show/return 
them?  Please enlighten me. 

Brad Selfridge
913-269-2385

> On Oct 28, 2014, at 6:20 AM, Norbert <norb...@linuxnetworks.de> wrote:
> 
> Hi Brad
> 
> I don't know the Smalltalk implementation but OpenDBX still returns the value 
> when you call opendbx_field_value() even if the exact type is unknown.
> 
> For MySQL timestamps it's a string representation of an integer value. If you 
> know that your column is a timestamp, you can use it as such in your 
> application.
> 
> 
> Norbert
> 
> 
> Brad Selfridge <bsselfri...@gmail.com> schrieb:
> 
>> I am trying to convert an application to Smalltalk and the MySQL database is 
>> riddled with timestamp column types. However, OpenDbx returns an unsupported 
>> data type for time stamps. It is impossible to convert the column type to 
>> DateTime. Is there any possibility of adding timestamp as a supported type 
>> for Mysql?
>> 
>> Brad Selfridge
>> 
>> Sent from my iPad
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> libopendbx-devel mailing list
>> libopendbx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
>> http://www.linuxnetworks.de/doc/index.php/OpenDBX
> ------------------------------------------------------------------------------
> _______________________________________________
> libopendbx-devel mailing list
> libopendbx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
> http://www.linuxnetworks.de/doc/index.php/OpenDBX

------------------------------------------------------------------------------
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to