I got a clone of http://github.com/mkristian/jibernate, and I have talked
with Headius about my interesting to help in a hibernate ruby wrapper and he
told me about some forks and this looks like more mature, however, I had
some troubles, jibernate on maven 3 didn't work, but I think that will not
be problem, for while I just used a simple boot file to load the
environment. I also had a problem with java_class that had RubyObject class
reference before become_java! to be executed, maybe Headius could tell what
is the right behavior.
So I changed some parts to avoid java_class problems:
...
add_class_annotation(annotation)
Hibernate.add_model(become_java!)
...
def mapped?
Hibernate.mapped? java_class
end
....
--
Douglas