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
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
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
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
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
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
:: 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
:: > "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
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
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,
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:
:: 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
:: 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
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
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
:: >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.
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
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
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
:: 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
20 matches
Mail list logo