[Hibernate] my email

2003-08-14 Thread Gavin . King
A quick not to everyone, Please don't email me at the .gov.au address, or at the .expert.com address anymore. I can be reached on [EMAIL PROTECTED] for now. ** Any personal or sensitive information contained in this email and

Re: [Hibernate] Patch: access via Field, not via Method if requested so

2003-08-14 Thread Gavin . King
I'm very openminded this patch. However, you need to submit it (a) in diff format, so I can see exactly what changed ... and use patch to patch the curent code! (b) upload it to JIRA, not post it to the list Thanks Gavin |-+---> | |

Re: [Hibernate] Precedence for Lifecycle and Interceptor?

2003-08-14 Thread Gavin . King
Why don't you add it to the Wiki, amd then we can work it into the docs somewhere, if it fits. |-+---> | | Mark Woon | | | <[EMAIL PROTECTED]> | | | Sent by:

Re: [Hibernate] Session-less OR-mapping

2003-08-14 Thread Gavin . King
I guess it would be easily possible to turn the cache *off*. But what do you do about circular references? You get exposed to stack overflows w/o a cache. |-+---> | | Andrea Aime <[EMAIL PROTECTED]> | | | S

Re: [Hibernate] MapGenerator problem

2003-08-14 Thread Gavin . King
The class named "Employee" must be in the classpath. Correct syntax is: java net.sf.hibernate.tool.class2hbm.MapGenerator my.package.name.Employee or, use the batch file in the bin/ directory |-+---> | | "Madhesh" <[EMAIL PRO

RE: [Hibernate] Mass Deletes

2003-08-14 Thread Gavin . King
No! That is NOT what we are suggesting. It would be just two SQL statements. |-+---> | | Patrick Burleson| | | <[EMAIL PROTECTED]>| | | Sent by:

Re: [Hibernate] Hibern8IDE now part of hibernate-tools...

2003-08-14 Thread Max Rydahl Andersen
yes - I changed the syntaxhighlighter to be a true JEditorComponent instead of the "half-baked" and non-compliant jedit syntax package. Now it is way easier to extend ;) /max [EMAIL PROTECTED] wrote: Fantastic.. I love using it to test my queries, and running it from inside of Eclipse is ea

Re: [Hibernate] Feature idea

2003-08-14 Thread Timo Verhoeven
Hi! > String getColumnName(String propertyName) > String getTableName(String className) > String overrideColumName(String columnName) > String overrideTableName(String tableName) What are the override methods for? > Add a feature request to JIRA! Did so: HB-227 Regards, Timo ---

[Hibernate] MapGenerator problem

2003-08-14 Thread Madhesh
Hi, I have a simple Employee bean class. When i try to generate the hibernate mapping file for this using java net.sf.hibernate.tool.class2hbm.MapGenerator Employee.class or just java net.sf.hibernate.tool.class2hbm.MapGenerator Employee i am getting the following error: http://hibernate.

Re: [Hibernate] Help Wanted :)

2003-08-14 Thread Serge Knystautas
[EMAIL PROTECTED] wrote: David Channon has implemented support for Dialect-specific SQL functions in the HQL select clause. This means that we need to go though the dialects, one by one, and fill in the standard functions for that Dialect. David has already done this for Oracle. It would be very ni

[Hibernate] Multiple database support w/ Hibernate

2003-08-14 Thread Tim Kettering
Pardon this question - I'm sure this has been asked, but I cannot find a definite answer in the Hibernate documents, and the sourceforge list archives (like usual) is taking forever to return any results. I know its possible to set up different session factories for multipled databases, but is

Re: [Hibernate] Precedence for Lifecycle and Interceptor?

