On 27 Oct (15:48), [EMAIL PROTECTED] wrote:
> does anybody know the exact licensing terms of the odmg.jar file? I was
> unable to find anything mentioning something about it.
http://forum.hibernate.org/viewtopic.php?t=924813
--
Christian Bauer
[EMAIL PROTECTED]
---
Hi Guys,
Environment: Hibernate 2.0.3, MySQL
4.0.14b, Windows 2K.
have many-to-many,
many-to-one, and one-to-many working like a charm.
struggling with enforcing the same
key for a one-to-one.
example user.hbm.xml:
example address.hbm.xml:
Hi all,
Please, take a look at the the following scenario:
A "Order" persistence class is associate to a "Customer" persistence class and the
business rules is:
We can not make a new Order if the Customer associated with that Order has some credit
restrictions.
Where is the right place to put
I lean towards not putting that kind of logic in some sort of Manager
object.. I find that when you start mixing busienss logic with data
objects, soon your business logic tier and data tier become all intertwined.
I would lean towards OrderManager or something where you have a call like:
OrderM
Hallo,
there is a way to use jboss-service.xml with Ant's "SchemaExportTask"?
Now i create a hibernate.cgf.xml file ONLY to use it with this task but to
run JBoss+Hibernate it's not necessary! I'd like to don't mantain
hibernate.cfg.xml...
Any idea?
Gio
-
On 28 Oct (12:38), Eric Pugh wrote:
> I lean towards not putting that kind of logic in some sort of Manager
> object.. I find that when you start mixing busienss logic with data
> objects, soon your business logic tier and data tier become all intertwined.
Interestingly, thats the reason for a d
So, do you think that for each persitence class it's a good design decision to create
a Manager class ? The Manager class first check the business rules and if it's Ok
calls the save / update / delete methods of the session. Is it right ?
Miguel.
-Mensagem original-
De: Christian Baue
On 28 Oct (10:33), Miguel Henley wrote:
> So, do you think that for each persitence class it's a good design decision to
> create a Manager class ? The Manager class first check the business rules and if
> it's Ok calls the save / update / delete methods of the session. Is it right ?
No, this
I see the following two options:
1) Make the constructor on Order private and use a static factory method on
Order to first verify the Customer does not have credit restrictions before
creating the Order.
2) Make the constructor on Order package level access and add a method to
Customer to create
Hi,
Is there is any way how to get entity state before modifications where made to the
entity in transaction ?.
For example pseudo code:
tx.begin()
Entity a = session.load( .. ) now we have entity state E1 from the database assuming
that entity is not in cache
// modify entity state
a.modif
Gavin,
Is there any possibility of getting the JDBC 3.0 getGeneratedKeys patch
applied and into 2.1? I picked up the last round of changes and can
build another updated patch for you later this evening if it would
help.
Thanks,
David Morris
>>Ah. hm. I am actually ready to release 2.1rc1. J
Hi,
I have Entitities A, B, &
C.
B should hold an instance of
A.
C should hold an instance of
A.
If I use one-to-one mapping to A
in B & C, will it work?
or is there any alternative to achieve the
above relations.
Thanks in advance!
dosapati
ID Generator
If you wish to assign this issue/new feature to us, we can develop and
contribute to the Hibernate open source.
Requirement:
1) Multiple UidGenerator streams (say a stream per table in DB)
2) High performance Requirement - Transaction spanning across public and
private network, end
Hi Folks,
We have a table 'dummy' with no primary key
(playing w/ the dealt cards) which upon trying to perform an insert, we get an unexpected error from mysql
java.sql.SQLException: Column
not found, message from server: "Unknown column 'hostName' in 'field
list'"
For other table
Title: Message
Is
SwarmCache support active in Beta 4? What about HashtableCacheProvider? Is the
use of either of these documented
Sandeep
Ummm not sure. It is a fairly complex patch, to core functionality.
And I am not yet 100% on accepting it (I'm about 80%).
I think we would need to go though a beta5 for this.
David Morris wrote:
Gavin,
Is there any possibility of getting the JDBC 3.0 getGeneratedKeys patch
applied and into 2.
To implement this requires an id generator with dependencies upon
EJB APIs. ie. it requires a session bean. Hibernate does not
currently have dependencies upon EJB.
This is an appropriate thing to maintain as part of your application.
Pragasam, Mukund (Consultant) wrote:
ID Generator
If you wish
Wouldn't that mean that we would get both versions of CGLIB in our lib
directory?
Perhaps its better to just wait until Proxool has also upgraded. Perhaps
we can
put some pressure on them to get up to date.
Chris Nokleberg wrote:
On Tue, Oct 28, 2003 at 08:03:06PM +1100, Gavin King wrote:
18 matches
Mail list logo