|
|
|
jtable & hibernate
|
|||
|---|---|---|---|
|
#18+
Добрый день. Возникла проблемка с созданием Table model для объекта следующего. Допустим есть класс public class Class1 implements Serializable { private Long id = null; private String name = null; private Set<Class2> transaction = new HashSet<Class2>(); get and set... } public class CustomerTransaction implements Serializable { private Long class1id = null; private String pole = null; private Class1 class1 = null; get and set... } Связь один ко многим. В таблице вывести id, name, pole. Как то так. Подскажите может быть примеры какие нибудь? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.03.2012, 23:23:49 |
|
||
|
|

start [/forum/topic.php?fid=59&fpage=305&tid=2132412]: |
0ms |
get settings: |
15ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
32ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
25ms |
get tp. blocked users: |
2ms |
| others: | 350ms |
| total: | 462ms |

| 0 / 0 |
