How does xdata handle Mysql Longtext field types

That's how BLOBs work in XData. It's explained in the documentation here:

https://doc.tmssoftware.com/biz/xdata/guide/aurelius.html#addressing-streams-blobs

Alternatively you can use this approach if you don't mind about lazy loading: