简体   繁体   中英

Procedures in a database or in external jar in Derby

The document DerbySQLroutines explains that Derby procedures can be either stored in a database, using SQLJ.INSTALL_JAR, or kept in an external JAR file.

What would be advantages of each approach?

Thank you.

If it's baked into the database, then the database is usable w/o extra jars. The disadvantage of that is that you'd have to go through the effort of getting the code into the database. It's sort of a pay now or pay later trade off.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM