|
Hi Thomas, As my English is bad, I do not know if I understand your problem, however, I use GWT from version 1.x and never had a problem with the relationship between and the oracle. Here's how to work: public class Cadastro extends XsrfProtectedServiceServlet implements DBService { public void SQLDireto(){ OracleResultSet result = null; OracleCallableStatement executarOC = null; OraclePreparedStatement executarOP = null; ds = new ConexaoDS(); executarOC = (OracleCallableStatement) ds.getComunicacao() .prepareCall("operation DML"); executarOC.registerOutParameter(1, OracleTypes.CURSOR); executarOC.execute(); result = (OracleResultSet) executarOC.getObject(1); // read result and return } public final class ConexaoDS { private Connection conexao; public ConexaoDS(String conexao) throws NamingException, SQLException { Context lContext = new InitialContext(); Context envCtx = (Context) lContext.lookup("java:/comp/env"); OracleDataSource ds = (OracleDataSource) envCtx.lookup(conexao); this.conexao = ds.getConnection(); this.conexao.setAutoCommit(false); } public Connection getComunicacao() { return this.conexao; } } Natan. Em 03/03/2016 13:06, MANTU KUMAR
escreveu:
-- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. |
- Regarding RpcService,HybridServiceServlet and ClientOracle mantusgh
- Re: Regarding RpcService,HybridServiceServlet and Clien... Thomas Broyer
- Re: Regarding RpcService,HybridServiceServlet and C... mantusgh
- Re: Regarding RpcService,HybridServiceServlet a... Thomas Broyer
- Re: Regarding RpcService,HybridServiceServl... MANTU KUMAR
- Re: Regarding RpcService,HybridService... natan clara
- Re: Regarding RpcService,HybridService... Thomas Broyer
