Re: [java ee programming] Hibernate Mapping

2010-06-01 Thread jitesh dundas
Thanks..This should clarify any doubts.. Regards, Jitesh Dundas On Tue, Jun 1, 2010 at 12:24 PM, bambang passion < bambang.teleinfocomproj...@gmail.com> wrote: > Hi, > > Remember though that HQL is affecting on the entity or persistence object > > not the DB object. > > > bb > > > On Tue, Jun 1,

Re: [java ee programming] Hibernate Mapping

2010-06-01 Thread bambang passion
Hi, Remember though that HQL is affecting on the entity or persistence object not the DB object. bb On Tue, Jun 1, 2010 at 10:07 AM, Shiv Shankar wrote: > Very useful Link > > > On 5/31/2010 8:18 PM, jitesh dundas wrote: > > http://docs.jboss.org/hibernate/core/3.3/reference/en/html/queryhql

Re: [java ee programming] Hibernate Mapping

2010-05-31 Thread Shiv Shankar
Very useful Link On 5/31/2010 8:18 PM, jitesh dundas wrote: http://docs.jboss.org/hibernate/core/3.3/reference/en/html/queryhql.html http://www.javalobby.org/articles/hibernate-query-101/ hope this helps... thanks, jd On Sun, May 30, 2010 at 2:44 PM, Kunal Raikar >

Re: [java ee programming] Hibernate Mapping

2010-05-31 Thread jitesh dundas
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/queryhql.html http://www.javalobby.org/articles/hibernate-query-101/ hope this helps... thanks, jd On Sun, May 30, 2010 at 2:44 PM, Kunal Raikar wrote: > Hi Ali > I don't want to include SQL query in hbm.xml file but I want a tool whi

Re: [java ee programming] Hibernate Mapping

2010-05-30 Thread jitesh dundas
As you know, there are twi imp xml files, hibernate.cfg.xml and the classname.xml .. the classname.xml stores the class variables ,methods including getter-setter methods. First wrie all the things in classname.xml(after creation of classname.java).the classname.xml maps the class variable with t

Re: [java ee programming] Hibernate Mapping

2010-05-30 Thread Michèle Garoche
Le 30 mai 10 à 11:14, Kunal Raikar a écrit : Hi Ali I don't want to include SQL query in hbm.xml file but I want a tool which convert sql query into xml mapping so that I can use it in hbm.xml file. I don't know a tool to do this, but you can probably write one shell script yourself based

Re: [java ee programming] Hibernate Mapping

2010-05-30 Thread jitesh dundas
You don't need too.just define the class operation properly.have you read the hibernate tutorial on jboss site... do note..you might need cp3connectionprovider if using jboss for some versions.can you install & tell us.. plz read the online tutorial and revert with issues if any .. thanks, jd On

Re: [java ee programming] Hibernate Mapping

2010-05-30 Thread Kunal Raikar
Hi Ali I don't want to include SQL query in hbm.xml file but I want a tool which convert sql query into xml mapping so that I can use it in hbm.xml file. 2010/5/30 Ali Ekber Çelik > Hi Kunal, > > > > > > > simply you can use this codein your hbm.xml file.And dont forget to call >

Re: [java ee programming] Hibernate Mapping

2010-05-30 Thread Kunal Raikar
Hi Ben Can you please explain step by step sql to hbm converting process after installing Hibernate tool in eclipse? regards Kunal On Sun, May 30, 2010 at 11:43 AM, Benedict Aluan wrote: > Hello, > > You can use Eclipse and install Hibernate Tools plugin. > > Regards > Ben > > On Sat, May 29, 20