title: @Value returning null
body: <p>I have a couple @Value annotations within my Entity Class.  I am not sure why but they are both returning null.  I also have "ShaPasswordEncoder" Object Autowired, which too is throwing a NullPointer Exception.  I have no idea why. Please advise.</p>
  
  <p>@Repository</p>
  
  <pre><code>@Configurable
  @Entity
  @Table(name="user")
  @NamedQueries({...})
  public class User implements Serializable{
  
      @Transient private static final Logger logger = Logger.getLogger(User.class);
      @Transient private static final AppUtil appUtil = new AppUtil();
      @Transient @Value("some value") private String extDir;
      @Transient @Value("100x100") private String imageSize;
      @Transient private static byte[] salt = "FBar".getBytes();
      @Transient @Autowired private ShaPasswordEncoder passwordEncoder;
  
  ....
  //Default Constructor
      public User(){
          logger.info("TEST IMAGE =&gt; "+imageSize);
  
  
      }
  
      public String passwordEncoder(String password) {
          return passwordEncoder.encodePassword(password,salt);
      }
  </code></pre>