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)

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