I'm trying to run a MDB that will persist an simple entity that I've already got to persist in a standalone application, using exactly the same entities, but when I try to persist I got an error message, the message say:
java.sql.SQLSyntaxErrorException: 'DTYPE' is not a column in table or VTI 'APP.POSITION'.
Error Code: -1
Call: INSERT INTO POSITION (DTYPE) VALUES (?)
bind => [coordinates]
Query: InsertObjectQuery(Coordinates[Position[id=null], latitude=56.7765, longitude=23.4545, altitude=0.0])
I'm sure the problem can't be the code of entity, I think is some feature in EJB project, but I don't know what to do, if someone already had a similar problem please help me
I'm going mad