heh, didnt post full DEBUG info, so there it is
Code:
25.08.05 13:04:16,549 INFO org.hibernate.cfg.Environment Hibernate 3.1 beta 1
25.08.05 13:04:16,565 INFO org.hibernate.cfg.Environment hibernate.properties not found
25.08.05 13:04:16,565 INFO org.hibernate.cfg.Environment using CGLIB reflection optimizer
25.08.05 13:04:16,581 INFO org.hibernate.cfg.Environment using JDK 1.4 java.sql.Timestamp handling
25.08.05 13:04:16,706 DEBUG org.hibernate.cfg.Configuration Preparing to build session factory with filters : {}
25.08.05 13:04:16,706 DEBUG org.hibernate.cfg.AnnotationConfiguration Executing first pass of annotated classes
25.08.05 13:04:17,174 DEBUG org.hibernate.cfg.Ejb3Column Binding column TYPE unique false
25.08.05 13:04:17,206 DEBUG org.hibernate.cfg.annotations.EntityBinder Import with entity name=Pricel
25.08.05 13:04:17,237 DEBUG org.hibernate.cfg.AnnotationBinder Processing cz.active24.central.Pricel per property access
25.08.05 13:04:17,315 DEBUG org.hibernate.cfg.AnnotationBinder Processing annotations of cz.active24.central.Pricel.priceId
25.08.05 13:04:17,315 DEBUG org.hibernate.cfg.Ejb3Column Binding column price_id unique false
25.08.05 13:04:17,315 DEBUG org.hibernate.cfg.AnnotationBinder priceId is an id
25.08.05 13:04:17,346 DEBUG org.hibernate.cfg.annotations.SimpleValueBinder building SimpleValue for priceId
25.08.05 13:04:17,346 DEBUG org.hibernate.cfg.annotations.PropertyBinder Building property priceId
25.08.05 13:04:17,346 DEBUG org.hibernate.cfg.annotations.PropertyBinder Cascading priceId with null
25.08.05 13:04:17,346 DEBUG org.hibernate.cfg.AnnotationBinder Bind @EmbeddedId on priceId
25.08.05 13:04:17,346 DEBUG org.hibernate.cfg.AnnotationBinder Processing annotations of cz.active24.central.Pricel.showOnWeb
25.08.05 13:04:17,346 DEBUG org.hibernate.cfg.Ejb3Column Binding column show_on_web unique false
25.08.05 13:04:17,362 DEBUG org.hibernate.cfg.annotations.PropertyBinder binding property showOnWeb with lazy=false
25.08.05 13:04:17,362 DEBUG org.hibernate.cfg.annotations.SimpleValueBinder building SimpleValue for showOnWeb
25.08.05 13:04:17,362 DEBUG org.hibernate.cfg.annotations.PropertyBinder Building property showOnWeb
25.08.05 13:04:17,362 DEBUG org.hibernate.cfg.annotations.PropertyBinder Cascading showOnWeb with null
25.08.05 13:04:17,362 DEBUG org.hibernate.cfg.AnnotationConfiguration processing manytoone fk mappings
25.08.05 13:04:17,362 INFO org.hibernate.cfg.Configuration processing extends queue
25.08.05 13:04:17,378 INFO org.hibernate.cfg.Configuration processing collection mappings
25.08.05 13:04:17,378 INFO org.hibernate.cfg.Configuration processing association property references
25.08.05 13:04:17,378 INFO org.hibernate.cfg.Configuration processing foreign key constraints
25.08.05 13:04:17,549 INFO org.hibernate.connection.DriverManagerConnectionProvider Using Hibernate built-in connection pool (not for production use!)
25.08.05 13:04:17,549 INFO org.hibernate.connection.DriverManagerConnectionProvider Hibernate connection pool size: 5
25.08.05 13:04:17,549 INFO org.hibernate.connection.DriverManagerConnectionProvider autocommit mode: false
25.08.05 13:04:17,565 INFO org.hibernate.connection.DriverManagerConnectionProvider using driver: org.postgresql.Driver at URL: jdbc:postgresql:*****
25.08.05 13:04:17,565 INFO org.hibernate.connection.DriverManagerConnectionProvider connection properties: {*****}
25.08.05 13:04:17,565 DEBUG org.hibernate.connection.DriverManagerConnectionProvider total checked-out connections: 0
25.08.05 13:04:17,565 DEBUG org.hibernate.connection.DriverManagerConnectionProvider opening new JDBC connection
25.08.05 13:04:17,799 DEBUG org.hibernate.connection.DriverManagerConnectionProvider created connection to: jdbc:postgresql:*****, Isolation Level: 2
25.08.05 13:04:17,815 INFO org.hibernate.cfg.SettingsFactory RDBMS: PostgreSQL, version: 7.4.7
25.08.05 13:04:17,815 INFO org.hibernate.cfg.SettingsFactory JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.1devel JDBC3 with SSL (build 400)
25.08.05 13:04:17,815 DEBUG org.hibernate.connection.DriverManagerConnectionProvider returning connection to pool, pool size: 1
25.08.05 13:04:17,862 INFO org.hibernate.dialect.Dialect Using dialect: org.hibernate.dialect.PostgreSQLDialect
25.08.05 13:04:17,878 INFO org.hibernate.transaction.TransactionFactoryFactory Using default transaction strategy (direct JDBC transactions)
25.08.05 13:04:17,878 INFO org.hibernate.transaction.TransactionManagerLookupFactory No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
25.08.05 13:04:17,878 INFO org.hibernate.cfg.SettingsFactory Automatic flush during beforeCompletion(): disabled
25.08.05 13:04:17,878 INFO org.hibernate.cfg.SettingsFactory Automatic session close at end of transaction: disabled
25.08.05 13:04:17,878 INFO org.hibernate.cfg.SettingsFactory JDBC batch size: 15
25.08.05 13:04:17,878 INFO org.hibernate.cfg.SettingsFactory JDBC batch updates for versioned data: disabled
25.08.05 13:04:17,878 INFO org.hibernate.cfg.SettingsFactory Scrollable result sets: enabled
25.08.05 13:04:17,878 DEBUG org.hibernate.cfg.SettingsFactory Wrap result sets: disabled
25.08.05 13:04:17,878 INFO org.hibernate.cfg.SettingsFactory JDBC3 getGeneratedKeys(): disabled
25.08.05 13:04:17,878 INFO org.hibernate.cfg.SettingsFactory Connection release mode: null
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Default batch fetch size: 1
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Generate SQL with comments: disabled
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Order SQL updates by primary key: disabled
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
25.08.05 13:04:17,893 INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory Using ASTQueryTranslatorFactory
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Query language substitutions: {}
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Second-level cache: enabled
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Query cache: disabled
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Cache provider: org.hibernate.cache.EhCacheProvider
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Optimize cache for minimal puts: disabled
25.08.05 13:04:17,893 INFO org.hibernate.cfg.SettingsFactory Structured second-level cache entries: disabled
25.08.05 13:04:17,956 DEBUG org.hibernate.exception.SQLExceptionConverterFactory Using dialect defined converter
25.08.05 13:04:17,971 INFO org.hibernate.cfg.SettingsFactory Echoing all SQL to stdout
25.08.05 13:04:17,971 INFO org.hibernate.cfg.SettingsFactory Statistics: disabled
25.08.05 13:04:17,971 INFO org.hibernate.cfg.SettingsFactory Deleted entity synthetic identifier rollback: disabled
25.08.05 13:04:17,971 INFO org.hibernate.cfg.SettingsFactory Default entity-mode: pojo
25.08.05 13:04:18,174 INFO org.hibernate.impl.SessionFactoryImpl building session factory
25.08.05 13:04:18,174 DEBUG org.hibernate.impl.SessionFactoryImpl Session factory constructed with filter configurations : {}
25.08.05 13:04:18,174 DEBUG org.hibernate.impl.SessionFactoryImpl instantiating session factory with properties: {*****}
25.08.05 13:04:18,237 WARN net.sf.ehcache.config.Configurator No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/....../lib/ehcache-1.1.jar!/ehcache-failsafe.xml
25.08.05 13:04:18,706 DEBUG org.hibernate.persister.entity.BasicEntityPersister Static SQL for entity: cz.active24.central.Pricel
25.08.05 13:04:18,706 DEBUG org.hibernate.persister.entity.BasicEntityPersister Version select: select price_id from public.pricelist where price_id =?
25.08.05 13:04:18,706 DEBUG org.hibernate.persister.entity.BasicEntityPersister Snapshot select: select pricel_.price_id, pricel_.show_on_web as show2_0_ from public.pricelist pricel_ where pricel_.price_id=?
25.08.05 13:04:18,706 DEBUG org.hibernate.persister.entity.BasicEntityPersister Insert 0: insert into public.pricelist (show_on_web, price_id) values (?, ?)
25.08.05 13:04:18,706 DEBUG org.hibernate.persister.entity.BasicEntityPersister Update 0: update public.pricelist set show_on_web=? where price_id=?
25.08.05 13:04:18,706 DEBUG org.hibernate.persister.entity.BasicEntityPersister Delete 0: delete from public.pricelist where price_id=?
25.08.05 13:04:18,753 DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity cz.active24.central.Pricel: select pricel0_.price_id as price1_0_0_, pricel0_.show_on_web as show2_0_0_ from public.pricelist pricel0_ where pricel0_.price_id=?
25.08.05 13:04:18,753 DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity cz.active24.central.Pricel: select pricel0_.price_id as price1_0_0_, pricel0_.show_on_web as show2_0_0_ from public.pricelist pricel0_ where pricel0_.price_id=?
25.08.05 13:04:18,753 DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity cz.active24.central.Pricel: select pricel0_.price_id as price1_0_0_, pricel0_.show_on_web as show2_0_0_ from public.pricelist pricel0_ where pricel0_.price_id=? for update
25.08.05 13:04:18,753 DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity cz.active24.central.Pricel: select pricel0_.price_id as price1_0_0_, pricel0_.show_on_web as show2_0_0_ from public.pricelist pricel0_ where pricel0_.price_id=? for update
25.08.05 13:04:18,753 DEBUG org.hibernate.impl.SessionFactoryObjectFactory initializing class SessionFactoryObjectFactory
25.08.05 13:04:18,768 DEBUG org.hibernate.impl.SessionFactoryObjectFactory registered: d1dfe83205ed4f3f0105ed4f42410000 (unnamed)
25.08.05 13:04:18,768 INFO org.hibernate.impl.SessionFactoryObjectFactory Not binding factory to JNDI, no JNDI name configured
25.08.05 13:04:18,768 DEBUG org.hibernate.impl.SessionFactoryImpl instantiated session factory
25.08.05 13:04:18,768 INFO org.hibernate.impl.SessionFactoryImpl Checking 0 named queries
25.08.05 13:04:18,831 DEBUG org.hibernate.impl.SessionImpl opened session at timestamp: 4607868349513728
25.08.05 13:04:18,831 DEBUG org.hibernate.transaction.JDBCTransaction begin
25.08.05 13:04:18,831 DEBUG org.hibernate.jdbc.ConnectionManager opening JDBC connection
25.08.05 13:04:18,831 DEBUG org.hibernate.connection.DriverManagerConnectionProvider total checked-out connections: 0
25.08.05 13:04:18,831 DEBUG org.hibernate.connection.DriverManagerConnectionProvider using pooled JDBC connection, pool size: 0
25.08.05 13:04:18,831 DEBUG org.hibernate.transaction.JDBCTransaction current autocommit status: false
25.08.05 13:04:18,878 DEBUG org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
25.08.05 13:04:18,878 DEBUG org.hibernate.SQL select this_.price_id as price1_0_0_, this_.show_on_web as show2_0_0_ from public.pricelist this_ where this_.show_on_web=?
Hibernate: select this_.price_id as price1_0_0_, this_.show_on_web as show2_0_0_ from public.pricelist this_ where this_.show_on_web=?
25.08.05 13:04:18,878 DEBUG org.hibernate.jdbc.AbstractBatcher preparing statement
25.08.05 13:04:18,878 DEBUG org.hibernate.type.BooleanType binding 'true' to parameter: 1
25.08.05 13:04:18,909 DEBUG org.hibernate.jdbc.AbstractBatcher about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
25.08.05 13:04:18,909 DEBUG org.hibernate.jdbc.AbstractBatcher closing statement
25.08.05 13:04:18,909 DEBUG org.hibernate.util.JDBCExceptionReporter could not execute query [select this_.price_id as price1_0_0_, this_.show_on_web as show2_0_0_ from public.pricelist this_ where this_.show_on_web=?]
org.postgresql.util.PSQLException: ERROR: operator does not exist: bit = boolean
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1471)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1256)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:389)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:330)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:240)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:120)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1618)
at org.hibernate.loader.Loader.doQuery(Loader.java:639)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:221)
at org.hibernate.loader.Loader.doList(Loader.java:1959)
at org.hibernate.loader.Loader.list(Loader.java:1943)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1314)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:298)
at cz.active24.central.Test.main(Test.java:64)
25.08.05 13:04:18,924 WARN org.hibernate.util.JDBCExceptionReporter SQL Error: 0, SQLState: 42883
25.08.05 13:04:18,924 ERROR org.hibernate.util.JDBCExceptionReporter ERROR: operator does not exist: bit = boolean
25.08.05 13:04:18,924 DEBUG org.hibernate.transaction.JDBCTransaction rollback
25.08.05 13:04:18,924 DEBUG org.hibernate.jdbc.JDBCContext before transaction completion
25.08.05 13:04:18,924 DEBUG org.hibernate.impl.SessionImpl before transaction completion
25.08.05 13:04:18,924 DEBUG org.hibernate.transaction.JDBCTransaction rolled back JDBC Connection
25.08.05 13:04:18,924 DEBUG org.hibernate.jdbc.JDBCContext after transaction completion
25.08.05 13:04:18,924 DEBUG org.hibernate.impl.SessionImpl after transaction completion
25.08.05 13:04:18,924 DEBUG org.hibernate.impl.SessionImpl closing session
25.08.05 13:04:18,924 DEBUG org.hibernate.jdbc.ConnectionManager closing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
25.08.05 13:04:18,924 DEBUG org.hibernate.connection.DriverManagerConnectionProvider returning connection to pool, pool size: 1
25.08.05 13:04:18,924 DEBUG org.hibernate.jdbc.JDBCContext after transaction completion
25.08.05 13:04:18,924 DEBUG org.hibernate.impl.SessionImpl after transaction completion