pass « Property « JPA Q&A





1. Hibernate log4j.properties print DB uname & pass    stackoverflow.com

My story is as follows. I have a java app with hibernate connected to a embedded db(derby). The funny thing was, that my hibernate app printed the uname at start, because i was ...

2. How to pass more properties to hibernate ?    forum.hibernate.org

hi,all i am using jmx configuration as below to setup hibernate: jboss.jca:service=RARDeployer jboss.jca:service=LocalTxCM,name=jdbc/OmnetDemo META-INF/User.hbm.xml META-INF/Device.hbm.xml java:/hibernate/HibernateFactory java:/jdbc/OmnetDemo net.sf.hibernate.dialect.MySQLDialect net.sf.hibernate.transaction.JTATransactionFactory net.sf.hibernate.transaction.JBossTransactionManagerLookup true true java:/UserTransaction then how to set other properties,such as maxIdleTime,etc., to hibernate? thanks ...

3. disabled value property doesn't pass to the .java class    forum.hibernate.org

hi html commands like disabled doesn't pass the value to the .java class, what is the error? u]when we put a disabled keyword before the value the above jsp did not work, but when we remove that disabled keyword it works successfully[/u] what the wrong? error report 10:49:32,004 INFO SessionFactoryObjectFactory:82 - no JNDI name configured product id is null product name ...

4. best practice of passing selective properties to view layer    forum.hibernate.org

Hi, Would like to seek advice: what's the common way of passing selective properties back to the view layer? In the past I always pass back a list of full objects but recently I need to pass some selected properties only back to view layer (JSP). Passing back the full object makes the view layer processing much easier because in JSP ...