It turns out you have to jar the class files in bin/ and put it in the top
level plugin directory to get it to work. The jar names should correspond
to what is specified in build.properties (odahibernate.jar,
hibernateodaui,jar)
I was able to succesffully create a data source and test the connection.
But the only weird thing is that I had to put my class files in
plugin/hibfiles/ directory. When I put the jar containing the class files
in the MAPDIR, I got an error saying ClassNotFound.
Any ideas on why this is happening? I thought that the jar files in MAPDIR
would automatically get loaded by the classloader? And that hibfiles/ was
just a fallback default directory...