1 32 33 package it.businesslogic.ireport.connection; 34 import it.businesslogic.ireport.*; 35 import it.businesslogic.ireport.util.*; 36 import java.net.URLClassLoader ; 37 import java.sql.*; 38 import java.util.HashMap ; 39 import java.util.List ; 40 import javax.swing.*; 41 42 import javax.persistence.EntityManager; 43 import javax.persistence.EntityManagerFactory; 44 import javax.persistence.Persistence; 45 46 50 public class QueryExecuterConnection extends it.businesslogic.ireport.IReportConnection { 51 52 private String name; 53 54 private java.util.HashMap map = null; 55 56 57 public QueryExecuterConnection() { 58 map = new java.util.HashMap (); 59 } 60 61 65 public java.sql.Connection getConnection() { 66 return null; 67 } 68 69 public boolean isJDBCConnection() { 70 return false; 71 } 72 73 public boolean isJRDataSource() { 74 return false; 75 } 76 77 80 public java.util.HashMap getProperties() 81 { 82 return map; 83 } 84 85 public void loadProperties(java.util.HashMap map) 86 { 87 this.map = map; 88 } 89 90 public String getDescription(){ return "Query Executer Mode"; } 91 92 93 97 public net.sf.jasperreports.engine.JRDataSource getJRDataSource() 98 { 99 return null; 100 } 101 102 } 103 | Popular Tags |