Changeset 23
- Timestamp:
- Jul 20, 2010, 7:47:08 PM (14 years ago)
- Location:
- trunk/fmgVen
- Files:
-
- 17 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fmgVen/lib/nblibraries.properties
r11 r23 5 5 libs.CopyLibs.classpath=\ 6 6 ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar 7 libs.Test.classpath=\ 8 ${base}/test/postgresql-8.4-701.jdbc3.jar 9 libs.Ven.classpath=\ 10 ${base}/ven/spring-beans.jar;\ 11 ${base}/ven/spring-core.jar;\ 12 ${base}/ven/spring-jdbc.jar;\ 13 ${base}/ven/spring-tx.jar;\ 14 ${base}/ven/commons-logging-1.1.1.jar -
trunk/fmgVen/nbproject/genfiles.properties
r19 r23 1 build.xml.data.CRC32= d00ffa571 build.xml.data.CRC32=6b84a8b1 2 2 build.xml.script.CRC32=a9b2e5a3 3 3 build.xml.stylesheet.CRC32=28e38971@1.38.1.45 4 4 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 5 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 nbproject/build-impl.xml.data.CRC32= d00ffa576 nbproject/build-impl.xml.data.CRC32=6b84a8b1 7 7 nbproject/build-impl.xml.script.CRC32=494c2ca4 8 8 nbproject/build-impl.xml.stylesheet.CRC32=78c6a6ee@1.38.1.45 -
trunk/fmgVen/nbproject/project.properties
r22 r23 25 25 endorsed.classpath= 26 26 excludes= 27 file.reference.spring.jar=lib/spring.jar28 27 includes=** 29 28 jar.compress=false 30 29 javac.classpath=\ 31 ${ file.reference.spring.jar}30 ${libs.Ven.classpath} 32 31 # Space-separated list of extra javac options 33 javac.compilerargs= 32 javac.compilerargs=-Xlint:deprecation 34 33 javac.deprecation=false 35 34 javac.processorpath=\ … … 63 62 run.test.classpath=\ 64 63 ${javac.test.classpath}:\ 65 ${build.test.classes.dir} 64 ${build.test.classes.dir}:\ 65 ${libs.Test.classpath} 66 66 source.encoding=UTF-8 67 67 src.dir=src -
trunk/fmgVen/nbproject/project.xml
r11 r23 16 16 <definitions>.\lib\nblibraries.properties</definitions> 17 17 </libraries> 18 <spring-data xmlns="http://www.netbeans.org/ns/spring-data/1"> 19 <config-files/> 20 <config-file-groups/> 21 </spring-data> 18 22 </configuration> 19 23 </project> -
trunk/fmgVen/src/com/fmguler/ven/Ven.java
r22 r23 18 18 package com.fmguler.ven; 19 19 20 import java.util.List; 21 import javax.sql.DataSource; 22 import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; 23 20 24 /** 21 25 * The main class for data access … … 23 27 */ 24 28 public class Ven { 29 private NamedParameterJdbcTemplate template; 30 private QueryGenerator generator; 31 private QueryMapper mapper; 32 33 public Ven() { 34 generator = new QueryGenerator(); 35 mapper = new QueryMapper(); 36 } 37 38 public List list() { 39 return null; 40 } 41 42 public int count() { 43 return 0; 44 } 45 46 public Object get(int no, Class objectClass) { 47 return null; 48 } 49 50 public void save(Object object) { 51 } 52 53 public void delete(int no, Class objectClass) { 54 } 55 56 //SETTERS------------------------------------------------------------------- 57 public void setDataSource(DataSource dataSource) { 58 if (dataSource == null) throw new RuntimeException("fmgVen - DataSource cannot be null"); 59 this.template = new NamedParameterJdbcTemplate(dataSource); 60 } 61 62 public Ven addDomainPackage(String domainPackage) { 63 generator.addDomainPackage(domainPackage); 64 mapper.addDomainPackage(domainPackage); 65 return this; 66 } 25 67 } -
trunk/fmgVen/src/net/fmg/ven/SorguEslestirici.java
r22 r23 124 124 125 125 } 126 } catch( SQLException ex){126 } catch(Exception ex){ 127 127 ex.printStackTrace(); 128 128 }
Note: See TracChangeset
for help on using the changeset viewer.