FOSRestBundle & JMSSerializer: Getting UUID packed in a BINARY(16) field from MySQL

127 views
Skip to first unread message

José Luis Gallego

unread,
Nov 5, 2014, 4:12:37 AM11/5/14
to resting-wi...@googlegroups.com
Hello,

I'm facing a problem dealing with binary fields (UUID packed as a binary(16) in MySQL).

I've posted this question on Stack Overflow: http://stackoverflow.com/questions/26659740/symfony2-fosrestbundle-getting-uuid-packed-in-a-binary16-field-from-mysql

There you can find more details.

What I have achieved so far is getting the binary value coded in HEX in the log, before returning the results from the controller. But still JMSSerializer returns an exception and, as a result, a 500 error is returned.

Has anybody made any tests with binary UUIDs?

Thanks.

Reply all
Reply to author
Forward
0 new messages