JPA storing various types of files in database.(JEE6)
I have 2 questions:
1-开发者_运维问答In a byte[] variable inside an entity,can i store any type of file(images,pdf,mp3...), or is there any limitation?
2-What annotation does the variable need?
- Yes, 2.
@Lob
精彩评论