- Create Database with triggers. Solving the colon problem in hibernate.
In order to create a database with triggers I made some simple java object (see attachment).
The problem was when I try to execute a pl/sql procedure hibernate thinks the colon ':' represents a parameter of the query.
To solve this I requested a JDBC connection and executed the procedure at JDBC level.
The problem with colon is describe in:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1237
- Lifewise datamodel design (see attachement)
Attachments
-
CreateDatabase.java
(1.8 KB) -
added by jlops 18 months ago.
-
impuwise_ui.xml
(1.4 KB) -
added by jlops 18 months ago.
-
impuwise_db.xml
(5.4 KB) -
added by jlops 18 months ago.