-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: splitt clsass to multible tables?
PostPosted: Mon Nov 20, 2006 5:44 am 
Newbie

Joined: Tue May 16, 2006 11:43 am
Posts: 7
Hallo *,

in my Database I habe a table projects and a table projectDescription.
The projektDescription has the columns:

table: projektDescription
----------------------------
ProjectID integer
Description varchar(7000)

table projekt
---------------------------
ProjektID integer
titel VARCHAR(255)
Start DATETIME
End DATETIME
...

The table project and project are in a one-to-(perhaps)one realationship.

How can I map these tables to one class.
The Description should one property of the class project.

Thank you

Andi


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 11:44 am 
Beginner
Beginner

Joined: Fri Dec 23, 2005 6:05 am
Posts: 42
Good question,

I have the same problem too. Due the restriction of MSSQL in the total size of the attributes in one table, I am trying to relocated some strings into an second table.
But I am still looking for a way of mapping a an outsourced attribute.
Finally I am not even sure if it is possible at all. Does anyone know something about this?

Thanks

eg


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.