[Hibernate] Quera By Example problems

2003-10-13 Thread Damijan Sencar
Hi! I use hibernate 2.1bet4. I wrote this code: . Persons persons = new Persons(); persons.setFirstname("TestName"); List personsList = session.createCriteria(Persons.class).add(Example.create(persons).ignoreCase()).list(); . When I try to

[Hibernate] Case sensitive postgres table names

2003-10-09 Thread Damijan Sencar
Hi! How can use case sensitive Postgres table names with hibrenate mapping? e.g. table with name Users gave hibernate an error "relation users not found". If I change table name Users to users everything works well. In Users.hbm.xml I put in both cases table name in uppercase (i.e. Users). Tha

[Hibernate-devel] How to set log level?

2002-07-01 Thread Damijan Sencar
Hi! Is there some easy way to change hibernate log level? (sample properties file etc.) I tried to write simplelog.propertis file but I could not make it work as I wish. Thanx, Damijan --- This sf.net email is sponsored by:ThinkGeek Welcom