Skip to main content

[jpa-spec users] [jsr338-experts] Re: EMF.getProperties() and EM.getProperties()

  • From: Steve Ebersole <steve.ebersole@...>
  • To: Linda DeMichiel <linda.demichiel@...>
  • Cc: jsr338-experts@...
  • Subject: [jpa-spec users] [jsr338-experts] Re: EMF.getProperties() and EM.getProperties()
  • Date: Thu, 21 Mar 2013 12:59:28 -0500
  • List-id: <jsr338-experts.jpa-spec.java.net>

On Thu 21 Mar 2013 11:06:07 AM CDT, Linda DeMichiel wrote:

I don't believe it does.  This sounds like a bug.

Thanks!


Are you referring to EMF.getProperties?  I wouldn't expect these to be
available from EM.getProperties.

I think it is reasonable that an environment be able to restrict the
availability of such information.

I think that adding something like the following to the discussion of
the EMF interface in the spec would
be reasonable:
   Note that the policies of the installation environment may restrict
some information from being made
available through the getProperties method (for example,  JDBC user,
password, URL).

Personally I'd like to filter those out in Hibernate implementation, but nervous about the TCK continuing to test for that information if this is not discussed in the spec. So that would be great. Thanks!


[jpa-spec users] [jsr338-experts] EMF.getProperties() and EM.getProperties()

Steve Ebersole 03/21/2013

[jpa-spec users] [jsr338-experts] Re: EMF.getProperties() and EM.getProperties()

Linda DeMichiel 03/21/2013

[jpa-spec users] [jsr338-experts] Re: EMF.getProperties() and EM.getProperties()

Steve Ebersole 03/21/2013
 
 
Close
loading
Please Confirm
Close