ConnectionHandler constructors

User 870ab5b546

09-03-2012 18:49:48

You've deprecated the constructor ConnectionHandler(Connection) in favor of ConnectionHandler(Connection, String) where the second parameter is the jchemproperty table name.  What is this value, and where do I find it?  In my code based on JChem 5.4, I don't see any sign of a jchemproperty table name.

ChemAxon a9ded07333

09-03-2012 20:07:56

Hi Bob,


The default JChem property table name is "JChemProperties", it is defined in ConnectionHandler class:


        public static final String DEFAULT_PROPERTY_TABLE = "JChemProperties";


You can find more information about its role in our "Database concepts", ConnectionHandler API doc and in the description of multiuser environment:


        http://www.chemaxon.com/jchem/doc/dev/dbconcepts/index.html#JChemProperties />        http://www.chemaxon.com/jchem/doc/admin/multiuser.html />        http://www.chemaxon.com/jchem/doc/dev/java/api/chemaxon/util/ConnectionHandler.html


Best regards,
Tamás

User 870ab5b546

09-03-2012 22:11:29

Thanks.


Your example #2 in the API for ConnectionHandler is now deprecated.

ChemAxon a9ded07333

12-03-2012 10:51:35

Hi Bob,


Thanks for spotting it, we'll modify the example.


All the best,
Tamás