简体   繁体   中英

Having image in netbeans JavaDB database or SqlLite

How can insert and retreive an image in netbeans javaDB database (the one used under services tab/ Or SqlLite). What type will the attribute type be? and how can I get it using CachedRowSet?

In case this is needed JavaDB installation: glassfish-3.1.2.2\\javadb JavaDB location : .netbeans-derby

SqlLite you can not insert a new image into the database using java. It's read only.you can insert image into the database using by database. Not from the java. If you not have to insert image into database means you go for SqlLite..

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