-->
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.  [ 5 posts ] 
Author Message
 Post subject: Hibernate Dialect development
PostPosted: Mon Jul 21, 2008 3:43 am 
Newbie

Joined: Mon Jul 21, 2008 3:22 am
Posts: 2
Hi Everyone,
I wish to develop a dialect for SQLMX - a database on HP Non Stop Kernel, so that hibernate can be used in java programs using this database. In accordance with this requirement i need some guidelines for development of a dialect in hibernate framework. Any other suggestions and help is always welcomed.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 21, 2008 6:10 am 
Beginner
Beginner

Joined: Wed Sep 21, 2005 8:18 am
Posts: 31
Are you going to develop it for some commercial project or just want to add SQLdialect for SQLMX.

_________________
amer sohail


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 21, 2008 10:45 pm 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
You might actually want to start by looking at some of the code for other dialects that have already been developed. Probably not a bad place to go.

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject: Thanks
PostPosted: Tue Jul 22, 2008 8:39 am 
Newbie

Joined: Mon Jul 21, 2008 3:22 am
Posts: 2
Cameron McKenzie---Thanks for your suggesion. I am working on that line itself but one issue is that for every dialect of different database there are some methods of main dialect class that are overriden for a particular a database and not for the others. So i wanted to on what basis these selections are done and how i can make all the properties of my database to be explored via hibernate.


Top
 Profile  
 
 Post subject: Re: Hibernate Dialect development
PostPosted: Mon Jun 20, 2011 3:22 am 
Newbie

Joined: Fri May 25, 2007 10:52 am
Posts: 1
Location: india
Hi,

I am develping hibernate dialect for my one of our database. i have extended Dialect file and Registered the All the Function and Keywords for Database.

Almost Everything working Fine but i need to use Dialect to run Following Query

List l = session.createQuery("from Employee for brows access").list();

Expected HQL to SQL conversion is as follows

select * from Employee for browse access

I am not able to figure out Which Method of org.hibernate.dialect.Dialect.java have to override to achive this

Please forgive me for my English and Spellings

Thanks in Advance


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.