These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: General Question
PostPosted: Fri Aug 27, 2004 11:56 pm 
Newbie

Joined: Fri Aug 27, 2004 11:17 pm
Posts: 1
Hi,

I currently using CMP and JDBC together, I use CMP is when I need to define relationship between whole and parts (ex: Student and Course), and JDBC when I want to just associate between objects (ex: Library and Student).
Mostly I use JDBC to generate report, so I can easily join multiple tables which may not be closely related, but I need to present as much information as possible in the report, and the good thing is sometime all these information can be retrieved with just 1 query.

I have not read all the documentation extensively but from what I read on some examples, Hibernate is a good replacement of CMP, but probably cannot solve the problem that caused me to use JDBC, I hope someone can show me to use Hibernate to solve that problem, so in the future I can use Hibernate only. Thanks in advance.

Best Regards,
Iwan


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 28, 2004 1:27 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Reporting is easy to do in HQL, it has most of the features of SQL.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.