[hibernate-dev] Invoking hbm2java without using Ant

2008-04-21 Thread Lakshmana Pamarthy
As part of the reverse engineering code generation functionality, I am trying to find a solution on how to invoke hbm2java from a java class without using ant. I read the documentation on Ant tasks at http://www.hibernate.org/hib_docs/tools/reference/en/html/ant.html But this doc doesn't tell an

Re: [hibernate-dev] Re: [Hibernate-JIRA] Commented: (HSEARCH-115) Add a default value for indexing null value

2008-04-21 Thread Sanne Grinovero
Hey all, nice discussion :-) About implementation 1: I like this one, but think this is what people already are doing using their own StringBridge when needed, as an "unsupported hack". In case the framework was offering me this option I would expect it to be really smart: "escape" somehow the val

[hibernate-dev] Pagination: An approach for retrieving results / page count in single query

2008-04-21 Thread Jonathan Gerrish
[Already posted to hibernate-users, but no responses.] Hi, I have pagination working, but am doing so with two queries; one to get the results page and a second one to get the total count. I'd like to do this in a single query: Is it possible to build a criteria, so my results set includes colum

[hibernate-dev] Re: [Hibernate-JIRA] Commented: (HSEARCH-115) Add a default value for indexing null value

2008-04-21 Thread Emmanuel Bernard
Hey The more I think about the feature, the less I like it. Here is what I have written in Hibernate Search in Action Hibernate Search, by default, does not store null attributes into the index. Lucene does not have the notion of null fields, the field is simply not there. Hibernate Search c