lunes, 1 de noviembre de 2010

Finding constraints in Oracle

select constraint_name, table_name from user_constraints where constraint_name like '%CONSTRAIN_NAME%';  

miércoles, 6 de octubre de 2010

jueves, 30 de septiembre de 2010

miércoles, 29 de septiembre de 2010

Solution to java.net.ProtocolException: Exceeded stated content length & Didn't meet stated Content-Length

In my case, I change in a Filter the content of the response, so to solve the problem I set content-lenght before write in the output:

//Sino le seteo el content ANTES del write tira los siguientes error:
//Ver http://forums.oracle.com/forums/thread.jspa?threadID=981027
//java.net.ProtocolException: Didn't meet stated Content-Length, wrote: bytes instead of stated: bytes.
//java.net.ProtocolException: Exceeded stated content-length of: bytes
response.setContentLength(data.length());
out.write(data.getBytes());
out.close();

martes, 28 de septiembre de 2010

Post of libraries

Generate BarCode:
http://java.dzone.com/articles/java-barcode-api

Generate data in database for testing purpose:
http://techfreeman.blogspot.com/2010/09/i-recently-had-privilege-of-using.html



GIT
  http://boxysystems.com/index.php/5-fundamental-differences-between-git-svn/
  http://progit.org/

viernes, 30 de julio de 2010

Base de datos accesible via javascript

http://nextdb.net/

NextDB's mission is to create a database that caters directly to developers. We will empower web and mobile programmers as well as front-end UI designers to reach beyond their traditional limits. We must do this without compromising or watering down the essential elements of the relational database. We will do this with transparency, listening to our users, and constantly innovating. We will embrace an open architecture and shun data lock-in.