Buildfile: build.xml init: compile: [javac] Compiling 3 source files to /home/milek/zajecia/zpp2003/surethings/obj run: [java] Nov 16, 2003 9:10:56 PM net.sf.hibernate.cfg.Environment [java] INFO: Hibernate 2.0.3 [java] Nov 16, 2003 9:10:56 PM net.sf.hibernate.cfg.Environment [java] INFO: loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=org.postgresql.Driver, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.PostgreSQLDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.query.imports=net.sf.hibernate.test, net.sf.hibernate.eg, hibernate.proxool.pool_alias=pool1, hibernate.connection.username=postgres, hibernate.connection.url=jdbc:postgres://localhost/example, hibernate.show_sql=true, hibernate.connection.password=postgres, hibernate.statement_cache.size=25, hibernate.connection.pool_size=1} [java] Nov 16, 2003 9:10:56 PM net.sf.hibernate.cfg.Environment [java] INFO: using java.io streams to persist binary types [java] Nov 16, 2003 9:10:56 PM net.sf.hibernate.cfg.Environment [java] INFO: using CGLIB reflection optimizer [java] Nov 16, 2003 9:10:56 PM net.sf.hibernate.cfg.Environment [java] INFO: JVM proxy support: true [java] Nov 16, 2003 9:10:56 PM net.sf.hibernate.cfg.Configuration addClass [java] INFO: Mapping resource: example/People.hbm.xml [java] Nov 16, 2003 9:10:59 PM net.sf.hibernate.cfg.Binder bindRootClass [java] INFO: Mapping class: example.People -> people [java] Nov 16, 2003 9:10:59 PM net.sf.hibernate.cfg.Configuration addClass [java] INFO: Mapping resource: example/Phones.hbm.xml [java] Nov 16, 2003 9:11:00 PM net.sf.hibernate.cfg.Binder bindRootClass [java] INFO: Mapping class: example.Phones -> phones [java] Nov 16, 2003 9:11:00 PM net.sf.hibernate.cfg.Configuration addClass [java] INFO: Mapping resource: example/Addresses.hbm.xml [java] Nov 16, 2003 9:11:00 PM net.sf.hibernate.cfg.Binder bindRootClass [java] INFO: Mapping class: example.Addresses -> addresses [java] Nov 16, 2003 9:11:00 PM net.sf.hibernate.cfg.Configuration secondPassCompile [java] INFO: processing one-to-many association mappings [java] Nov 16, 2003 9:11:00 PM net.sf.hibernate.cfg.Binder bindCollectionSecondPass [java] INFO: Mapping collection: example.People.phones -> phones [java] Nov 16, 2003 9:11:00 PM net.sf.hibernate.cfg.Binder bindCollectionSecondPass [java] INFO: Mapping collection: example.People.addresses -> addresses [java] Nov 16, 2003 9:11:00 PM net.sf.hibernate.cfg.Configuration secondPassCompile [java] INFO: processing foreign key constraints [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.impl.SessionFactoryImpl [java] INFO: building session factory [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.dialect.Dialect [java] INFO: Using dialect: net.sf.hibernate.dialect.PostgreSQLDialect [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.connection.DriverManagerConnectionProvider configure [java] INFO: Hibernate connection pool size: 1 [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.connection.DriverManagerConnectionProvider configure [java] INFO: using driver: org.postgresql.Driver at URL: jdbc:postgres://localhost/example [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.connection.DriverManagerConnectionProvider configure [java] INFO: connection properties: {user=postgres, password=postgres} [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.ps.PreparedStatementCache [java] INFO: prepared statement cache size: 25 [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.impl.SessionFactoryImpl [java] INFO: Use outer join fetching: true [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.util.JDBCExceptionReporter logExceptions [java] WARNING: SQL Error: 0, SQLState: 08001 [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.util.JDBCExceptionReporter logExceptions [java] SEVERE: No suitable driver [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.impl.SessionFactoryImpl [java] WARNING: Could not obtain connection metadata [java] java.sql.SQLException: No suitable driver [java] at java.sql.DriverManager.getConnection(DriverManager.java:532) [java] at java.sql.DriverManager.getConnection(DriverManager.java:140) [java] at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:93) [java] at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:167) [java] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:627) [java] at Main.main(Unknown Source) [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.impl.SessionFactoryImpl [java] INFO: Use scrollable result sets: false [java] Nov 16, 2003 9:11:01 PM net.sf.hibernate.impl.SessionFactoryImpl [java] INFO: echoing all SQL to stdout [java] Exception in thread "main" net.sf.hibernate.PropertyNotFoundException: Could not find a setter for property id in class example.Phones [java] at net.sf.hibernate.util.ReflectHelper.getSetter(ReflectHelper.java:151) [java] at net.sf.hibernate.persister.AbstractEntityPersister.(AbstractEntityPersister.java:455) [java] at net.sf.hibernate.persister.EntityPersister.(EntityPersister.java:665) [java] at net.sf.hibernate.persister.PersisterFactory.create(PersisterFactory.java:29) [java] at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:207) [java] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:627) [java] at Main.main(Unknown Source) all: BUILD SUCCESSFUL Total time: 21 seconds