Questions tagged [dialect]

A dialect of a programming language is a variation or extension of the language that does not change its intrinsic nature.

153 questions
102
votes
9 answers

Which dialect of Lisp should I learn?

I know there are a few different dialects of Lisp. Having decided that learning Lisp would be a new intellectual experience, I would like to know which Lisp dialect to learn, and why. Is there one which is more popular than the others? Is any one of…
Humphrey Bogart
  • 7,423
  • 14
  • 52
  • 59
70
votes
11 answers

Why do I need to configure the SQL dialect of a data source?

When we configure a data source using Hibernate, we should add the hibernate.dialect property (or eclipselink.target-database if you are using EclipseLink). I want to know what is the meaning of dialect? I configure this property according to the…
Captain Kidd
  • 1,253
  • 2
  • 13
  • 20
38
votes
2 answers

What are the major differences between the mysql and oracle sql dialects?

I am a software developer. I have used mysql for years and now I am about to have my first encounter with oracle in a project. I was just told that I should be careful that the sql behaves quite differently in some cases. I have no idea what to…
Yashima
  • 2,248
  • 2
  • 23
  • 39
17
votes
3 answers

Can different GCC dialects be linked together?

I know that in principle this is probably undefined behaviour, but in the interest of dealing with a large project, here's my question about GCC: Suppose I compile one transation unit with gcc -std=c++98, and another with -std=c++11, using the exact…
Kerrek SB
  • 464,522
  • 92
  • 875
  • 1,084
14
votes
4 answers

How to get Hibernate dialect during runtime

In my application, I use Hibernate with SQL Server database, so I set in my persistence.xml. In some case, I want to sort records with NULL include, I use keyword…
danisupr4
  • 815
  • 1
  • 9
  • 22
13
votes
2 answers

Retrieve auto-detected hibernate dialect

Hibernate has the option to auto-detetect the hibernate.dialect. How can I retrieve that auto-detected value? I was unable to find any information on this.
user101442
  • 2,517
  • 3
  • 20
  • 12
11
votes
2 answers

Can I use SQL functions in NHibernate QueryOver?

I have been searching the internet and can't find an example on how to use the queryover of nhibernate 3.0 For example I would like to use the string functions on the where clause of the queryover ex: var item = Query.Where(x => x.Name.ToLower() ==…
Ruben Monteiro
  • 315
  • 3
  • 15
11
votes
3 answers

Registering a SQL function with JPA and Hibernate

I would like to know what's the best way to register a custom SQL function with JPA/Hibernate. Do I have to go through extending the MysqlInnodb dialect or is there a better way? Can anyone please provide code samples and pointers to relevant…
balteo
  • 23,602
  • 63
  • 219
  • 412
8
votes
1 answer

Configure hibernate's dialect using JNDI (with Spring)

I'm trying to configure a Spring+Hibernate web application using JNDI instead of a properties files. Everything works fine por database url, password, login, etc., but I can't get the dialect from the JNDI context. I'm using this in my…
infinito
  • 1,985
  • 1
  • 15
  • 16
8
votes
3 answers

Thymeleaf layout dialect and th:replace in head causes title to be blank

I'm following this tutorial: http://www.thymeleaf.org/doc/layouts.html (got to Thymeleaf Layout Dialect section). In there you can find an example: