Hibernate has the option to auto-detetect the hibernate.dialect. How can I retrieve that auto-detected v开发者_开发问答alue? I was unable to find any information on this.You can retrieve it from the S
I am using spring and hibernate for configuration with mysql db. My we.xml file has following code : <?xml version=\"1.0\" encoding=\"UTF-8\"?>
I have a hibernate mapping like this in a ProductDfn class @ManyToOne( fetch = FetchType.LAZY, optional = true )
This should be a simple one I hope. I have an invoice and that invoice has a list of payments. Using the Criteria API I am trying to return a list of invoices and their payment total. So, in SQL I w
Is it possible to throw a specific error message in a PL/SQL oracle stored procedure and开发者_运维技巧 catch it in Hibernate when it gets invoked?You can throw user-defined error messages from PL/SQL
I am using Hiberbnate 3.1.3. I have a mapping as below and when I try to insert a record into the TEST_TABLE, I get an Exception: \'Exception in thread \"main\" org.hibernate.exception.SQLGrammarExcep
I am using SQL Server 2005 Express. While I am executed the query I am getting wrong values select City, City2
I have a high traffic website and I use hibernate. I also use ehcache to cache some entities and queries which are required to generate the pages.
I would like an entit开发者_运维百科y \"A\" to map only to the primary key over a foriegn key.
I\'m using ehcache with hibernate and I\'d like to use the blocking or SelfPopulating cache to avoid the issues presented in http://ehcache.org/documentation/constructs-0_5.html#mozTocId722946