Skip to main content

Posts

Showing posts with the label Entity

Hibernate Template vs Entity Manager while Persisting a List of Entites

I did a test for comparison between  org.springframework.orm.hibernate3.HibernateTemplate and   javax.persistence.EntityManager . I am sharing the result of my analysis. use case : Persistence of a List of Entities. environment : Linux 64-bit, jdk_1.8 When I run the test I found that Entity Manager performing better when persisting large size of list. An image can tell better than thousands words. So find the below image to see the performance difference between the frameworks. Data Table: Graph Chart:

Error parsing XML, line 653, column 90: The reference to entity "skin" must end with the ';' delimiter.

                      I n the following post we will look up an error, heading of the post. If you are trying to insert some code in a web project,an existing website or blogger template. The following error can occur. "Error parsing XML, line 653, column 90: The reference to entity "skin" must end with the ';' delimiter." If you go to the location in file as mentioned line number and column number(obviously line no. and column no. can be different in each case) in the error string, You will see the html entity. HTML entity is a symbol which you can not use directly but you have to replace the symbol with some formatted text. For example we replace ' Here the list of html entities and their equivalent name. Result Description Entity Name Entity Number non-breaking space     ...