[Hibernate] Mapping an object accross mutiple tables ??

2003-08-22 Thread St-Pierre Philip
Title: Mapping an object accross mutiple tables ?? Hi everyone,     With Hibernate, we can map to classes to the same table, (eg. A person object that has a reference to an address object, and the information of both are saved to same table T_PERSON). But can I save a single object across

[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

[Hibernate] (no subject)

2003-11-24 Thread St-Pierre Philip
Hi everyone,     I have an object named EntiteAffaire that has a collection (many-to-many relation with a composite-element) of coordinate. A coordinate can be a telephone, an address or an email. In the coordinate table, there is a field named "KIND_COO" that tells me which kind of coordi

[Hibernate] Filtering collections with where clause??

2003-11-24 Thread St-Pierre Philip
Title: Message Hi everyone,     I have an object named EntiteAffaire that has a collection (many-to-many relation with a composite-element) of coordinate. A coordinate can be a telephone, an address or an email. In the coordinate table, there is a field named "KIND_COO" that tells me wh

RE : [Hibernate] Filtering collections with where clause??

2003-11-25 Thread St-Pierre Philip
on on which I want to filter is not in the collection table, but in one table forward (The table of the contained object). Thanks -Message d'origine- De : Gavin King [mailto:[EMAIL PROTECTED] Envoyé : 24 novembre, 2003 17:07 À : St-Pierre Philip Cc : ([EMAIL PROTECTED]) Objet : Re:

[Hibernate] StaleObjectException using timestamps on a websphere application server

2004-01-21 Thread St-Pierre Philip
Title: StaleObjectException using timestamps on a websphere application server Is there an issue about StaleObjectException using the timestamps while executing on a websphere application server. I'm using optimistic locking with timestamp and the call to session.connection().commit() always g

RE : [Hibernate] StaleObjectException using timestamps on a websp here application server

2004-01-21 Thread St-Pierre Philip
I'm using the same EXACT driver with the app server and without. -Message d'origine- De : Max Rydahl Andersen [mailto:[EMAIL PROTECTED] Envoyé : 21 janvier, 2004 15:48 À : St-Pierre Philip Cc : ([EMAIL PROTECTED]) Objet : Re: [Hibernate] StaleObjectException using times

[Hibernate] Problem with Idbag...

2004-04-21 Thread St-Pierre Philip
Title: Problem with Idbag... I have a many-to-many association between two objects. The association table contains the idbag identifier, the identifier of each associated objects and additionnal fields (Collection of components). Here is the association table: ID_EC