1. Inner join where property names don't match forum.hibernate.orgI want to do an inner join across two tables so I can sort the rows in the first by a name value in the second. The cat/mate example in the documentation isn't much help, because the join is to the same table. The various forum postings I've read aren't much help because the joins there always seem to involve joining ... |
2. Where can I finf properties, DTD etc.??? forum.hibernate.org |
3. Sun One: Where do I put my hibernate.properties? forum.hibernate.orgI'm running Sun One Appserver 8. I have a hibernate.properties that configures the database specifics and I use Configuration.addClass() to specify the classes to be mapped. I just can't seem to find where to put the hibernate.properties so that it will be found. The reason that I'm not using an XML config is because I am specifying my mapping with addClass(), ... |
4. where do I put hibernate.properties? forum.hibernate.orgI get this error when I run which implies that my hibernate.properties has not been recognized...i.e. I put it in the wrong place. net.sf.hibernate.connection.UserSuppliedConnectionProvider#configure No connection properties specified - the user must supply JDBC connections I'm running hibernate2.1 and jboss.3.2.3. and here is my hibernate.properties: hibernate.dialect net.sf.hibernate.dialect.Oracle9Dialect hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver hibernate.connection.url jdbc:oracle:thin:@localhost:1521:bmcs hibernate.connection.username foo hibernate.connection.password bar hibernate.show_sql true I've put copies of ... |
5. Where do generated properties come from? forum.hibernate.orgI've looked around but have apparently missed this little detail. When I use @Generated(...) to populate created-date and modified-date fields, where do the values come from: the container or the database? In the project I'm working on, we will have multiple containers but a single database, therefore I'd like to use the database time and not container time. Thanks for the ... |
6. Where to place log4.properties file? forum.hibernate.org |