开发者

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?


  1. Yes, 2. @Lob
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