Trying to configure the FileType as it used to work.

In theory this is doable by registering the type manually with hibernate instead of referring to it just from the config files.