Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
+2 votes
1 view
Hi all.

Datasource is a postgresql db . The test of parameters (connection, db, user and passwd)  is ok.

Business catalog : metamodel and jar are generated with no errors.

If i qbe the "postgres" model, the page is blank .

With another model ("mysql" model) i can use qbe .

This is the knowage log

[http-bio-8080-exec-2] 29 Nov 2018 00:12:05,706 ERROR it.eng.spagobi.monitoring.dao.DbAuditImpl.getMyRecentlyUsed:433 - org.hibernate.exception.SQLGrammarException: could not execute query
[http-bio-8080-exec-2] 29 Nov 2018 00:12:05,735 ERROR it.eng.spagobi.monitoring.dao.AuditManager.getMyRecentlyUsed:387 - Error while loading my recently used for user biadmin
it.eng.spago.error.EMFUserError: severity [ERROR] description [Generic Error]
        at it.eng.spagobi.monitoring.dao.DbAuditImpl.getMyRecentlyUsed(DbAuditImpl.java:436)
        at it.eng.spagobi.monitoring.dao.AuditManager.getMyRecentlyUsed(AuditManager.java:385)
        at it.eng.spagobi.analiticalmodel.execution.service.v2.RecentsResource.getRecentsOfUserByUserId(RecentsResource.java:49)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:294)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:248)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:235)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:398)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:205)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:228)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
:

Thank you all in advance.
Environment 6.2.1, ubuntu 18.04, mozilla
in Business Model by (140 points)

I have also same problem. After generating the model, I could not use it in defining QBE data set. It only shows me blank space. (I have tried with another data bases like mysql and it is working in those databases) 

I have also changed the dialect of all the hibernate files to postgresql and still not working! Is it because Qbe is not compatible with postgresql, or something else? 

Please reply if someone solved this issue.

2 Answers

0 votes
Dear,
I suggest to update to 6.2.4, the error shows is fixed
Remember to check the Data Source dialects.
Best regards
Angelo
by (20.7k points)
I have also same problem. After generating the model, I could not use it in defining QBE data set. It only shows me blank space. (I have tried with another data bases like mysql and it is working in those databases)

I have also changed the dialect of all the hibernate files to postgresql and still not working! Is it because Qbe is not compatible with postgresql, or something else?

Please reply if someone solved this issue.
0 votes

I have also same problem. After generating the model, I could not use it in defining QBE data set. It only shows me blank space. (I have tried with another data bases like mysql and it is working in those databases) 

I have also changed the dialect of all the hibernate files to postgresql and still not working! Is it because Qbe is not compatible with postgresql, or something else? 

Please reply if someone solved this issue.

by (250 points)
...