[Hibernate] Problem in generate hibernate mapping and java file in generalization.

2006-11-30 Thread Dheeraj Dhiman
Good Morning Sir, Now, I m using hibernate for my project. At that time I have handled all the cases including association. But some problem in genralization of classes. I m so confused how to make mapping and java file in hibernate for my this case . The case is : --

[Hibernate] Problem while generate hibernate mapping file in generalization.

2006-11-30 Thread Dheeraj Dhiman
Good Morning Sir, Now, I m using hibernate for my project. At that time I have handled all the cases including association. But some problem in genralization of classes. I m so confused how to make mapping and java file in hibernate for my this case . The case is : --

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

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

2006-05-16 Thread Juraj Burian
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 problem is in condition : if ( "jar".equals( url.getProtocol() ) ... , under WAS is protocol "wsjar" inste

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

[Hibernate] Problem adding a new Dialect

2006-04-24 Thread Markus Wipp
Hello list, i'm currently trying to write a dialect for the Gupta SQLBase having the problem, that the database wants empty strings '' like ' ' because otherwise if you write the former it assumes that it is a null value which doesn't work nice on non null columns. I know this is not nice, but i

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.

[Hibernate] problem with many to many

2006-03-16 Thread Thiago Colen
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. So, this relationship creates a table between A and B called AB. Now, i have an object C and this object have a

[Hibernate] problem with cvs

2006-01-28 Thread Haris Peco
i canćt access to hibernate (and hibernate tools cvs) this is error can't create temporary directory /tmp/cvs-serv680 Too many links what is a problem ? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for proble

[Hibernate] problem using 'distinct' to query a list

2005-09-03 Thread Jana Nguyen
Hi, I'm trying to get a list of universities from my site table.  My current approach is to write a select distinct query in Hibernate, for the siteParentName attribute; then use that list's size() method to get the number of elements.  I am getting a null pointer exception when instantiating th

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

2005-02-07 Thread Steve Ebersole
@lists.sourceforge.net Subject: [Hibernate] Problem configuring Hibernate with mappings via an InputStream   Hi,   I have an InputStream object that is constructed from a hibernate XML config file (in some other place) and I am trying to get the mappings contained within it read into the

[Hibernate] Problem configuring Hibernate with mappings via an InputStream

2005-02-07 Thread Safdar Kureishy
Hi,   I have an InputStream object that is constructed from a hibernate XML config file (in some other place) and I am trying to get the mappings contained within it read into the Hibernate Configuration object.   Ideally I could use the method configure(File file), but since I don’t ha

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

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

2004-12-29 Thread Tarun Bansal
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 main reason for failing the test cases is that the SQL create queries fired by the tests are not compatible with the oracle 9i.

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

[Hibernate] Problem in MethodNode

2004-12-19 Thread Gavin King
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 = getSessionFactoryHelper().findSQLFunct

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

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

2004-11-12 Thread Robb Greathouse
I can query by example with the following code perfectly; except when the primary key (ID) is the only one set.  Then the where clause read "Where 1=1"  (1 being the unique ID).  When the example object only has the ID set it loads all entries in the table.  Is there something else I need to

[Hibernate] Problem compiling class: "org/objectweb/asm/util/TraceClassVisitor" reason: unable to locate this .class file

2004-11-02 Thread Srinivas Sindhey
Hi All,       I am trying to implement the persistence mechanism through Hibernate 2.1 from a Stateless Session Bean.     So here is how it start..         SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();   This results in a error as follows...   Pro

[Hibernate] Problem compiling class: "org/objectweb/asm/util/TraceClassVisitor"

2004-11-02 Thread Srinivas Sindhey
Hi All,       I am trying to invoke implement the persistence mechanism through Hibernate 2.1 from a Stateless Session Bean.     So i start of like this..         SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); This results in a error as follows...  

[Hibernate] Problem deploying HibernateFactory as MBean

2004-06-30 Thread Kunal Parikh
Can someone please please help me with this error: TIA, Kunal jboss-service.xml === jboss.jca:service=RARDeployer jboss.jca:service=LocalTxCM,name=OracleDS Test.hbm.xml java:/hibernate/HibernateFactory java:/OracleDS net.sf.hibernate.di

[Hibernate] Problem with composite keys

2004-05-04 Thread nomorems
PROBLEM DESCRIPTION === I have two tables (each have composite keys). One composit key is a subset of the other one. I get following message error during mapping processing: net.sf.hibernate.MappingException: Foreign key (ROLE_ABSENCE [ABSENCETYPE_VERSIONID])) must have same numbe

[Hibernate] Problem with composite ID

