-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: 2.1.2 bugs
PostPosted: Wed Feb 11, 2004 4:13 am 
Senior
Senior

Joined: Tue Oct 21, 2003 8:15 am
Posts: 186
I'm using Sybase ASE 12.5 and Hibernate 2.1.2 seems to have introduces a couple of annoying bugs.

I went back to beta 6 last night and it work fined. Therefore, I'm pretty sure the following two items represent 2.1.2 bugs. Hope someone can provide some insight into this:

1. "SybSQLException: Select expression results in more than one column having same name. Column name 'name17_' is specified more than once".

The problem disappears if I set max fetch depth to 0, but that is not a real solution since performance detoriates dramatically.

2. SybSQLException about statements already beeing closed. I've never get that when running beta 6.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 5:13 pm 
Senior
Senior

Joined: Tue Oct 21, 2003 8:15 am
Posts: 186
Anyone know about a workaround for this bug?

I'm stuck.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2004 10:04 am 
Senior
Senior

Joined: Tue Oct 21, 2003 8:15 am
Posts: 186
I added a bug report for this bug:

"SybSQLException: Select expression results in more than one column having same name. Column name 'name17_' is specified more than once"

But some clever guy marked it as resolved saying I didn't provide enough information. Fair enough.

HOWEVER: I have attempted to reproduce the fault in a postable example without success.

My actual application is too large to post (nor can I do it for reasons you may understand)


Could someone tell me in which cases Hibernate might generate column name aliases of the same name - perhaps then I can create a work-around.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 13, 2004 7:19 pm 
Senior
Senior

Joined: Tue Oct 21, 2003 8:15 am
Posts: 186
I have again tried to reproduce with a smaller example - no luck.

Perhaps this bug pops up because my datamodel is more complex than the average?

Anyone???


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.