Hi
Using
EJB - I'm trying to upload a pdf paper to a database. I've created a CMP bean to do this and declared a field researchPaper as type java.lang.Byte[]. The database equivalent is a medium blob. How do I map the file to the byte array and the byte array to the blob?
If anyone has any suggestions or can recommend a good website that'd be great!
Cheers.