[Hibernate] Feature question

2004-02-25 Thread Matt Dowell
. We will probably end up writing a query for this case, but it got me thinking about mappings with specific use cases, maybe as subclasses? Any thoughts? Matt Dowell Notiva Corp. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now

[Hibernate] Criteria with Queries, not classes

2003-11-21 Thread Matt Dowell
tables they are searching do not lend themselves well to being mapped to objects. Matt Dowell --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHAR

[Hibernate] Extending hbm files externally...

2003-10-31 Thread Matt Dowell
to add this? I realize out situation falls into the 5% or less category. Thanks. Matt Dowell Notiva Corp. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create

[Hibernate] New method proposal for session

2003-10-27 Thread Matt Dowell
Would anyone else use this? session.delete(Class class, Object ID) Matt Dowell Notiva Corp. --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a

[Hibernate] FW: cirrus.hibernate.ObjectDeletedException: Object was already deleted: 32

2003-02-10 Thread Matt Dowell
hits this line: if (entry.status!=LOADED) throw new ObjectDeletedException("Object was already deleted", entry.id); Which is where I get my error. When I comment out that line I get in an infinite loop. Is there a work-around for this scenario? Thanks. Matt -Original Message---

[Hibernate] cirrus.hibernate.ObjectDeletedException: Object was already deleted: 32

2003-02-10 Thread Matt Dowell
ect) I get this error: cirrus.hibernate.ObjectDeletedException: Object was already deleted: 32 5) The '32' I think is the ID of the last MANY class.. Any ideas? Thanks, Matt Dowell Notiva Corp. --- This SF.NET email is sponsored by: So

[Hibernate] Integer sequence

2003-02-06 Thread Matt Dowell
Currently our app uses Integers as Id's for all the current Data Access Objects. To be consistent, is it possible to somehow shoehorn the ID as an Integer? I tried overriding the setId method like so: public void setId( Long inIdLong ) { id = new Integer( inIdLong.intValue() ); } .with n

[Hibernate] More - Saving Collections.

2003-01-30 Thread Matt Dowell
net/hibernate-mapping-1.1.dtd";> SEQ_INVOICE_ID Thanks, Matt Dowell Notiva Corp --- This SF.NET email is spon

[Hibernate] Saving collections...

2003-01-30 Thread Matt Dowell
nserting the Product, and trying to update the LineItem. Can it insert the product, then insert the LineItem or is this not supported? Thanks, Matt Dowell Notiva Corp. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + Li