Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

clone() contract broken for JDBCConfigurationImpl instances

Laird Nelson

2010-02-24

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello; JDBCConfigurationImpl, when cloned, drops its passwords on the floor.

This did not happen in version 1.2.2.

The problem is related to the introduction of the EncryptionProvider in the
2.0 line (and others).

The bug is here: https://issues.apache.org/jira/browse/OPENJPA-1534

This is a showstopper for me, but I'm not clear what the proper resolution
is (other than to implement clone() by calling super.clone() as should be
the case).

Thanks,
Laird
©2008 gg3721.com - Jax Systems, LLC, U.S.A.