[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Why findByPrimaryKey issues ?SELECT pkey from TABLE whe

chrismm do-not-reply at jboss.com
Wed Jan 3 06:44:46 EST 2007


Are you sure you are actually retrieving something from the database. ie is there some data that matches your primary key? Also, are you accessing the retrieved data ? the AS only puts data into the cache when it is accessed ( not when you do the findByPrimaryKey ).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997500#3997500

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997500



More information about the jboss-user mailing list