Hi...
Hope u are all f9..
iwant some help in java that how can we store image in databases via java source code and then how can we show it on our web page
Image storing and retieving from databases in jdbcHow can we store and retrieve image from databases in java source code
Page 1 of 1
2 Replies - 1664 Views - Last Post: 04 June 2009 - 07:55 PM
Replies To: Image storing and retieving from databases in jdbc
#2
Re: Image storing and retieving from databases in jdbc
Posted 04 June 2009 - 12:52 PM
Which database?
#3
Re: Image storing and retieving from databases in jdbc
Posted 04 June 2009 - 07:55 PM
If you use HSQLdb that supports Java Objects you can just store your Image in the a column defined as having the type Object
More primitive database might required that you serialized it and put it in a Blob
You can also store it has an array of int[][] containing Alpha, R, G and B
More primitive database might required that you serialized it and put it in a Blob
You can also store it has an array of int[][] containing Alpha, R, G and B
Page 1 of 1