solomax commented on code in PR #144:
URL: https://github.com/apache/openjpa/pull/144#discussion_r3585565411


##########
openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jpql/functions/TestEJBQLFunction.java:
##########


Review Comment:
   And one of the most weird issue is this this entity: 
https://github.com/apache/openjpa/blob/master/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/polymorphic/Translation.java#L40
   
   For whatever reason it has type `VIEW` in `HSQL`. I believe this is the 
reason why we getting:
   
   ```
   Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: user lacks 
privilege or object not found: PUBLIC.TRANSLATIONS {stmnt 1558395480 ALTER 
TABLE TRANSLATIONS ADD COLUMN id BIGINT} [code=-5501, state=42501]
        at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
        at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
        at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:955)
        at 
org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:123)
        at 
org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1516)
        at 
org.apache.openjpa.jdbc.schema.SchemaTool.addColumn(SchemaTool.java:1332)
        at 
org.apache.openjpa.jdbc.schema.SchemaTool.buildSchema(SchemaTool.java:710)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to