1.1 restoration
[mir.git] / source / mircoders / entity / EntityContent.java
index b87ae15..144eddc 100755 (executable)
@@ -45,7 +45,7 @@ import mircoders.storage.DatabaseContentToMedia;
  * this class implements mapping of one line of the database table content
  * to a java object
  *
- * @version $Id: EntityContent.java,v 1.19.2.6 2004/02/08 21:05:02 zapata Exp $
+ * @version $Id: EntityContent.java,v 1.19.2.7 2004/11/21 22:07:13 zapata Exp $
  * @author mir-coders group
  *
  */
@@ -78,7 +78,7 @@ public class EntityContent extends AbstractEntity {
     Connection con=null;Statement stmt=null;
     String sql = "update content set is_produced='" + value + "' where id='" + getId()+"'";
     try {
-      con = storageObject.getPooledCon();
+      con = storageObject.obtainConnection();
       /** todo should be preparedStatement: faster!! */
       stmt = con.createStatement();
       storageObject.executeUpdate(stmt,sql);