Re: [Hibernate] Can Hibernate delete all records from table?

2003-11-06 Thread Bear Giles
JD L wrote: Can someone please tell me if there is a way to delete all the records from a table in Hibernate. I am looking for the same effect that "delete from SOMETABLE" has in SQL. This is a 'truncate' operation, and I'm not sure how you could call it since it's a statement, not a query. By t

[Hibernate] Show_sql??

2003-11-06 Thread St-Pierre Philip
Title: Show_sql?? Hi everyone,         When show_sql is set to true, we get message like that, with ? Sign in place of the bind parameter: Hibernate: select t_activi0_.ID_ACO as ID_ACO__, ..., t_activi0_.ID_CC as ID_CC from DET.T_ACTIVITE_COMMERCIALE t_activi0_ where t_activi0_.ID_CC

RE : [Hibernate] Show_sql??

2003-11-06 Thread St-Pierre Philip
Title: Message But hibernate has all he needs to ouput the bind parameter of the sql call. Hibernate has to build the sql call, so at the moment he build the request he can output this request with the bind parameter. In the log4J property file there is:   ### log JDBC bind parameters ### l

Re: RE : [Hibernate] Show_sql??

2003-11-06 Thread Bill Horsman
Hi, On 6 November 2003 at 08:57, Cameron Braid wrote: [snip] > c) use proxool as the pool / driver and configure it to log > statements [snip] FYI, use the latest Proxool (0.8.2) if you want to get the bound variables to replace the question marks. 0.7.2 and earlier puts the bound variables in

[Hibernate] cirrus.hibernate.jmx.HibernateService

2003-11-06 Thread khote
maven,xdoclet,jboss, and hibernate saw recently that the cirrus stuff was dumped. my maven build still causes jboss-service.xml to have ... to be output. What is the correct HibernateService mbean? What is the property setting to use to ensure I get the right value? --

[Hibernate] mapping package refactor

2003-11-06 Thread Gavin King
I finally got round to cleaning up the mapping package. It should now be useable by all these crazy people who want to manipulate the metamodel at runtime. I'd appreciate if people could take a look and review and critique. I'm sure there will be at least some further minor changes. (No Max, I didn

[nevermind] Re: [Hibernate] cirrus.hibernate.jmx.HibernateService

2003-11-06 Thread khote
After looking in the HibernateTagsHandler.java, I found that I forgot to set maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0 [nevermind] - Original Message - From: "khote" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 7:25 AM Subject: [Hibernate] cir

Re: [Hibernate] mapping package refactor

2003-11-06 Thread Max Rydahl Andersen
I finally got round to cleaning up the mapping package. It should now be useable by all these crazy people who want to manipulate the metamodel at runtime. I'd appreciate if people could take a look and review and critique. I'm sure there will be at least some further minor changes. Great! Surpris

Re: [Hibernate] Sigh. Hibernate is so cool that I could..

2003-11-06 Thread Max Rydahl Andersen
nuff said - thanx ;) ...you just earned a place at http://www.hibernate.org/95.html /max Sandeep Dath wrote: Hi, Everytime that the Hibernate team says that Hibernate is "oh so cool", and "it produces oh so optimized SQL" and "its oh so fast", I usually concur. However, I have often have th