Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can TopLink access private and protected fields of my Java class?

0
10 Posted

Can TopLink access private and protected fields of my Java class?

0
10

TopLink comes with class libraries for Java 2 (JDK 1.2 and higher). With Java 2 TopLink can access non-public fields and/or methods. Grant the ReflectPermission permission to TopLink to “suppress default Java language access control checks when using reflected members and constructors.” The granting of permissions is done via the security policy file using the policy tool application. See the internet site http://java.sun.com/products/jdk/1.2/docs/guide/security/index.html for more information.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.