* pas2jni: Fixed enums, added equals() methods to objects, enums and sets.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28048 3ad0048d-3df7-0310-abae-a5850022a9f2
fcl-db: tests: small correction of previous commit

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28049 3ad0048d-3df7-0310-abae-a5850022a9f2