Re: [Hibernate] problem with org.hibernate.ejb.packaging.JarVisitor

2006-05-24 Thread Emmanuel Bernard
I've applied your proposal. For my information, which websphere version are you using? Juraj Burian wrote: Hi folks, we have problem with method public static final URL getJarURLFromURLEntry(URL url, String entry) throws IllegalArgumentException in org.hibernate.ejb.packaging.JarVisitor. The p

Re: [Hibernate] problem with org.hibernate.ejb.packaging.JarVisitor

2006-05-17 Thread Emmanuel Bernard
The question is: does a "wsjar" behave exactly the same as a regular "jar" regarding the parsing protocol? They probably have a good reason to have introduced an other protocol (well maybe not). Can you confim that wsjar are actually propertly parsed by the Jar visitor? Juraj Burian wrote: Hi

Re: [Hibernate] Problem adding a new Dialect

2006-04-24 Thread Max Rydahl Andersen
user questions should go to the user forum. and btw. Oracle has the same behavior so look for how that is solved. Hint: It is not in the dialect but by usertypes or application logic. /max Hello list, i'm currently trying to write a dialect for the Gupta SQLBase having the problem, that the

Re: [Hibernate] problem with many to many

2006-03-16 Thread Max Rydahl Andersen
go to the user forum or the wiki or the faq or the book where this is answered many times... /max Hi, I'm begining with hibernate... I have a problem with relationships, this problem is describe below: There is an object A, this object have an association (many to many) with an object B.

RE: [Hibernate] Problem configuring Hibernate with mappings via an InputStream

2005-02-07 Thread Steve Ebersole
This is a usage question and has no relevance to the furthering development of Hibernate.  Please use the user forums.   Thank you.     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Safdar Kureishy Sent: Monday, February 07, 2005 9:02 PM To: hibernate-devel@lis

Re: [Hibernate] Problem in running Hibernate tests against oracle 9i

2004-12-29 Thread Max Rydahl Andersen
On Wed, 29 Dec 2004 18:55:33 +0530, Tarun Bansal <[EMAIL PROTECTED]> wrote: Have you set the dialect to Oracle9Dialect ? /max Hi, I am trying to build Hibernate 2.1 on windows 2000 using the database as Oracle 9i. The Hibernate2.jar has been successfully build. But all the tests are failing. The

Re: [Hibernate] Problem in MethodNode

2004-12-19 Thread Gavin King
Great, you made my day! :) Joshua Davis wrote: Try it now. :) Gavin King wrote: Guys, in the new query parser, some SQL functions like upper() and max() do not work in the select clause, since they expect to be passed the type of the expression they are applied to. Currently MethodNode.resolve() pa

Re: [Hibernate] Problem in MethodNode

2004-12-19 Thread Joshua Davis
Try it now. :) Gavin King wrote: Guys, in the new query parser, some SQL functions like upper() and max() do not work in the select clause, since they expect to be passed the type of the expression they are applied to. Currently MethodNode.resolve() passes null: SQLFunction function = getSe

Re: [Hibernate] Problem with query-by-example on primary-key

2004-11-12 Thread Emmanuel Bernard
Please search and use the user forum for such questions... and the doc :-) Emmanuel Bernard 01.55.21.52.14 Fnac - DSI Direction France - Nouvelles technologies 67, boulevard du Gal Leclerc 92612 Clichy Cedex Robb Greathouse wrote: I can query by example with the following code perfectly; except wh

Re: [Hibernate] Problem with Idbag...

2004-04-23 Thread Gavin King
I've fixed this in CVS. Please test the fix. TIA St-Pierre Philip wrote: 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 associat

Re: [Hibernate] Problem with Idbag...

2004-04-22 Thread Gavin King
This seems to be a bug. Please submit to JIRA. TIA St-Pierre Philip wrote: 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 associ

[Hibernate] Re: hibernate problem

2003-11-14 Thread Prasad Iyer
hi, I solved this problem by using the new oracle driver. regards prasad chandrasekaran - Original Message - From: "Dongli Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 14, 2003 10:43 PM Subject: hibernate problem > hi prasad, > > I have the same problem with y

Re: [Hibernate] problem with boolean in MySQL

2003-11-07 Thread Gavin King
You are mistaken. dosapati wrote: I am using: Hibernate 2.0.1, MySQL - 4.0.12 database. When boolean is used in hbm mapping files, SchemaExport is generating 'tinyint' type column for MySQL DB. But at runtime the value is always getting saved as '0' in the column even for 'true' value. But the

Re: [Hibernate] Problem with order by - SQL

