Re: [appfuse-user] Using Stored Procedures.

2008-09-17 Thread Mauri Ferreyra
Well, I needed use Stored Procedures, so, Here that my implementation to stored procedures for AppFuse: 1- First of all, I created a class call "GenericSP", this class extends to org.springframework.jdbc.object.StoredProcedure, I'll that for call to SP. GenericSP class and have a constructor with

Re: [appfuse-user] Using Stored Procedures.

2008-09-16 Thread Youssef Mohammed
yeah JPA is not the way to go for that. Try SqlMaps of iBATIS .. they are quite nice http://ibatis.apache.org/javadownloads.cgi a simple demo .. it has many nice blogs about that ( db is oracle here ) http://www.it-eye.nl/weblog/2008/07/04/simple-delete-and-insert-statements-with-ibatis/ On Tu

Re: [appfuse-user] Using Stored Procedures.

2008-09-16 Thread Mauriff
Any ideas? I read about "JavaTM Persistence API: Best Practices and Tips" from Java One and here they says: "Stored Procedures How to invoke them -Not specified by Java Persistence API -Three ways to do this -Can use persistence provider specific support -Can use the underlying Java