Thursday, December 02, 2004

Interesting Visual Hibernet Tool

Exedel's ORM Studio Hibernate Edition seems very interesting.

Haven't tried it. If it indeed works well, configuring Hibernate can truely become easy and fun. Then the hbm.xml files can be assumed under the simple Cornerstone Persistence API to make persistence even easier:
IComponentManager componentManager = (IComponentManager)

IPersistentObjectFactory userFactory = (IPersistentObjectFactory)
componentManager.createComponent(IFactory.class, "myUser");
IUser user = userFactory.createInstance(new Integer(101));
user.setName("John Doe");;
It doesn't seem to get easier than this :).