-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi , I am facing a a problem using zkoss with hibernate
I have Two models one is JuvenileInfo other is SchoolMeasure
In SchoolMeasure I have created a manyToOne relationship
@Transient @ManyToOne @JoinColumn(name = "juvenile_id", nullable = false) public JuvenileInfo juvenile;
When I access
SessionFactory sessionFactory = new Configuration().configure() .buildSessionFactory();
Session session = sessionFactory.openSession(); session.beginTransaction(); List<shoolbasedmeasure> result1 = session.createQuery( "from ShoolBasedMeasure e inner join e.juvenile ") .list();
I got error juvenile is not property , So anyone can help me how I get parent record list view to show its any column
Hello aliabbas,
For more information please refer to the following url, and chapter 14.3 Associations and joins:
https://docs.jboss.org/hibernate/orm/3.3/reference/en/html/queryhql.html
Best Regards,
Darksu
Asked: 2015-09-11 12:04:14 +0800
Seen: 37 times
Last updated: Sep 13 '15
Problem binding values to a composite component
How to access static member field of a class in zul without zscript
How can i load a constant in .zul
MVVM Validator: class not found ? [closed]
MVVM tab box - delay @load until tab pane displayed?
mvvm, load or save with after or before for seach command
how to fire an event when a variable value loaded through VM
is there any event trigger from zk component on binding ?
ZK team plans to dispose of Composer EventQueues no longer in scope? [closed]