SQLGrammarException « Composite « JPA Q&A





1. getting SQLGrammarException when using composite id    forum.hibernate.org

Hi, I am sorry if similar question has been posted before. I tried looking it up, but couldnt find anything. I am using a legacy database and hence had to use composite id as the identifier for the table. I have verified my code with various examples given on the internet, but I am getting the following error when i try ...

2. Composite ID and SQLGrammarException    forum.hibernate.org

Newbie Joined: Wed Dec 12, 2007 2:30 pm Posts: 3 Hi, I need to write composite-id for a view. The view itself dose not contain any column that could be used for element ID in the hibernate-mapping. Thus, I need to create a composite-id from 5 columns. The document from anywhere (online, books,...) about this topic is too little. Here is ...