2003-10-18 Thread David Morris
IBM added support for that syntax with V5R2. You could also intercept the order by clause where it is built or where it is used and strip out the table. That change shouldn't take too long. David Morris >>> <[EMAIL PROTECTED]> 10/17/2003 1:15:45 PM >>> Hello hibernate boys, I'm new with hibern

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
L PROTECTED] > Sent: Thursday, October 16, 2003 7:07 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver > when Rereading columns > > > Unfortunately, no. I've heard that the jTDS driver is more > complian

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Sandeep Dath
sage- From: Eric Pugh [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 12:00 PM To: 'Sandeep Dath'; [EMAIL PROTECTED] Subject: RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns I agree. The Microsoft JDBC driver was purchased by Microsoft

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
> Sent: Thursday, October 16, 2003 6:21 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver > when Rereading columns > > > Rumors apart, I believe jTDS has very recently moved (in the Hibernate > context) from just a

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Sandeep Dath
sday, October 16, 2003 11:06 AM To: 'Sandeep Dath'; [EMAIL PROTECTED] Subject: RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns Unfortunantly I only have the microsoft one.. I had heard jTDS was better, and faster, but have never found the

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
IL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver > when Rereading columns > > > Eric, > > Have you tried using the jTDS driver? If so, what were your > results? I > believe jTDS passed all the Hibernate tests? (I

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Sandeep Dath
:47 AM To: [EMAIL PROTECTED] Subject: RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns I have a unit test demonstrating this issue. I would like to commit it in test/mssql directory. I also want to commit a couple other unit tests that demonstate limitations with

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
I have a unit test demonstrating this issue. I would like to commit it in test/mssql directory. I also want to commit a couple other unit tests that demonstate limitations with MSSQL and hibernate. For instance, the standard tests fail due to some timestamp issues, but it would be nice to show c

Re: [Hibernate] Problem with timestamp

2003-10-01 Thread Gavin King
Ooops. Sorry. I mean to say "mistaken" LOL. Gavin King wrote: You are mistake. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ hibernate-devel ma

Re: [Hibernate] Problem with timestamp

2003-10-01 Thread Gavin King
You are mistake. Are you sure you didn't declare the column as "timestamp" instead of "datetime" in MySQL? Laurent Fleuriot wrote: Hi, I have a problem with timestamp. My problem is that I have an object java with 2 dates( start and end). When I insert the object, the date "end" is null BU

Re: [Hibernate] Problem With query in Hibernate

2003-09-29 Thread William R. Lorenz
Laurent, With regards to the LEFT JOIN clauses, I've always used mapped Set objects (many-to-one,one-to-many) and then interated the resulting Java Set object to return only the objects that I need. I'm sure there's a more efficient way to do this though, and I'd love to hear what you find out

Re: [Hibernate] problem in using JTA datasources

2003-09-25 Thread dosapati
Stefano, thanks for your response. Yes, it is working now. But I have a major doubt on session.flush(). It was working without session.flush() when I begin the transaction with session.beginTransaction() and not setting external connection. When JTA UserTransaction is handled by application and

Re: [Hibernate] Problem with Exception "Flush during cadcade is dangerous...."

2003-09-24 Thread Gavin King
http://www.hibernate.org/117.html#A20 Please do not post these kinds of questions to the development list. TIA. Oisin Kim wrote: Hi All, Been using Hibernate for about 2 weeks now and have run into the following problem, hopefully someone out there knows what I'm doing wrong. I've read the hiber

Re: [Hibernate] Problem

2003-09-18 Thread Juozas Baliuka
using Hibernate 2.0 beta 5 > > - Original Message - > From: "Juozas Baliuka" <[EMAIL PROTECTED]> > To: "Prasad Iyer" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Wednesday, September 17, 2003 9:13 PM > Subject: Re: [Hiberna

Re: [Hibernate] Problem

2003-09-17 Thread Prasad Iyer
een modified it fires insert or update statement? Thanks for the help. I am using Hibernate 2.0 beta 5 - Original Message - From: "Juozas Baliuka" <[EMAIL PROTECTED]> To: "Prasad Iyer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, Septem

Re: [Hibernate] Problem

2003-09-17 Thread Juozas Baliuka
Have you tried to commit transaction ? - Original Message - From: "Prasad Iyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 1:34 PM Subject: [Hibernate] Problem Hi, I am using Microsoft SQL Server as a database and Hibernate version 2.0.5 beta. We are

Re: [Hibernate] Problem with polymorphism="explicit"

2003-09-03 Thread Mark Woon
Gavin King wrote: Re: [Hibernate] Problem with polymorphism="explicit" This is ALL as expected. You can not load the same database row as two different objects. That is pathalogical. Isn't this exactly what the Lightweight Class pattern is supposed to accompli

Re: [Hibernate] Problem with polymorphism="explicit"

2003-09-03 Thread Gavin King
This is ALL as expected. You can not load the same database row as two different objects. That is pathalogical. You can call session.evict(info) if you wish to reload it as a different class. Gavin > Hi all, > > I'm hoping someone can point me in the right direction. I'm using the > Lightwe

Re: [Hibernate] Problem with upgrading to 2.0

2003-02-12 Thread Christian Bauer
On 12 Feb (09:14), Jason Carreira wrote: > Why is this in the jar file? I just want to use the hibernate.cfg.xml > and provide my own connections. Hibernate doesn't need to know anything > about JDBC drivers in my case, and I wouldn't want to default to DB2 > anyway. > > I guess I can go in and r

Re: [Hibernate] problem with m-to-n and 1-to-1 relationship and repeating entities

2003-02-04 Thread Gavin . King
I'm not 100% certain ... it would help if you would post a Hibernate debug-level log Did you set unsaved-value on HibernateAdministrator? The "creating new rows instead of updating existing rows" thing is almost always a problem to do with unsaved-value being set wrongly... Did you read the new

Re: [Hibernate] Problem with Connection Pool Timeouts

2003-01-09 Thread Juozas Baliuka
rn? Say the word, and I'll take a stab at > submitting a patch. > > Thanks, > > Ken > > > > -Original Message- > From: Ken Robinson > Sent: Wednesday, January 08, 2003 11:05 AM > To: 'Gavin King'; [EMAIL PROTECTED] > Subject: R

RE: [Hibernate] Problem with Connection Pool Timeouts

2003-01-09 Thread Ken Robinson
ake a stab at submitting a patch. Thanks, Ken -Original Message- From: Ken Robinson Sent: Wednesday, January 08, 2003 11:05 AM To: 'Gavin King'; [EMAIL PROTECTED] Subject: RE: [Hibernate] Problem with Connection Pool Timeouts I updated to latest CVS to take advantage of

RE: [Hibernate] Problem with Connection Pool Timeouts

2003-01-08 Thread Ken Robinson
are still valid? I'm not familiar with the workings of DBCP, and the documentation on their site is certainly less than optimal. -Original Message- From: Gavin King [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 3:42 PM To: Ken Robinson; [EMAIL PROTECTED] Subject: RE: [Hibe

RE: [Hibernate] Problem with Connection Pool Timeouts

2003-01-08 Thread Ken Robinson
That would be the easy way wouldn't it :) -Original Message- From: Gavin King [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 3:42 PM To: Ken Robinson; [EMAIL PROTECTED] Subject: RE: [Hibernate] Problem with Connection Pool Timeouts

RE: [Hibernate] Problem with Connection Pool Timeouts

2003-01-07 Thread Gavin King

RE: [Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-22 Thread Konstantin Priblouda
--- Matt Raible <[EMAIL PROTECTED]> wrote: > I got it to work by looking at your example > Konstantin. Thanks! > > Now I'm having a problem where I want to set a > unique contraint on name > and userId in my resume table. Following > Konstantin's example, I have > my one-to-many relationship in

RE: [Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-22 Thread Matt Raible
---Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Konstantin Priblouda > Sent: Sunday, December 22, 2002 7:00 AM > To: Matt Raible > Cc: hibernate-devel > Subject: Re: [Hibernate] Problem using Xdoclet to generate > relationships [newbi

Re: [Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-22 Thread Konstantin Priblouda
--- Matt Raible <[EMAIL PROTECTED]> wrote: > I'm a rookie at using Hibernate, so please bear with > me. > > I have User object that has a one-to-many mapping to > a Resume object. I > am getting the exception below when trying to > persist the resume. > > I believe I might be doing something wr

Re: [Hibernate] Problem with element

2002-09-25 Thread Gavin King
A set of strings isn't an association... So I'm still confused why cascade() is called. - Original Message - From: "Mark Woon" <[EMAIL PROTECTED]> To: "Gavin King" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 10:56 PM Subject: Re: [

Re: [Hibernate] Problem with element

2002-09-25 Thread Gavin King
Curious. I managed to reproduce an NPE just like this, but from update(), not save().. Are you sure it originated in save() can you show me a stack trace please. I'm concerned that the testsuite didn't show this / these problems :( - Original Message - From: "Mark Woon" <[EMAIL