I wonder if learning SQL would be the best solution here..
However,I will keep looking but I think you will get some answers from
this group soon.
Regards,
jd
On 5/31/10, Michèle Garoche wrote:
>
>
> On May 30, 11:14 am, Kunal Raikar wrote:
>> Hi Ali
>> I don't want to include SQL query in hbm.x
On May 30, 11:14 am, Kunal Raikar wrote:
> 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.
You may also use NetBeans and reverse engineer your database, it then
create the mappings for y
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
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
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
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
>
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