[Gridsphere-users] JAVASCRIPT_SRC.... have you used this before?
Jason Novotny
novotny at gridsphere.org
Thu Dec 7 11:25:34 PST 2006
You should try downloading and installing the "jsrtutorial" webapp we
include as a sample-- the AddressBook Portlet uses Hibernate to
store/delete info to the database.
Cheers, Jason
sunitha chowdary wrote:
> hi!!
>
> Jason,
>
> thanks for replying me immediately. Can you please
> answer to the following questions
>
> 1) Please tell me where we need to keep hbm files and
> hibernate.properies(hibernate.cfg.xml) file.
> 2) If you have any example code using hibernate code
> to insert data into database in gridsphere.
> 3) Please send all files required to configure
> hibernate with gridsphere.
>
> Really i got stuck with this problem since long time.
> I am not finding any solution in Google also.
> So, please kindly help me to solve this problem.
>
> Thanks in advance for your help.
>
> Regards
> Sunitha
>
>
> --- Jason Novotny <novotny at gridsphere.org> wrote:
>
>
>> Hi,
>>
>> Maybe you are using a reserved keywork as a column
>> name in your mapping
>> file? I realy don't know. If you haven't done so
>> already please purchase
>> your copy of "Hibernate Quickly" from Amazon :-)
>>
>> Cheers, Jason
>>
>> sunitha chowdary wrote:
>>
>>> hi!!
>>>
>>> Jason Novotny,
>>>
>>> Right now i am got problem in using hiberbate in
>>> gridsphere.
>>>
>>> I using gridsphere 2.2.7, Tomcat5.0 and MySQL as
>>> database. I can connect to database. But i am not
>>>
>> able
>>
>>> to insert data into database using hibernate.
>>>
>>> I create my own projects, under projects folder,
>>>
>> and i
>>
>>> kept hbm file under my projects persistence
>>>
>> folder. i
>>
>>> kept hibernate.properties under persistence folder
>>> itself.
>>>
>>> when build the project, i got build successfully.
>>> but i got message like error in create table.
>>>
>>> [dbtask] 16 [main] (SchemaExport.java:155) ERROR
>>> net.sf.hibernate.tool.hbm2
>>> dl.SchemaExport - You have an error in your SQL
>>> syntax; check the manual that
>>> orresponds to your MySQL server version for the
>>>
>> right
>>
>>> syntax to use near 'ORDER
>>> (OID varchar(32) not null, NAME varchar(255),
>>>
>> EMAIL
>>
>>> varchar(255), ORDERNAM' at line 1
>>>
>>> Please tell me how to insert data using hibernate.
>>>
>>> Thanks in advance.
>>>
>>> Regards
>>> Sunitha
>>>
>>>
>>>
>>>
>>>
>>>
>>>
> ___________________________________________________________
>
>>> All New Yahoo! Mail – Tired of Vi at gr@! come-ons?
>>>
>> Let our SpamGuard protect you.
>> http://uk.docs.yahoo.com/nowyoucan.html
>>
>>> _______________________________________________
>>> Gridsphere-users mailing list
>>> Gridsphere-users at gridsphere.org
>>>
>>>
> http://lists.gridsphere.org/mailman/listinfo/gridsphere-users
>
>>>
>>>
>> --
>> Jason Novotny
>> Chief Portal Architect
>> BIRN-CC / UCSD
>> 9500 Gilman Dr., La Jolla, CA
>> novotny at gridsphere.org
>> http://www.gridsphere.org
>>
>> _______________________________________________
>> Gridsphere-users mailing list
>> Gridsphere-users at gridsphere.org
>>
>>
> http://lists.gridsphere.org/mailman/listinfo/gridsphere-users
>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
>
--
Jason Novotny
Chief Portal Architect
BIRN-CC / UCSD
9500 Gilman Dr., La Jolla, CA
novotny at gridsphere.org
http://www.gridsphere.org
More information about the Gridsphere-users
mailing list