BFILE « Data Type « JPA Q&A


2. How to save BFile thorugh Hibernate

Here is the sample UserType clas i am using to get BFILE from database. But when i am trying to get BILE from database... i am not getting data, Any one knows how to get BFILE data from database. package com.ameripath.shared.apptier.hibernate; import; import; import; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import oracle.jdbc.OracleConnection; import oracle.jdbc.driver.OracleTypes; import oracle.sql.BFILE; import oracle.sql.BLOB; ...

3. BFILE in hibernate

Beginner Joined: Mon Oct 01, 2007 8:21 am Posts: 40 Hi, May i Know about the concept of BFILE userType Creation in the Hibernate in detail. I tried to create a custom userType going thru the concept from this forum It is really confusing me to place the file location of a file(say img, pdf, txt etc.,) in the database ...

4. How to deal with Oracle BFILE and Hibernate