1. Need easy way to force all DynaBean property names to lower case stackoverflow.comI'm developing functionality that can operate on concrete data beans returned via Hibernate, or DynaBeans returned by using Jakarta Commons/BeanUtils' RowSetDynaClass (which wraps a JDBC result set). RowSetDynaClass by default ... |
2. How to translate name for @Enumerated properties? stackoverflow.comThere are two EnumType: as
|
3. Is a property with the name 'id' not allowed? forum.hibernate.org |
4. Property Name Can Not be called "change", is this forum.hibernate.orgThis class Sample1 does NOT create a database table, and no Exception is thrown If you change the property name to "ychange" everything works fine... ------------------------------------------------------------------------ |
5. Case insensitive property names? forum.hibernate.orgHibernate version: 3.0.5 The generated SQL (show_sql=true): Hibernate: select hibernatep0_.iddb as iddb, hibernatep0_.name as name6_, hibernatep0_.packageid as packageid6_, hibernatep0_.processdefinitionid as processd4_6_, hibernatep0_.processdefinitionversion as processd5_6_, hibernatep0_.processdefinitioncreated as processd6_6_, hibernatep0_.state as state6_ from processdefinitions hibernatep0_ where PackageId='test_bs' order by ProcessDefinitionCreated ASC code: session.createQuery("from HibernateProcessMgr where "+sqlWhere).list(); //sqlWhere="PackageId='test_bs' order by ProcessDefinitionCreated ASC" Is it possible to have hsql do a insensitive check on property ... |
6. System property (-D) to change Hib. configuration file name forum.hibernate.orgHi, Is it possible to set some system/java property (java -Dproperty=value) to tell Hibernate to read configuration from another file than default hibernate.cfg.xml or hibernate.properties? I know it could be done in runtime by Java code, but -D would be easier to switch between different configurations or choose stand alone/JBoss version. I use Hibernate 3.1.2. Thanks for help Marcin |
7. |
8. Can I use 'id' as property name forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hello everyone, I am trying to map a class to a database. Class DeviceID { String id; String domain; } mapping file: |
9. property name="id" assumed to be int, causes excep forum.hibernate.orgHibernate version: 3.3.0.SP1 Mapping documents: Code: |