Archive for May, 2011

Generate entity classes with Hibernate Tools

Share

I recently gave a try to reverse engineering a database into entity classes by using Hibernate Tools. And it is quite cool.

Share
Tags:       

Parametrized Queries vs. Table-direct mode (SQL Server CE)

Share

            Recently, I worked on a mobile device application and I had to insert about 50000 rows into a SQL Server CE database. NET Compact Framework offers some ways to complete this task including using of DataAdapter and DataSet objects, parametrized queries or SqlCeResultSet(table-direct mode). Considering that the first way is the slowest I will not […]

Share
Tags:   

Insert image in iReport using xml datasource

Share

When using an XML file as a datasource for a report designed with iReport-Designer for JasperReports, you sometimes want to add an image, which also should be retrieved from the XML datasource. For this, we have to first find a way to represent that image in the XML file, and then, interpret it from there […]

Share
Tags:      

Image scaling without interpolation

Share

Two reason to scale grayscale image without interpolation: intepolation add new color in image .net GDI mechanism can’t return image in 8 bits – pixel format Demo project When a image is scaled with a scaling factor greater then 1, the image get black pixels, to fill black pixels exist 3 well known algorithms

Share


By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close