This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Uploading a file can't be done - that is not what Hibernate is for. Assuming you have your file content in memory however, Hibernate does support binary data types, so you can persist it using this type.