I have a project where I create reports and I am keeping the old reports for users. I am creating tables using EJB 3.0 and psql on Glassfish Server. Recently I realized that the old reports' tables have duplicate values: select * from aTable
col1 | col2
-------------------+---------
text/html | 1672
text/javascript | 374
text/css | 94
text/xml | 21
text/plain | 14
text/html | 1672
text/javascript | 374
text/css | 94
text/xml | 21
text/plain | 14
But when I create another report (after restarting the server), there is nothing wrong with it. Does anyone have any opinion about why this is happening? Thanks in advance.