What is org.springframework.orm.hibernate3.support.BlobByteArrayType good?

What is org.springframework.orm.hibernate3.support.BlobByteArrayType useful for?
Why not map byte[]Hibernate " binary " as the base type ?

What are the differences? When to use which?

Thanks!

+5
source share
1 answer

BlobByteArrayType allows you to map an arbitrary array of bytes in the Blob field in the database. The hibernate binary type allows you to map an array of bytes in the varbinary field .

MySQL, Blob varbinary, , .

+1

All Articles