What is org.springframework.orm.hibernate3.support.BlobByteArrayType good for?
Why not map a byte[] as the Hibernate basic type “binary“?
What are the differences? When to use which?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The BlobByteArrayType lets you map arbitrary byte array into a Blob field in the database. The binary type of hibernate allows you to map a byte array into a varbinary field.
In MySQL, Blob is very similar to varbinary, but it can grow as much as you like.