Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Developing a JPA entity using SQLJ

User_BDZEEJun 22 2021

Hello Everyone,
I'm trying to develop a migration script to retrieve data from a table that is storing "settings" data for an application in a BLOB. The legacy application is using JPA to store "setting" entities ('userID','settingKey','value') into a table with the same name, but the problem is that since the 'value' is stored in a BLOB column, it is not possible to retrieve/migrate the settings using a SQL statement.
I would like to incorporate my "migration script" into our PL/SQL install/upgrade script, and that's why I'm looking to use SQLJ, but I've got no clue that (for example) where should I put the "Persistence.xml" file, and whether I need it, at all?
Regards: Saleena
Ref: http://dikshaappforpc.com/

Comments

Processing

Post Details

Added on Jun 22 2021
0 comments
219 views