フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド数 [ 前へ | 次へ ]
Rana Datra
Loading Object by ID and Class
2011/11/29 3:30
答え

Rana Datra

ランク: New Member

投稿数: 5

参加年月日: 2011/09/29

最近の投稿

Greetings,

I wonder if it's possible to load an object from the database only with the given class and the primaryKey. Something like "HibernateUtil.getObject(Class clazz, long primaryKey)". I thing the difficulty here is that the persistence-classes are in different portlets and every one has it's own hibernate-config.

Is there anything like that?