You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the JPA provider (Hibernate in this case) builds the SQL query, it doesnt't transform the quote ` in the correct db dependent quote.
The attached patch resolve the problem when the catalog is a lower case string.
To apply the patch you should:
unzip the file plugins.zip (after the unzip process you should have a folder plugins with a jar file inside)
open the folder SpagoBIStudioxxx/
copy the unzipped folder in the folder SpagoBIStudioxxx
Comments
Andrea Gioia added a comment - 2012-03-28T16:51:51.013+0200
In order to force Hibernate to quote an identifier in the generated SQL it is necessary to enclose the identifier name (catalog, schema, table o column) in backticks in the annotation. For more info see...
The previous attached patch (i.e. plugin.zip) modifies the JPA generator plugin in order to enclose the name of all identifiers used in annotations with backticks. Unfortunately this patch does not work for catalog identifier because of a known bug of hibernate not yet solved in any version...
Details
People
Dates
Description
When the JPA provider (Hibernate in this case) builds the SQL query, it doesnt't transform the quote ` in the correct db dependent quote.
The attached patch resolve the problem when the catalog is a lower case string.
To apply the patch you should:
Comments
Andrea Gioia added a comment - 2012-03-28T16:51:51.013+0200
In order to force Hibernate to quote an identifier in the generated SQL it is necessary to enclose the identifier name (catalog, schema, table o column) in backticks in the annotation. For more info see...
http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/mapping.html#mapping-quotedidentifiers
The previous attached patch (i.e. plugin.zip) modifies the JPA generator plugin in order to enclose the name of all identifiers used in annotations with backticks. Unfortunately this patch does not work for catalog identifier because of a known bug of hibernate not yet solved in any version...
https://hibernate.onjira.com/browse/HHH-7195
To solve the problem we have fixed by ourself the hibernate lib adding a couple methods to class...
org.hibernate.mapping
we will release the patched version together with spagobi-qbe-core.jar starting from version 3.4.0
The text was updated successfully, but these errors were encountered: