Re: [hibernate-dev] Using hibernate with UDFs

2007-12-18 Thread richard
Most modern databases support user defined functions that return tables. We use them with both MS-SQL Server and Postgres to implement a rather complex/convoluted security scheme in the database. Thus instead of doing this: SELECT * FROM clients we do this: SELECT * FROM secure_clients( )

Re: [hibernate-dev] Using hibernate with UDFs

2007-12-18 Thread Max Rydahl Andersen
haven't heard about anyone working on this. With UDF I guess you mean user defined functions and on SQL Server or ? Have you tried just using the UDF as table name directly ? /max I asked in the forums a while back about using Hibernate to tie back to set-returning UDFs instead of a table or

[hibernate-dev] Using hibernate with UDFs

2007-12-18 Thread richard
I asked in the forums a while back about using Hibernate to tie back to set-returning UDFs instead of a table or a view. http://forum.hibernate.org/viewtopic.php?t=980650&highlight= I have looked at Hibernate alternatives solutions and they all come up short in some way. I'm interested in ha

[hibernate-dev] Re: hibernate-dev Digest, Vol 18, Issue 11

2007-12-18 Thread 徐昂
re ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] HSearch-133

2007-12-18 Thread Emmanuel Bernard
Big -1 on forcing the user to supply the same similarity, We need to keep a similarity per entity in the SearchFactory so that the query can then retrieve it. The reason I chose IndexReader (and Multireader) was because Searcher is a much weaker abstraction, so you cannot do all the things