Jump to content
We've recently updated our Privacy Statement, available here ×

binary data


2004 IR Help

Recommended Posts

By: Leopold Schwinger - leoel

binary data

2004-08-12 07:52

Hello!

 

Is it possible to retrieve binary data (Pictures) from a database (MSDE via JDBC) and use it in iReport (display the picture)?

 

If yes, how?

 

Thanks,

Leo

 

 

 

 

 

By: Giulio Toffoli - gt78

RE: binary data

2004-08-18 04:04

 

Declare your field of type java.lang.Object then use a custom class to transorm the field in a java.awt.Image and return it:

 

MyHelperClass.getAsImage( $F{MyBLOB} )

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...