2004-05-04 Thread nomorems
PROBLEM DESCRIPTION === I have two tables (each have composite keys). One composit key is a subset of the other one. I get following message error during mapping processing: net.sf.hibernate.MappingException: Foreign key (ROLE_ABSENCE [ABSENCETYPE_VERSIONID])) must have same numbe

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] 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   

[Hibernate] problem with hibernate and postgres

2003-12-03 Thread PM . Leclercq
Hi! I have a little problem with hibernate(2.0.3) and postgres (7.2) when i use net.sf.hibernate.tool.hbm2ddl.SchemaExport to generate my database i get some errors : v.g. : alter table DOCUMENT drop constraint FK6202C11BED92EF77 Unsuccessful: ERROR: parser: parse error at or near "" alter table

[Hibernate] problem with hibernate and postgres

2003-12-03 Thread PM . Leclercq
Hi! I have a little problem with hibernate an postgres. when i use net.sf.hibernate.tool.hbm2dll.SchemaExport to generate my tables I get a lot of parse error from the database : v.g. : alter table DOCUMENT drop constraint FK6202C11BED92EF77 Unsuccessful: ERROR: parser: parse error at or near ""

[Hibernate] problem with boolean in MySQL

2003-11-27 Thread O'Reilly John
Hi dosapati, I had the same problem as you ('0' being saved into the DB regardless of the value set). It turns out that the problem was with the mysql jdbc driver I was using. I was using the "org.gjt.mm.mysql.Driver" version but am now using the "com.mysql.jdbc.Driver" version (the so-called off

[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, > &g

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

[Hibernate] problem with boolean in MySQL

2003-11-07 Thread dosapati
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 same thing is working when I u

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

[Hibernate] Problem with order by - SQL

2003-10-17 Thread alejandroariel76
Hello hibernate boys, I'm new with hibernate and i'm having a problem with a SQL formed by it. The SQL formed by hibernate says "Select ent.desc as desc From art as ent Order by ent.desc" And when the program runs it give me and SQL exception with the text "invalid column name" becouse t

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
; From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Eric > Pugh > Sent: Thursday, October 16, 2003 3:29 PM > To: [EMAIL PROTECTED] > Subject: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when > Rereading columns > > > We have a problem with the

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

2003-10-16 Thread Eric Pugh
We have a problem with the Microsoft JDBC driver throwing a "can not reread column" exception. We have discovered that it only appears if the resultset contains a NTEXT, TEXT or IMAGE column. The driver then imposes the limitation that columns must be read increasing column indexes and that they m

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

[Hibernate] Problem with timestamp

2003-10-01 Thread Laurent Fleuriot
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 BUT hibernate inserts into my database (mysql) the current Time. So, how can I tell to hibernate that it must insert the end date

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

[Hibernate] Problem With query in Hibernate

2003-09-29 Thread Laurent Fleuriot
  Hi,   I would like to have the query Hibernate of this query sql :   select document.pbl_id from pbl_version_doc documentleft join reponse on reponse.VPr_ID = document.VPr_IDleft join reponse_pbl_sit on (reponse_pbl_sit.rps_id = reponse.rps_id  and reponse_pbl_sit.vst_id <> '472a03cb4971e3

R: [Hibernate] problem in using JTA datasources

2003-09-25 Thread Travelli Stefano
te explain this topic far better than me. good luck stefano -Messaggio originale- Da: dosapati [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 settembre 2003 12.48 A: Travelli Stefano; [EMAIL PROTECTED] Oggetto: Re: [Hibernate] problem in using JTA datasources Stefano, thanks for your res

[Hibernate] problem with Date when used in query

2003-09-25 Thread Prasad Iyer
Yeah you are right I got the latest and it did worked. Is there a problem with the Date I was trying between clause in where condition for date and to supply the two dates I was using Calendar.getTime(); like query.setParameter("dt", Calendar.getTime()); It gave me class cast exception. Thanks for

Re: [Hibernate] problem in using JTA datasources

2003-09-25 Thread dosapati
- Original Message - From: "Travelli Stefano" <[EMAIL PROTECTED]> To: "dosapati" <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 3:06 PM Subject: R: [Hibernate] problem in using JTA datasources > Change the order of the last statements: > > // first flush

[Hibernate] problem in using JTA datasources

2003-09-25 Thread dosapati
I am facing problems in using UserTransaction & JTA datasource with Hibernate.   I am using JOTM as TransactionManager and XAPool ass JTA datasource. To use them, first I resitered them from Tomcat's server.xml as Resources.My java code is like this:     try {  Context ctx = new Initial

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

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

2003-09-24 Thread Oisin Kim
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 hibernate manual and checked the web for something similar, but can't find anything like this, I must be doing something stupid! Thanks i

[Hibernate] Problem in 2.1b3

2003-09-19 Thread daxin
no problem found when I use 2.01, but when I upgrade to 2.1b3: [19/Sep/2003 20:27:29:4] error: Exception: SERVLET-execution_failed: Error in executing servlet SvltAgentSMS: java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.getTableName Exception Stack Trace:

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 vers

[Hibernate] Problem

2003-09-17 Thread Prasad Iyer
Hi, I am using Microsoft SQL Server as a database and Hibernate version 2.0.5 beta. We are facing a problem that whenever a query get executed we get the result but while running it for the second time it hangs. Microsoft SQL Server service needs to be restarted. Can anybody help me regards p

[Hibernate] Problem to save a object

2003-09-13 Thread Miguel Henley
Hello All, I am new in this list and I have a little "beginner" problem: I have one table called "Clientes" in a MySQL database and using the hibernate framework I can not save a new object at this table. No error is reported but the object is not insert in the table. Bellow is the content of

[Hibernate] problem with update collection

2003-09-05 Thread Laurent Fleuriot
hi,   I have a problem with the update collection.   I have 2 classes. classA and classB   classA {     ...     Collection objectClassB; }   All id are assigned. And I made an Interceptor and a class Persistent implements LifeCycle   When I make update(objectClassA), I have an exception

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

[Hibernate] Problem with polymorphism="explicit"

2003-09-03 Thread Mark Woon
Hi all, I'm hoping someone can point me in the right direction. I'm using the Lightweight Class design pattern and I cannot seem to get polymorphism="explicit" working as expected. I have an Info and Gene object, and when I try to do this: Info info = (Info)session.load(Info.class, "PA267");

[Hibernate] Problem with SchemaUpdate

2003-08-07 Thread Oliver Wehrens
Hi, ich have a class and a mapping. Now I enhance the class and mapping and I want to run SchemaUpdate from inside my code. I add a property 'old' to my code as well as to the mapping file. The generated sql update statement is: alter table xattr add columnold VARCHAR(20) alter table attributes ad

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

[Hibernate] Problem with upgrading to 2.0

2003-02-12 Thread Jason Carreira
Hi, I've been working on upgrading us to 2.0, and we've run into a strange bug. It seems that the hibernate.jar file ships with a hibernate.properties file in it with the JDBC driver set to DB2. Since we're using Oracle and thus don't have the DB2 driver, it's throwing an exception. Why is this i

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

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

2003-02-03 Thread Justen Stepka
I hate to ask, but I'm having a problem I just can track down.. maybe someone can help...   I currently have serveral objects which all have the following relationship to an Audit/Note object where administrators can add a note about a specific object (user account, system device, etc):      

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

[Hibernate] Problem with Connection Pool Timeouts

2003-01-07 Thread Ken Robinson
Hi all, I'm running into an issue where my pooled connections are timing out. I've tried both the Hibernate default pool as well as DBCP. Digging a little deeper, I see that when Hibernate creates it's DBCP pool via a PoolableConnectionFactory, it doesn't specify a validation query. As I see

[Hibernate] Re: xdoclet hibernate problem

2003-01-03 Thread Konstantin Priblouda
> Really? I just downloaded the 1.2b2 jars and there > is an > xdoclet-module-hibernate-1.2b2.jar file. It appears > to be doing something > (but not functioning, still need to dig). Well, they were released too. I do not know much about maven, but from ant everything works fine regards, ==

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

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

2002-12-22 Thread Matt Raible
Title: Problem using Xdoclet to generate relationships [newbie] 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 som

RE: [Hibernate] Postgres/JBoss/Hibernate problem

2002-12-16 Thread Gavin King
irected to the user forum, where there will be other JBoss users who can assist you.   Gavin -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 16 December 2002 9:30 PMTo: [EMAIL PROTECTED]Subject: [Hibernate] Postgres/JBoss/Hibernate problem  

[Hibernate] Postgres/JBoss/Hibernate problem

2002-12-16 Thread Владимир
  I am using JBoss 3.2.0-beta-2, Postgres 7.2 and JDK 1.3.1 as well as hibernate 1.2. I am having difficulty committing any changes that I make because I get error message saying: "java.sql.SQLException: You cannot commit with autocommit set!" bit of code: [java] Context ctx = new Init

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
"Mark Woon" <[EMAIL PROTECTED]> To: "Hibernate Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 5:03 PM Subject: [Hibernate] Problem with element > > I'm getting this with both 1.1 and what's currently in CVS. I'm g

[Hibernate] Problem with element

2002-09-25 Thread Mark Woon
I'm getting this with both 1.1 and what's currently in CVS. I'm getting an NPE at cirrus.hibernate.helpers.ReflectHelper.get(ReflectHelper.java:169) because target is null. My mapping looks like this: All I'm doing is: Foo f = new Foo(); f.setId("I