[Hibernate] composite-element in the DTD missing a meta tag?

2004-12-01 Thread Lendvai Attila
Hi, In Hibernate2 there was a meta tag, now it's gone. If the removal was accidental please someone with CVS access add it back! Thanks in advance, - 101 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on

[Hibernate] JCA opens transactions outside of UserTransaction

2004-08-02 Thread Lendvai Attila
Hello dev list! Here's a patch of mine, now even updated. I've reported long ago that the JCA impl opens sql transaction before the UserTransaction is ensured. This is only a problem is the Hibernate call is issued from a non-transactional ejb or web layer. But then the sql transaction is not com

[Hibernate] SessionFactory.getConfiguration

2004-07-06 Thread Lendvai Attila
is there any objection against SessionFactory.getConfiguration()? in JCA environment I can't get the Configuration in any other way... would even send a patch if it's approved. also please note that there's a JCA fix in the JIRA lying around. this fixes an issue that Hibernate opened transactions

[Hibernate] Hibernate3 CVS HEAD and onFlushDirty

2004-07-01 Thread Lendvai Attila
just a note: in my usecase the hibernate3 HEAD calls onFlushDirtry for a new entity when it is saved due to a cascade="all" collection and while doing it the previousState is null: 2004-07-01 13:49:40,210 DEBUG persistence.AuditInterceptor.onFlushDirty (79 ) | PreviousState is null java.lang.Thr

RE: [Hibernate] Documentation and JTA and commit()

2004-06-11 Thread Lendvai Attila
there was a bug in the JCA impl... it opened SQL connections outside of the UserTransaction, that's why I had to call commit() explicitly. now that I understand a bit more about this J2EE mistery here's a fix that works for me: http://opensource.atlassian.com/projects/hibernate/browse/HB-1025 by

[Hibernate] Documentation and JTA and commit()

2004-06-09 Thread Lendvai Attila
hi! it's stated in the documentation at several places that in JTA environment it's unnecessarry to call session.transaction().commit(), but it's only true if the JTA transaction was opened by the container and the container will take care of committing it. (?) if Hibernate opens the JTA transac

RE: [Hibernate] User list ;-)

2004-05-03 Thread Lendvai Attila
:: 1) Nobody (that i see in these threads) directed that :: comment at you, so take it easy. :: 2) Not sure how much more descriptive the error message :: could get; you tried to specify a type mapping between a :: java primitive value and a database column that contained :: null values. In ja

RE: [Hibernate] User list ;-)

2004-05-03 Thread Lendvai Attila
:: > "For user questions, please user http://forum.hibernate.org"; :: :: People posting user questions here can't read. The link to :: the mailinglist is one line above the disclaimer on the website. Sorry, I consider non-descriptive exceptions from the depth of systems a bug. At least I stick t

[Hibernate] Caused by: PropertyAccessException: Null value was assigned to a property of primitive type

2004-05-03 Thread Lendvai Attila
hi! I've got this exception from hibernate 2.1.3 Caused by: net.sf.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of com.netvisor.ttm.persistence.TTMDSLTask.sapInstId at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPro pe

FW: [Hibernate] Startup time

2004-04-29 Thread Lendvai Attila
a piece of info that came from someone... :: I have experience with Bea's (Apache now) XML Beans. You :: define the XML :: Schema, then generator generate classes for this schema. :: This classes produce valid XML, that confirm this schema and :: can "parse" :: the same typed XML via stream,

RE: [Hibernate] Startup time

2004-04-29 Thread Lendvai Attila
did anyone has performance experiences with jaxb? I'm using it for a few projects, sometimes it has some glitches, but it works. I have no speed comparison, tough. - 101 :: At best, a LOT of code. Ugliness can be left up to the :: developer. ;) :: :: > -Original Message- :: > From:

RE: [Hibernate] Startup time

2004-04-28 Thread Lendvai Attila
:: The CGLIB stuff will probably be hard to work around since :: those objects :: are not (and probably can't be made) serializable - :: but we can remove the XML parsing if we can serialize the :: SessionFactory...but it will probably require us to keep more state :: around than we did previou

RE: [Hibernate] Auditable; can I save a copy from an Interceptor?

2004-04-23 Thread Lendvai Attila
:: in a little more :: detail. hope I was clear. :: However, I imagine that these problems make it difficult to submit a :: patch :: that adds support for the Auditable interface as proposed. :: :: -- Archit Shah ([EMAIL PROTECTED]) :: :: On Thursday, Apr 22, 2004, at 13:59 US/Eastern, Lendv

[Hibernate] Auditable; can I save a copy from an Interceptor?

2004-04-22 Thread Lendvai Attila
hi, in short: can i achive from an interceptor that entities that implement Auditable and are (directly/indirectly) passed to saveOrUpdate() will automatically be saved into a new row? any hints how to implement in Hibernate for a patch candidate? I was told to use triggers what I would like to

[Hibernate] Hibernate Developer documentation

2004-04-20 Thread Lendvai Attila
hi! I have planty of questions about the new v2.2 branch and also about future plans (where is PersistentEnum, etc). I would like to support the new Hibernate tree right on in my metadata driven hibernate GUI. Is there some place where I can find documentation/notes about these things? I've trie

RE: [Hibernate] SessionFactory.getConfiguration()

2004-03-31 Thread Lendvai Attila
:: >so i've spent some time with Hibernate metadata, but i :: can't extract :: >all information. for example property length... :: > :: > :: Property length is a short cut to column.getLength(), it is :: used when :: property have only one column. So get property column(s) to :: get length.

RE: [Hibernate] SessionFactory.getConfiguration()

2004-03-31 Thread Lendvai Attila
damn, sorry for the double mail! so i've spent some time with Hibernate metadata, but i can't extract all information. for example property length... Configuration does not provide a means to access those informations. what should i do? - keep on discussing what i would like to have - try to ex

RE: [Hibernate] SessionFactory.getConfiguration()

2004-03-31 Thread Lendvai Attila
i've spent some time with the metadata :: hi! :: :: i'm working on an Echo (web framework) based hibernate data :: editor, that provides a basic UI for an arbitrary hibernate mapping. :: :: to achive this i need to extract all possible metadata from :: the Hibernate SessionFactory. unfortuna

[Hibernate] SessionFactory.getConfiguration()

2004-03-31 Thread Lendvai Attila
hi! i'm working on an Echo (web framework) based hibernate data editor, that provides a basic UI for an arbitrary hibernate mapping. to achive this i need to extract all possible metadata from the Hibernate SessionFactory. unfortunately the internal state of SessionFactory and it's query methods

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