May 2011

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

Continue Reading  

            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 […]

Continue Reading  

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 […]

Continue Reading  

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

Continue Reading