2003-08-14 Thread Gavin . King
Why not just look in the source of SessionImpl? |-+---> | | Mark Woon | | | <[EMAIL PROTECTED]> | | | Sent by:| | | [EMAIL PROT

[Hibernate] Hi (Problem with Many to Many relationship)

2003-08-14 Thread Prasad Iyer
Hi, Supponse I have a Author and Title table with many to many relationship. The problem is if I have one Author with many titles. Do I have to explicitly add Titles using session.save(title) to save the individual titles for the author. I think hibernate should take care of it internally l

Re: [Hibernate] Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal: Opensymphony Conductor

2003-08-14 Thread Gavin . King
Mike, the impression I'm getting among our users is that people are really keen on the Spring Fwk, for showing how things _fit_together_. It gives them a starting point for "ok, how do I use all this cool POJO stuff to build an actual _application_" Now, from what I understand, I think the Sprin

Re: [Hibernate] Why serializable?

2003-08-14 Thread Michał Mosiewicz
>[...] > Blobs are not serializable because they are a pointer to space on the > database. So, you see, we couldn't cache them across transactions even if > we tried to. I ask my daughtes most favorable question: "Why couldn't we..." This pointer points to space that is readable, and serializable

[Hibernate] why does this cause an exception?

2003-08-14 Thread Jeremy Quinn
There is an exception I keep getting that makes no sense to me. Original Exception: net.sf.hibernate.HibernateException: Another object was associated with this id (the object with the given id was already loaded): [org.iniva.archive.Coverage#260] Why does it happen? What can I do to avoid it?

[Hibernate] Question about best practices on creating hibernate session

2003-08-14 Thread Vivian Fonger
Title: Message Hi everyone,   Can someone explain to me what does it mean by "Never create more than one concurrent Session or Transaction instance per database connection" which is mentioned in Section 13.2 - Threads and Connection under Hibernate2 Reference Documentation???  Does this sta

Re: [Hibernate] Hi (Problem with Many to Many relationship)

2003-08-14 Thread Gavin . King
No, you shouldn't need to do anything special cascade semantics are same as one-to-many. |-+---> | | "Prasad Iyer" | | | <[EMAIL PROTECTED]> | | | Sent by:

[Hibernate] Deployment of Hibernate on JBoss-3.0.4

2003-08-14 Thread Prasad Iyer
Hi, Anyone has tried deploying Hibernate as service on JBoss-3.0.4. I would highly appreciate if someone could help me with the .sar file and integration of service in web.xml file regards prasad chandrasekaran --- This SF.Net email sponsored

Re: [Hibernate] Question about best practices on creating hibernate session

2003-08-14 Thread Christian Bauer
On 11 Aug (17:20), Vivian Fonger wrote: > Can someone explain to me what does it mean by "Never create more than > one concurrent Session or Transaction instance per database connection" > which is mentioned in Section 13.2 - Threads and Connection under > Hibernate2 Reference Documentation??? Do

RE: [Hibernate] Anyone have merge files working with HibernateDoclet?

2003-08-14 Thread Brian Topping
As Murphy would have it, the solution came only after sending a message to the list. The solution to this problem is that the package hierarchy mapping to your merge file must be duplicated underneath the merge directory. So if you have org.blah.foo and you want to have hibernate-properties-foo.x

[Hibernate] Hi, Log4j problem

2003-08-14 Thread Prasad Iyer
Hi I am using hibernate-plugin for eclipse. I get this warning when I run this code. log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Can somebody help me out with this. Would highly appreciate regards pr

Re: [Hibernate] ant task

2003-08-14 Thread Anders Hermansen
Hi Oliver, Are you sure that the path build/classes is in your classpath when schemaexport is running? How is the classpathref "classpath" defined in your build.xml? Anders * Oliver Wehrens ([EMAIL PROTECTED]) wrote: > Hi, > > I have a project where I separated the mapping files from the clas

Re: [Hibernate] ant task

2003-08-14 Thread Oliver Wehrens
My classpath looks like: It runs from my IDE! If I enhance my $CLASS

[Hibernate] ant task

2003-08-14 Thread Oliver Wehrens
Hi, I have a project where I separated the mapping files from the classes. So classes in build/classes and the mapping files are in webapps/gridsphere/WEB-INF/persistence/ . If I now want to use the anttask schemaexport to create the database my classes are not found. My classpathref includes

[Hibernate] Closer to Date problem with MSSQL

2003-08-14 Thread Eric Pugh
Hi all, I am updating the Supported Database page (http://hibernate.bluemars.net/80.html) with the results of testing MSSQL and hibernate. At any rate, I think I found the problem with the dates... SQL Server stores dates in this format: -MM-DD HH:MM:SS:milliseconds. So for example, this is

[Hibernate] Parent-child relationship problem

2003-08-14 Thread Vivian Fonger
Title: Message Hi everyone,   I had read the Parent Child Relationship documentation a couple of times.  It clearly mentioned how to insert and delete a child, how about update??  How should I retrieve a child, update the collection with the correct child object, and update the database wit

Re: [Hibernate] Precedence for Lifecycle and Interceptor?

2003-08-14 Thread Mark Woon
[EMAIL PROTECTED] wrote: Re: [Hibernate] Precedence for Lifecycle and Interceptor? Why not just look in the source of SessionImpl? Good point.  Didn't know where to look. For those who are interested, the order is: Save or Update:  - Interceptor.isUnsaved Save:  - Lifecycle.onSave

[Hibernate] Patch: access via Field, not via Method if requested so

2003-08-14 Thread Vladimir Dozen
ehlo. Background: As it is known, Hibernate uses accessors (getters/setters) to access object properties. This is noted as a RIGHT THING in documentation, since it raises incapsulation. That's right, but I have a few real-world examples that show that direct field access c

Re: [Hibernate] A Proposal: Opensymphony Conductor

2003-08-14 Thread Matthew E . Porter
Jason: I am all for this. I have some new hibernate infrastructure stuff coming today and some patches to OSUser/PropertySets that solves the current performance issues. Where do we begin and is Atlassian's security stuff open source? Cheers, matthew On Wednesday, August 13, 2003, at 1

[Hibernate] RE: [OS-webwork] Re: [Opensymphony-developers] A Proposal:Opensymphony Conductor

2003-08-14 Thread Jason Carreira
> -Original Message- > From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 7:29 PM > To: [EMAIL PROTECTED]; > opensymphony-developers > Cc: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Re: [Opensymphony-developers] A > Proposal:Opensymphony Conductor >

Re: [Hibernate] Anyone have merge files working with HibernateDoclet?

2003-08-14 Thread Konstantin Priblouda
--- Brian Topping <[EMAIL PROTECTED]> wrote: > Hi all, > > Has anyone gotten merge files working with XDoclet > for the hibernate subtask? > I have all the merge directories set up and have > confirmed that other > subtasks work with the merge files correctly, but no > luck on merging a file > na

[Hibernate] RE: [OS-webwork] Re: [Opensymphony-developers] A Proposal:Opensymphony Conductor

2003-08-14 Thread Jason Carreira
Oh... and what's the status of the Atlassian packages you were talking about making opensource? > -Original Message- > From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 7:29 PM > To: [EMAIL PROTECTED]; > opensymphony-developers > Cc: [EMAIL PROTECTED]

Re: [Hibernate] Spring Framework Integration along with Open Session In View

2003-08-14 Thread Matthew E . Porter
Sandeep: I just had this conversation with the Spring guys last week. You may want to check their mailing list. Here's the abridged version: You can do it. It is a nasty hack of the system (and beauty of Spring). The mailing list includes the necessary filter on how to do it. However, it is

[Hibernate] Tricky mapping?

2003-08-14 Thread Konstantin Priblouda
Hi all, I'm a bit stuck. I try to implement kind-of Acl which controls a set of capabilities. This set of capabilities has to be dynamically changeable. Each capability has set of allowed roles ( strings ) - and it's straightforward how to map this to set, but now I like to map those dynamic

RE: [Hibernate] Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal: Opensymphony Conductor

2003-08-14 Thread Jason Carreira
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 14, 2003 3:11 AM > To: Mike Cannon-Brookes > Cc: [EMAIL PROTECTED]; > [EMAIL PROTECTED]; > opensymphony-developers; [EMAIL PROTECTED] > Subject: Re: [Hibernate] Re: [OS-webwork] Re: > [Op

[Hibernate] Reading Data from two tables - Help Needed

2003-08-14 Thread Madhesh
Hi, I have a situation where i need to retrieve data from two related tables and display them on the same page. I currently have two seperate beans that map to two tables. Can i reuse the same beans for my purpose. For eg. assume Employee and Employee_details tables. I have exisiting beans for eac

[Hibernate] Re: [Opensymphony-developers] A Proposal: Opensymphony Conductor

2003-08-14 Thread Joseph Ottinger
Jason, Snowwolf Wagner and I suggested something very much like this two years ago. Its time may have come, but it's certainly not a new idea. On Wed, 13 Aug 2003, Jason Carreira wrote: > I'd like to create an opensource web application framework built on the > pieces we have and some outside lib

Re: [Hibernate] Hi, Log4j problem

2003-08-14 Thread Mark Woon
Prasad Iyer wrote: [Hibernate] Hi, Log4j problem Hi I am using hibernate-plugin for eclipse. I get this warning when I run this code. log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j

[Hibernate] Re:Repeated Columns in Joined-subclass

2003-08-14 Thread Gavin King
You have mapped both the "type" property and the "origin" property to the same column (ENTITY_TYPE). You may do this, but you must tell Hibernate which property to use when INSERTing/UPDATEing (by setting one of them to insert="false" update="false"). -

Re: [Hibernate] Bug in Hibernate maybe? Not is MSSQL?

2003-08-14 Thread Gavin . King
Umm this problem is not occurring in the test suite. would you mind putting together something very simple to help reproduce it? thanks! |-+---> | | "Eric Pugh" <[EMAIL PROTECTED]> | | | Sent by:

[Hibernate] Spring Framework Integration along with Open Session In View

2003-08-14 Thread Sandeep Dath
Hi,   I have a Maverick-Hibernate-DAO based project that uses the Open Session In View pattern. Now, I am trying to retro-integrate the Spring Framework into the mix.   Juergen's docu was excellent, but I was wondering (before I end up doing it all myself the hard way) if anybody had used

RE: [Hibernate] Anyone have merge files working with HibernateDoclet?

2003-08-14 Thread Brian Topping
> -Original Message- > From: Brian Topping > > The solution to this problem is that the package hierarchy > mapping to your > merge file must be duplicated underneath the merge directory. > So if you have > org.blah.foo and you want to have > hibernate-properties-foo.xml, you need to >

Re: [Hibernate] Automatically Keeping copies of passed versioned records

2003-08-14 Thread Viktor Szathmary
hi, On Mon, 11 Aug 2003 16:18:25 -0400, "Gerry Duprey" <[EMAIL PROTECTED]> said: > We have an application where we need to keep a version of every change to a > record in a table ever made and the effective date it was created/changed on > each version. The number of changes are low (one or tw

[Hibernate] Session-less OR-mapping

2003-08-14 Thread Andrea Aime
Hi Gavin, hi everybody, working on an application that needs to manage lots of objects/records, I'm wondering if it would be difficult to have a session-less or-mapping, that is, something that just enables HQL, transactions, statement caching and batching withouth putting objects in the session c

[Hibernate] Anyone have merge files working with HibernateDoclet?

2003-08-14 Thread Brian Topping
Hi all, Has anyone gotten merge files working with XDoclet for the hibernate subtask? I have all the merge directories set up and have confirmed that other subtasks work with the merge files correctly, but no luck on merging a file named 'hibernate-properties-.xml' for additional hbn.xml elements.

Re: [Hibernate] Deployment of Hibernate on JBoss-3.0.4

2003-08-14 Thread David Channon
There are extensive documents on the Wiki and examples that can be downloaded. Just a comment but this question realy belongs on the SF forum not the dev list. - Original Message - From: "Prasad Iyer" <[EMAIL PROTECTED]> To: "Hibernate" <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003

RE: [Hibernate] object references an unsaved transient instance - save the transient instance before flushing

2003-08-14 Thread Lendvai Attila
:: Has the BusinessObject instance been loaded using the _same_ :: hibernate session? :: :: From memory thats what this error means. it can happen if you save() an object that refers to another object without cascaded save turned on for this reference (applies for collections, too). if you don't

[Hibernate] Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal: OpensymphonyConductor

2003-08-14 Thread Joseph Ottinger
On Thu, 14 Aug 2003, Mike Cannon-Brookes wrote: > Joseph - where is the code? No code, no idea - sorry. The code was squashed into nonexistence (no work put into realisation) by the deafening sound of "I don't think we want to do that." > Jason - sounds like an interesting idea, but could we foc

[Hibernate] [ hibernate-Feature Requests-635016 ] lock() a transient object

2003-08-14 Thread SourceForge.net
Feature Requests item #635016, was opened at 2002-11-08 02:26 Message generated for change (Settings changed) made by oneovthafew You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=635016&group_id=40712 Category: None Group: None >Status: Closed Priority: 1

[Hibernate] Re: Mass Deletes

2003-08-14 Thread Chris Nokleberg
Chris Nokleberg wrote: > [EMAIL PROTECTED] wrote: >> But my big problem is: how do we know which _loaded_ objects were deleted? >> I don't think there is any good way to do this. All we get back from DELETE >> is a row count. > > How about doing the mass delete, and then building a select statemen

[no subject]

2003-08-14 Thread root
hibernate.dbcp.validationQuery config property. > -Original Message- > From: Ken Robinson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 8 January 2003 6:15 AM > To: [EMAIL PROTECTED] > Subject: [Hibernate] Problem with Connection Pool Timeouts > > > Hi all, > > I'm running into an issu

[Hibernate] Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal:Opensymphony Conductor

2003-08-14 Thread Mike Cannon-Brookes
Joseph - where is the code? No code, no idea - sorry. Jason - sounds like an interesting idea, but could we focus on getting WW2 / XW finished and released first? :) Also the goals of the framework (?) sound too broad. It looks like a collection of Open Source tools to me, albeit a good one - ind

[Hibernate] Recommended JDBC drivers for MS SQL?

2003-08-14 Thread Timothy Kettering
Hi everyone, I've always done development with Hibernate w/ MySQL, but this new contract I just received, they're requesting to have the database on a MS SQL server. I checked the hibernate site, and the only thing it says is NOT to use the Microsoft provided JDBC driver. So I'm asking for a

Re: [Hibernate] What does this exception mean?

2003-08-14 Thread Gavin . King
You should remiove objects from associations when deleting them. |-+---> | | jiesheng zhang | | | <[EMAIL PROTECTED]>| | | Sent by:| | |

Re: [Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Dmitri Colebatch
Hey, I haven't done this, nor needed to give it any thought before, but would it be possible to write an Axis serializer that utilized the hibernate codebase, specifically the meta-data about the classes, to serialize them to soap friendly collections and so on? I'm assuming you're not trying to

[Hibernate] Re: Automatically Keeping copies of passed versioned records

2003-08-14 Thread Laura Werner
Gerry Duprey wrote: there is an "effective-date" field and depending on what the date > you are interested in decides on which record is considered current. You might want to check out Martin Fowler's "Patterns for things that change with time" at http://www.martinfowler.com/ap2/timeNarrative.htm

[Hibernate] Repeated columns error on joined-subclasses

2003-08-14 Thread Robb Greathouse
I am using Hibernate 2.0.2 and am getting a "Repeated Columns" error when I try to insert into the parent table of joined-subclasses. As you can see. I have a number of classes that have their own tables that extend the Entity Class. Hibernate builds the tables perfectly, including the foreign

[Hibernate] re: Problem with SchemaUpdate

2003-08-14 Thread Gavin King
Go get 2.0.2. This one slipped through our usually excellent quality control ;) --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and en

[no subject]

2003-08-14 Thread root
Don't treat exceptions as recoverable This is more of a necessary practice than a "best" practice. When an exception occurs, roll back the Transaction and close the Session. If you don't, Hibernate can't guarantee that in-memory state accurately represents persistent state. I think

Re: [Hibernate] Unit Testing With ThreadLocal Sessions

2003-08-14 Thread Joseph Fifield
It seems to be working fine so far. I believe other people are using the same approach...look at the "Open Session in View" pattern. The solution I am using is very similar to the first example on that page. I suppose it could just as easily be moved into a controller (custom RequestProcessor in st

RE: [Hibernate] Unit Testing With ThreadLocal Sessions

2003-08-14 Thread Eelco Hillenius
Actually, the way I use it, I do not have the business logic components tied to the weblayer. I have two classes. One class implements the ThreadLocal pattern and is the class that my business components get their sessions from. The other class, which extends the first, implements javax.servlet.Fil

RE: [Hibernate] custom boolean mapping?

2003-08-14 Thread Tim Colson
Say folks - based on a kindly suggestion to look at creating a UserTypes, I've read the javadocs and started to look at the existing YesNoType code to see how to do this. Seems fairly easy. One thing that's odd, when I tried type="boolean" the strings written to the HSQL DB are "TRUE" or "FALSE" -

Re: [Hibernate] JCA RollBack

2003-08-14 Thread Andy Britz
Hi Igor Thanks for the quick response. I will try and use the solution you suggested. Hopefully this will solve the transaction and update problems with loaded objects. The other problem and perhaps Gavin has some input on this, is that when you make use of the proxy feature, it appears that

Re: [Hibernate] Hibern8IDE now part of hibernate-tools...

2003-08-14 Thread Max Rydahl Andersen
...and if you use the one in the cvs you will get a HQL history function too ;) /max [EMAIL PROTECTED] wrote: Fantastic.. I love using it to test my queries, and running it from inside of Eclipse is easy and great.. I will try out the new version! Does the new version allow you to copy an

Re: [Hibernate] Long Term Sessions/Stale Reads

2003-08-14 Thread Christian Bauer
On 08 Aug (13:05), Craig McElroy wrote: > I am in the process of migrating a project from OJB to Hibernate 2.0.2. > Hibernate is currently configured to use JDBC transactions and no > caching. I have encountered a scenario where I have a Hibernate > Session open for a period of time doing onl

[Hibernate] Long Term Sessions/Stale Reads

2003-08-14 Thread Craig McElroy
I am in the process of migrating a project from OJB to Hibernate 2.0.2. Hibernate is currently configured to use JDBC transactions and no caching. I have encountered a scenario where I have a Hibernate Session open for a period of time doing only reads. After having loaded the contents of a

[Hibernate] Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal: Opensymphony Conductor

2003-08-14 Thread Matthew E . Porter
On Wednesday, August 13, 2003, at 06:29 PM, Mike Cannon-Brookes wrote: Joseph - where is the code? No code, no idea - sorry. Jason - sounds like an interesting idea, but could we focus on getting WW2 / XW finished and released first? :) I disagree. To me, this seems like the next logical progr

[Hibernate] Addtl. params to table creation?

2003-08-14 Thread Oliver Wehrens
Hi, I use hibernate with mysql. So far everything works as expected. Since the standard of mysql seems to be using tables of the type myisam I want to change that to use innodb of course to use transactions. Is there a way to sneak in addtl. sql statements in the table creation? (or here an alter

RE: [Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Jon Lipsky
Title: RE: [Hibernate] Moving Hibernate objects with SOAP Hi Josh, I needed to send my objects over SOAP as well (though using GLUE, not Axis).  What I ended up doing was write a custom serializer/deserializer that would write my hibernate data objects to and from XML.  When I want to send t

Re: [Hibernate] Hi (Problem with Many to Many relationship)

2003-08-14 Thread Gavin . King
where is your cascade="save-update"???! |-+---> | | "Prasad Iyer" | | | <[EMAIL PROTECTED]> | | | Sent by:| | | [EMAIL PROTECTED

[Hibernate] Incremental schema update

2003-08-14 Thread travis
Is this what I should use for having hibernate create and alter the database for me? And if so, can it be turned on through a property rather than having to change code to do it? Travis Reeder Space Program http://www.spaceprogram.com --- Thi

RE: [Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Brian Topping
Hi Josh, What I've been doing so far is putting this into a file called 'valueobject-custom.xdt' in the merge directory: public void getXML(org.jdom.Element el) throws org.dentaku.exception.XMLBeanException { try { addChild(el, "", org.apache.commons.beanutils.B

RE: [Hibernate] Recommended JDBC drivers for MS SQL?

2003-08-14 Thread Eric Pugh
I'm curious what errors people have had with MS SQL... I briefly ran the unit tests against SQL server, sure a bunch failed, but despite that, I have been able to use MS SQL Server JDBC Driver very successfully on a couple of projects I was thinking of digging into the unit tests to see what

Re: [Hibernate] A Proposal: Opensymphony Conductor

2003-08-14 Thread Gavin . King
Sounds like a great idea. I'll give whatever help i can find time for. Especially, are you interested in an IoC-based DAO framework? |-+---> | | "Jason Carreira"| | | <[EMAIL PROTECTED]> | |

[Hibernate] RE: [OS-webwork] Re: [Opensymphony-developers] A Proposal: Opensymphony Conductor

2003-08-14 Thread Jason Carreira
Exactly, although I'm not sure what power it would show, since it wouldn't do anything itself, just let you get started faster :-) > -Original Message- > From: Matthew E. Porter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 9:19 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTE

[Hibernate] A Proposal: Opensymphony Conductor

2003-08-14 Thread Jason Carreira
I'd like to create an opensource web application framework built on the pieces we have and some outside libraries. Essentially I'm looking at something like Expresso but built with better components and free :-) I'm thinking it could consist of: Xwork WebWork2 OSUser Hibernate SiteMesh OSCache (X

[no subject]

2003-08-14 Thread root
sometimes none... regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __ Do you Yahoo!? Yaho

Re: [Hibernate] Recommended JDBC drivers for MS SQL?

2003-08-14 Thread Serge Knystautas
We've been using the Inet Software's for years and have had great success in a number of environments (including hibernate). Not too expensive either. I similarly have never had much success with Microsoft's JDBC driver. http://www.inetsoftware.de -- Serge Knystautas President Lokitech >> so

RE: [Hibernate] A Proposal: Opensymphony Conductor

2003-08-14 Thread Jason Carreira
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 14, 2003 1:48 AM > To: Jason Carreira > Cc: [EMAIL PROTECTED]; > [EMAIL PROTECTED]; > [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Re: [Hibernate] A Proposal: Opensymphony Conductor

RE: [Hibernate] questions about polymorphism

2003-08-14 Thread Brian Topping
So I have an update on figuring this out. I got most of it working, there was a bug in XDoclet with subclass generation (classes outside the package of the base class were not being found) and with 34 subclasses I hadn't realized there was an issue. XDoclet CVS has a resolution to this. Now that

[no subject]

2003-08-14 Thread root
hibernate.dbcp.validationQuery config property. > -Original Message- > From: Ken Robinson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 8 January 2003 6:15 AM > To: [EMAIL PROTECTED] > Subject: [Hibernate] Problem with Connection Pool Timeouts > > > Hi all, > > I'm running into an issu

Re: [Hibernate] How to contribute a custom type ?

2003-08-14 Thread Max Rydahl Andersen
the JIRA ... look at hibernate.sf.net JIRA issue tracking Dhananjay Nene wrote: Hello, I have been working with a lot of polymorphic associations using a table-per- concreteclass strategy. This has led me to create a custom type which helps in mapping an "integer" into a class type for use with

[Hibernate] custom boolean mapping?

2003-08-14 Thread Tim Colson
Say folks - I just found out that type="boolean" or type="true_false" will put "TRUE" or "FALSE" into the DB and type="yes_no" will put "Y" or "N". Is there a way to customize so that integer 1 or 0 is placed in the DB instead? Thanks, Tim ---

[Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Josh Rehman
Hello all, I'd like to move Hibernate generated objects (generated with hbm2java, of course) across the wire with SOAP. There are two problems: First, Hibernate generates collection accessors. This is great, but these are, by necessity, untyped. The Axis serializer cannot handle this. Second,

Re: [Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Max Rydahl Andersen
Hi! To me it also sounds a bit better to have a Axis serializer (if such an abstraction do exist) do the job. Having hbm2java generate special DTO's for you to this purpuse is also ok, but remember that these DTO's cannot be used by hibernate as it requires you to use the Collection interface

Re: [Hibernate] Help Wanted :)

2003-08-14 Thread Gavin . King
Thanks. have a look at v21branch, and see what was done with Oracle9Dialect. |-+---> | | Serge Knystautas| | | <[EMAIL PROTECTED]> | | | Sent by:

RE: [Hibernate] Closer to Date problem with MSSQL

2003-08-14 Thread Eric Pugh
Also, If we know that certain tests won't pass with MSSQL, can we do for those tests what we do in MasterDetailTest.testIncomingOutgoing and do: if (dialect instanceof SybaseDialect) return; ?? At least that way all the tests would run, with the caveat that certain understood things won't

Re: [Hibernate] Hi (Problem with Many to Many relationship)

2003-08-14 Thread Prasad Iyer
Hi, Thanks for the help. But I am still facing some problem. It gives me error. following is the stack trace net.sf.hibernate.HibernateException: Another object was associated with this id (the object with the given id was already loaded): [presci.walnut.manytomany.Work#0] at net.sf.hibernate.imp

[Hibernate] Hibernate + Coherence

2003-08-14 Thread Gavin . King
I implemented pluggable caching last night, and run Hibernate on top of Tangosol Coherence cache for the first time. Nice. I'll publish the CoherenceCacheProvider on the Wiki! ** Any personal or sensitive information contained i

[Hibernate] Error in Geronimo FAQ

2003-08-14 Thread Christian Bauer
Hibernate is not ASF licenced, but LGPL. Please correct the list >From the ASF licenced projects... * MX4J for JMX * Tomcat or Jetty for Web Container * Axis for Web Services Stack * James for email * OJB or Hibernate for JDO * commons-jndi for JNDI at http://incubator.ap

[Hibernate] New Criteria query stuff

2003-08-14 Thread Gavin . King
Well, we've made huge progress on the 2.1 roadmap. So I'm considering finidhing the caching stuff, bumping the multi-table mappings stuff to 2.2 and then going into bugfix mode. But anyway, getting to the point.we now have a fully working Criteria query API, with full support for associations,