Hi Johan,
Johan Andersson wrote:
Greetings!
Say I have a class MyClass it looks like this:
public class MyClass {
private int id;
private String name; private List myIntegers = new
ArrayList;
/* getters and setters omitted ... */
}
What options do I have if I want to persist
It's no shame!
It's something that can co on with everybody. I think that all of us we have
something like that to tell..:-)
On 2/11/08, Schmidt <[EMAIL PROTECTED]> wrote:
>
>
> Hi Alessandro,
>
> Yes, you are right, it's a typho. But it does not reflect my real code.
>
> Nevertheless, I have fo
Hi Alessandro,
Yes, you are right, it's a typho. But it does not reflect my real code.
Nevertheless, I have found the answer. It's "shame on me". OJB has nothing
do do with that. I forgot to include a reference to the GrandChildProject
mapping file (&grandChildProject;) in the repository.xml fil
Just having a first superficial look.
I see in your code
GenericDAOApacheOJB grandChildProjectDao
I didn't see GrandChildObject anywere else in your mapping, but maybe I'm
not seeing well.
Shouldn't it be GenericDAOApacheOJB ?
On 2/11/08, Schmidt <[EMAIL PROTECTED]> wrote:
>
>
> Hi Armin,
>
Hi Armin,
Thanks again.
In order to query the database for GrandChildProject objects, I use a
generic class that extends PersistenceBrokerDaoSupport:
public class GenericDAOApacheOJB extends PersistenceBrokerDaoSupport
{
private Class persistentClass;
public T getById(PK id) throws Da
Schmidt wrote:
Upgraded to 1.0.4 and the problem persists. Any idea?
In OJB test-suite we run several tests using table per hierarchy
inheritance without any problems.
So please, post all information to reproduce your issue - java source
code or pseudo code of the java objects and the query.
Upgraded to 1.0.4 and the problem persists. Any idea?
--
View this message in context:
http://www.nabble.com/Mapping-hierarchy-in-one-table-problem-tp15354434p15361892.html
Sent from the Apache DB - ObjectRelationalBridge Users mailing list archive at
Nabble.com.
-
Thanks for the answer!
I was using 1.0.3 but now I'm upgrading to 1.0.4 to see if my luck changes
Armin Waibel wrote:
>
> Hi,
>
> which version of OJB do you use?
>
> Schmidt wrote:
>> Hi,
>>
>> I'm facing a hard time trying to fix a problem in my app. Consider the
>> floowing class hierarch
Hi,
which version of OJB do you use?
Schmidt wrote:
Hi,
I'm facing a hard time trying to fix a problem in my app. Consider the
floowing class hierarchy:
class Project {..}
class ChildProject extends Project {..}
class GrandChildProject extends ChildProject {..}
How do you set the ojbConcret
Any clue? I've spent the last 4 hours trying to figure out what can be wrong,
but the problem persists. I'm running out of ideas :(
--
View this message in context:
http://www.nabble.com/Mapping-hierarchy-in-one-table-problem-tp15354434p15359642.html
Sent from the Apache DB - ObjectRelationalBri
One More detail: as I said, the search results in a ChildProject reference
instead of GrandChildProject. However, the ojbConcreteClass attribute in
this ChildProject is set to "br.com.xxx.model.GrandChildProject". If
ojbConcreteClass points to "br.com.xxx.model.GrandChildProject", how can OJB
crea
Hi Oliver,
Oliver Seimel wrote:
Hi,
we migrated from ojb 1.0.1 to 1.0.4
DB is Postgres. But I think, that the "problem" is independent
of the DB.
We use the type BIT(1) for boolean values, so a mapping looks
like this:
With version 1.0.1 the generated SQL was
... WHERE emailnotice = '1' ..
Hi Markus,
Markus Brigl wrote:
Hi Armin,
it didn't mean the order-by, which does an ordering related to an
attribute. What I mean is the insert order in a list; if an object A
has index 0 in the list I would expect it has the same index after
fetching the list in a different transaction.
At ex
Hi Armin,
it didn't mean the order-by, which does an ordering related to an
attribute. What I mean is the insert order in a list; if an object A
has index 0 in the list I would expect it has the same index after
fetching the list in a different transaction.
At example with Hibernate it is possibl
Hi Markus,
Markus Brigl wrote:
Hi,
I have a problem with the mapping of List's. If I store the list to DB
and reload it the order of the objects are casual and not the same as I
inserted them in the List. Can I configure the repository file in some
way that OBJ stores even the indexes of the Li
Dear Ramakrishna,
We had this feature since 2001!
Please note that OJB is not based on lies !
for details refer to the documentation under
http://db.apache.org/ojb/docu/guides/advanced-technique.html#Mapping+All+Classes+on+the+Same+Table
cheers,
Thomas
Ramakrishna Reddy wrote:
Hi,
Do we have p
To: OJB Users List
Subject: Re: Mapping Classes on Multiple Joined Tables
Jakob Braeuchi wrote:
>>
>> The issue is noted in the release-notes:
>>
>>
>> - When a class mapped on multiple joined tables was used in a
>> reference only objects
>> of the ba
Jakob Braeuchi wrote:
The issue is noted in the release-notes:
- When a class mapped on multiple joined tables was used in a
reference only objects
of the base type class will be instantiated, e.g. a Company class has
a 1:n reference 'employees' to a base class Employee and class
Manager ext
hi armin,
Armin Waibel schrieb:
Stefan Walkner wrote:
hello,
we start working on this issue. Hope till next release this will be
fixed.
thank you for the info!
I really was searching long and was not able to find any information
about that, so I'm glad to hear any response from you.
The issue
Stefan Walkner wrote:
hello,
we start working on this issue. Hope till next release this will be fixed.
thank you for the info!
I really was searching long and was not able to find any information about
that, so I'm glad to hear any response from you.
The issue is noted in the release-notes:
-
hello,
> we start working on this issue. Hope till next release this will be fixed.
thank you for the info!
I really was searching long and was not able to find any information about
that, so I'm glad to hear any response from you.
Thank you,
stefan walkner
-
Hi Stefan,
Stefan Walkner wrote:
hello,
I use Mapping Classes on Multiple Joined Tables to map an Object which
inherits from another into two tables.
BUT: is there a way to get the different objects back, when querying?
I mean, I have following mappings:
we start working on this issue. Hope till n
Armin, thanks for your reply.
But one more thing. I use table with something like 100 000 records.
Using of PB.getCollectionByQuery may couse problems with memory. Out
Of Memory Exception for example. This is not a problem - I can
increase heap size for JVM, etc.In this case using
PB.getIteratorByQ
Hi,
Stas Ostapenko wrote:
I have a problem with inserting all table data of one table to another
table in other RDBMS. Following code works, but it stores not all the
data, but only first object.
Where I`m wrong ?
First you have to take care that metadata changes are global operations,
all metadat
I now have a running version, but the way Thomas proposed would be much
nicer.
I have added a collection descriptor
and he returns both addresses.
I tried to modify my getters and setters for addresses to set
homeAddress and workAddress, but I tested this and noticed that they are
not invo
Table
when showing how to implement your own ClassDescriptor. cool stuff!
kr,
guenther
-Original Message-
From: Georg Müller [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005 11:33 PM
To: OJB Users List
Subject: Re: Mapping question
Thomas Dudziak wrote:
> As far as I under
Thomas Dudziak wrote:
As far as I understand he wants to use a reference that refers to a
class with a compound primarykey, where one of the foreignkey values
is fixed:
Yes, that is what I am searching for.
-
To unsubscr
As far as I understand he wants to use a reference that refers to a
class with a compound primarykey, where one of the foreignkey values
is fixed:
That would actually be a neat feature to have IMO ?!
Tom
-
To unsubsc
Hi,
not sure that I understand the problem.
Each User has two Address attributes ('home' and 'work'), both are of
the same type 'Address' (both 1:1 references), you don't use extension
classes AddressHome and AddressWork objects. Address use a composite PK
('login' and 'type').
In this case eac
hi,
as far as i understand this, you try to differentiate by the value of
"adress.type" whether an adress is a home wor work adress?
well, i have no solution for that, but i tried it here with a similair data
structur, and it didn't work either.
to be honest i'm not sure if this is the intended us
Sorry for that second posting. I sent this before I subscribed to the
list, so I thought it will not be posted (now, with a latency of nearly
one day)
Regards,
Georg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hi Bobby,
[EMAIL PROTECTED] wrote:
Armin -
In your response to Jesse in the enclosed email, you stated that
"If you want to map a class to multiple tables of different
databases you always have to handle this by your own,
because there are many pitfals: need of distributed tx, querying, "
I nee
Armin -
In your response to Jesse in the enclosed email, you stated that
"If you want to map a class to multiple tables of different
databases you always have to handle this by your own,
because there are many pitfals: need of distributed tx, querying, "
I need to accomplish this for a project
t; <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 04, 2004 11:07 PM
Subject: Re: Mapping a simple class problem.
Hi Jose,
the exception says that UserBO does not declare at least one PK field.
> Caused by:
> org.apache.ojb.broker.metada
Hi Jose,
the exception says that UserBO does not declare at least one PK field.
> Caused by:
> org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: OJB
> needs at least one primary key attrib
> ute for class objectsRealClass=class
> com.jose.forum.businessobjects.UserBO,
In UserBO y
Hi,
java.sql.TimeStamp
Cheers,
Charles.
> -Original Message-
> From: Joncheng Kuo [mailto:[EMAIL PROTECTED]
> Sent: 11 August 2004 17:26
> To: OJB Users List
> Subject: mapping of the datetime type
>
>
> Hi,
>
> I have a column of type 'datetime' in a MS SQL database. What type
> sh
I have a similar solution in my job. I've done in the following way:
class A {
...
}
class A_normal extends A {
}
class A_history extends A {
}
Only A_normal and A_history are mapped in repository.xml.
So, if I need to manipulate the object, I use class A. To store a normal object, I use
and
Thanks for the reply. It looks like I also may have to use a Rowreader to correctly
store nested objects as well, so I may very well choose that approach. Thanks again.
--
Liam Morley
From: Thomas DudziakSent: Sun 6/27/04 4:58 AMTo: OJB Users ListSubject: Re: mapping
fields to an array
Morley
Morley, Liam wrote:
We've got a db table with a structure like this:
Name
Address
SSN
Field1
Field2
...
Field30approx
The guy who designed the java class for this (a bit more of a C-style programmer
than I am) wrote a class structure like this:
String name;
Address address;
String ssn;
int[] field
June 2004 17:47
> To: [EMAIL PROTECTED]
> Subject: Re: Mapping question
>
>
> Hi Daniel,
>
> I had a look at the extents now. I think this will basically work. The
> problem I see is, that the database has 110 tables and all are using a
> globally generated OID. In my basic cla
types extend it. It would pick
the right class based on whichever table has an item with that primary key.
Daniel.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Sebastian
Sent: 02 June 2004 17:07
To: [EMAIL PROTECTED]
Subject: Re: Mapping question
To simplify my question
IL PROTECTED]
> Subject: Re: Mapping question
>
>
> To simplify my question:
>
> I have a table containing a foreign key column and the foreign key of a
> row points to different tables based on the first three letters of the
> foreign key. E.g. when it starts with "
To simplify my question:
I have a table containing a foreign key column and the foreign key of a
row points to different tables based on the first three letters of the
foreign key. E.g. when it starts with "art" then it points to a record
in the article table. When it starts with "cat" then it p
hi charles,
this should do it:
Query q = QueryFactory.newQuery(A.class, c);
broker.getCollectionByQuery(q);
fyi there's a testcase dealing with multi-joined-tables
InheritanceMultipleTableTest. this testcase requires the latest from repository
to pass completely.
hth
jakob
Charles N. Harvey II
The result of a report query is a Object [], where each element
represents a row from the database, and is a Object[] (one value for
each field returned).
Best regards,
Edson Richter
Guido Beutler wrote:
Hi jakob,
Thanks for the fast reply!
works fine but one shot question: How do I get the
Hi jakob,
Thanks for the fast reply!
works fine but one shot question: How do I get the values (colums) from
the object ?
At the test cases I found only asserts on the size of the collection. Of
course I would like to get the values.
Thanks in Advance!!
best regards,
Guido
Jakob Braeuchi wrot
hi guido,
use a report-query to retrieve the pks only.
hth
jakob
Guido Beutler wrote:
Hi,
I've got a small problem.
I have a table with many columns. I would like to select only the
primary key field with a complex select first.
It's like a candidate list. From that I can find the correct valu
Heh, I must have been asleep when I wrote that, it all seems so obvious
now! :-) Sorry for the noise!
L.
Laurie Harper wrote:
I'm a bit at a loss on this one :-) I have a class whose properties are
collections of entries defined by an inner class. I can see how to map
the inner class onto a da
Well, I read the documentation that there is a way to do say. But I want
that when I query on Task class all objects of Task as well as Complaint
should be returned, because Complaint is a sub class of Task. But
document says that you cannot do so!
Is there any workaround ?
Thank you
-Orig
My problem is that the C.foreignId field contains both a.idA and b.idB and I
know if it's an A id or a B id with C.type field.
The query must have "C.foreignId = A.idA AND C.type='typeA'" or "C.foreignId =
B.idB AND C.type='typeB'" clause.
it's not a standard case of "1:n relations".
thanks
Flo
Hello again,
If you want "C.foreignId = A.idA" then the 1:n - relation between C and A
is the other way round: C would be the n-class.
But if you simply want C having two collections as attributes, it is
described in tutorial 3, "mapping 1:n relations".
Was that the answer?
regards,
Birgitta
My english is not good ;-)
What I want is in C object 2 collections one with typeA Object and one with
typeB Object. My question is how to do a mapping with OJB that can make this
kind of switch on type field.
In other word when I load A objects collection of a C object the query is :
SELECT AFie
My english is not good ;-)
What I want is in C object 2 collections one with typeA Object and one with
typeB Object. My question is how to do a mapping with OJB that can make this
kind of switch on type field.
In other word when I load A objects collection of a C object the query is :
SELECT AFie
Hello Florent,
I understand this as a question about the typeB collection or the typeA
collection exclusively in the C instance?
Then you can't even model this in UML (or so I think), so I don't think you
can in OJB.
The only workaround I know without having two collections in C is a
relatio
Hi Patrick.
Is the field doc_id in download_pal_model actually meant to be model_id?
Otherwise I am a touch confused :)
Also, I assume you've checked out the advanced O/R mapping stuff at
http://db.apache.org/ojb/tutorial3.html - if not, do it now!
Idea #1:
For download -> model
... Field D
ooops, I guess attachments are not allowed in this mailing list.
here's a link to the picture:
http://homepage.hispeed.ch/tabalooga/datamodel.jpg
the same problem of course also exists for the keyword table.
Thank you, Patrick
-
han
-Original Message-----
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 4:57 PM
To: OJB Users List
Subject: Re: Mapping problem
Hi Stephan,
Stephan Wannenwetsch wrote:
Hallo Armin,
the insert error has gone, but now I have again the problem with
r
I hope you have some more ideas.
Thanks,
Stephan
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 4:57 PM
To: OJB Users List
Subject: Re: Mapping problem
Hi Stephan,
Stephan Wannenwetsch wrote:
> Hallo Armin,
>
> t
2.Product P2 200
2000
23 demo.myshop.model.ojb2.ServiceContract SC2 200 20
24 demo.myshop.model.ojb2.ServiceContract SC1 100 10
OJB_SUPPLIER:
FK_BPID SHIPPINGCOST
25 120
26
120
26 130
OJB_SUPPLIER_ITEM:
ITEMID SUPPLIERID
21 25
22 25
22 26
23 25
23 26
24 25
I hope you can find my error ;-)
Thanks,
Stephan
-Original Message-
From: Armin Waibel [mailto:[EMAIL
Wednesday, December 17, 2003 10:29 AM
To: OJB Users List
Subject: Re: Mapping problem
Hi Stephan,
hmm, how does your mapping for
demo.myshop.model.ojb2.Supplier
look like (nothing changed from your first post)?
From your first post
>> > class="demo.mys
--Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 10:29 AM
To: OJB Users List
Subject: Re: Mapping problem
Hi Stephan,
hmm, how does your mapping for
demo.myshop.model.ojb2.Supplier
look like (nothing changed from your first post)?
Fro
scriptor with SUPPLIERID column in this
class-descriptor.
>>
>>
>>
>>
regards,
Armin
Stephan Wannenwetsch wrote:
Hi Armin,
I checked it but nothing changed. I also removed all data from the DB-tables but nothing changed, too.
Thanks,
Stephan
-Ori
Hi Armin,
I checked it but nothing changed. I also removed all data from the DB-tables but
nothing changed, too.
Thanks,
Stephan
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 6:03 PM
To: OJB Users List
Subject: Re: Mapping problem
Hi Armin,
I checked it but nothing changed. I also removed all data from the DB-tables but
nothing changed, too.
Thanks,
Stephan
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 6:03 PM
To: OJB Users List
Subject: Re: Mapping problem
regards,
Armin
Stephan Wannenwetsch wrote:
Hi Wally,
I'm using the following sequence-manager:
Stephan
-Original Message-
From: Gelhar, Wallace Joseph [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 5:35 PM
To: OJB Users List
Subject:
Hi Wally,
I'm using the following sequence-manager:
Stephan
-Original Message-
From: Gelhar, Wallace Joseph [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 5:35 PM
To: OJB Users List
Subject: RE: Mapping problem
Hi St
: Monday, December 15, 2003 10:16 AM
To: OJB Users List
Subject: RE: Mapping problem
Hallo Wally,
I've changed the mapping
eateException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
Some more ideas ???
Thanks,
Stephan
-Original Message-
From: Gelhar, Wallace Joseph [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 3:44 PM
To: OJB Users List
Subject: RE: Mapping problem
Hi Stephan
You could make your life a bit easier and try out the XDoclet OJB module
which automatically handles inherited fields/references/collections.
Tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Hi Stephan,
OJB does not support class descriptor inheritance for
elements. Try moving your "common" fields from Sellable item into each
of the concrete class descriptors and making Sellable item non-concrete
(it is only an interface after all) such as:
Hope this helps.
Wa
me at this time is convert the M:N to 1:N but is bad
> solution !
>
>
>
> -Original Message-
> From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED]
> Sent: mercredi 3 décembre 2003 14:40
> To: OJB Users List
> Subject: Re: mapping M:N relation WITH ATTRIBUTES
Where would the Comment field be stored in the Java objects ? If you have
a separate Java class for the connection between Employees and Companies
which contains the Comment field, then you already have manual
decomposition (see
http://db.apache.org/ojb/tutorial3.html#Manual%20decomposition%20into
Hi Reda. I´m working on this problem through the implementation of specific
MtoNImplementors.
I dunno when I´ll be able to finish this.. but this is supposed to solve problems like
yours.
On Wed, 3 Dec 2003 13:22:54 +0100, "Reda Benzair" <[EMAIL PROTECTED]> escreveu:
> De: "Reda Benzair" <[EMAI
barbe [mailto:[EMAIL PROTECTED]
Sent: Freitag, 28. November 2003 15:08
To: OJB Users List
Subject: RE: Mapping question
Hi,
I don't really understand you're pb. ;o(
Is it : any field from my class A can be THE foreign key (mykey in this
case) from my class B ?
Regards
Éric
-Message
EMAIL PROTECTED]
Objet : RE: Mapping question
Thanks, I defined it like that, but:
>If A is 1 and B is n.
>In A class descriptor write :
>element-class-ref="url.B">
>
>
>And in B class descriptor write this
>
>Here mykey is the foreignkey but not a primar
Thanks, I defined it like that, but:
>If A is 1 and B is n.
>In A class descriptor write :
>element-class-ref="url.B">
>
>
>And in B class descriptor write this
>
>Here mykey is the foreignkey but not a primary key !
OJB generates statements where mykey points to the pk of class A. The
Hi,
If A is 1 and B is n.
In A class descriptor write :
And in B class descriptor write this
Here mykey is the foreignkey but not a primary key !
Hope it helps you,
Éric
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Envoyé : jeudi 27 novembre 2003
Thank it works fine
remi
- Original Message -
From: "Nick Ohanian" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 7:36 PM
Subject: Re: Mapping association in one table
> Hi-
>
> I'm a little
Hi-
I'm a little new at OJB, but I think it's possible. Take a look at the
section on nested objects at
http://db.apache.org/ojb/tutorial3.html#nested%20objects, specifically
the class-descriptor listed in that section.
Your repository.xml should something like
Hope that helps.
-Ni
919 - 531 - 9425
[EMAIL PROTECTED]
SAS - The Power to Know
> -Original Message-
> From: David Corbin [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 31, 2003 2:37 PM
> To: OJB Users List; Jakob Braeuchi
> Subject: Re: mapping many classes to one table
>
>
ssage-
From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 1:48 PM
To: OJB Users List
Subject: Re: mapping many classes to one table
hi,
Robert J Celestino wrote:
> David,
>
> I believe that you must write 30 class descriptors all exactly the
> same exce
--
> > Bob Celestino
> > SAS Research and Development
> > 919 - 531 - 9425
> > [EMAIL PROTECTED]
> >
> > SAS - The Power to Know
> >
> > > -Original Message-
> > > From: David Corbin [mai
search and Development
919 - 531 - 9425
[EMAIL PROTECTED]
SAS - The Power to Know
> -Original Message-
> From: David Corbin [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 31, 2003 2:37 PM
> To: OJB Users List; Jakob Braeuchi
> Subject: Re: mapping
ginal Message-
> From: David Corbin [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 31, 2003 2:37 PM
> To: OJB Users List; Jakob Braeuchi
> Subject: Re: mapping many classes to one table
>
>
> On Friday 31 October 2003 14:11, Jakob Braeuchi wrote:
> >
hi david,
David Corbin wrote:
On Friday 31 October 2003 14:11, Jakob Braeuchi wrote:
hi david,
why don't you use ojbConcreteClass ?
I don't understand. I fully plan on having something like this so I can
materialize the correct type object. That has little (as far as I can tell)
well in
On Friday 31 October 2003 14:11, Jakob Braeuchi wrote:
> hi david,
>
> why don't you use ojbConcreteClass ?
I don't understand. I fully plan on having something like this so I can
materialize the correct type object. That has little (as far as I can tell)
to do with my problem. As far as I c
hi david,
why don't you use ojbConcreteClass ?
David Corbin wrote:
I have a class heirarchy, and there are 30 different concrete classes in it.
There is NO difference in the data, just in behavior. I'm well aware of how
to read these in from a common table using a RowReader.
Do I have to writ
Hi,
Yassine Lajmi wrote:
Hi all,
In my db table i have a tinyint(1) column.
can i map it to a boolean or Boolean attribute in my java bean ?
yes, see
http://db.apache.org/ojb/jdbc-types.html
field conversion.
There are many FieldConversion implementations shipped with OJB.
(e.g. Boolean2IntFieldC
The mapping needed the obvious primary key
On Thu, 2003-10-23 at 17:15, Andy Czerwonka wrote:
> In looking at the SQL, and update is done when I do the store.. hey I
> think the PK is NOT unique... yup - it's not unique... that's gotta be
> the problem...
>
> On Thu, 2003-10-23 at 16:07, Andy
In looking at the SQL, and update is done when I do the store.. hey I
think the PK is NOT unique... yup - it's not unique... that's gotta be
the problem...
On Thu, 2003-10-23 at 16:07, Andy Czerwonka wrote:
> I've got a simple 1..n association and I'm doing something like
> this...(pardon the synt
Hi,
Problem is that an class name attribute is empty.
It seems that your first extent-class has an incorrectly spelled class-ref
attribute (you have calls-ref).
Cheers,
Charles.
> -Original Message-
> From: Reitsam Andreas [mailto:[EMAIL PROTECTED]
> Sent: 23 October 2003 08:18
> To: Ojb
Hi Sebastien,
Leandros patch is in RC4 already.
cheers,
Thomas
Sebastien Cesbron wrote:
Hi,
I'am new to OJB and I am looking at the archive to have some info.
I've seen that supporting inheritence of descriptors in mapping
repository is on the way :am I wrong ?
If this is true, what is the sta
I have tried the latest CVS release and the error still exists with
anonymous tags. What class handles the mapping of the 1:n association?
Reggie
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 7:23 PM
To: OJB Users List
Subject: Re: mapping
Hi,
Yes the Default cache is container wide.
You should use the CachePerBrokerImpl to use separate cache regions for each
jcdAlias.
Thomas
> -Original Message-
> From: Wayne Kidd [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 30, 2003 3:01 AM
> To: [EMAIL PROTECTED]
&
I am trying to use the multiple datasources in the way of the current
solution. That is, I have 2 jdbc connections, each of them has a full
set of the same tables. Therefore, only the jcdalias and its parameters
are different. It turns out that they are schemas in the same instance
of Oracle
are the extended
classes.
More info
http://db.apache.org/ojb/tutorial3.html#extents and polymorphism
regards,
Armin
- Original Message -
From: "Cesar" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 10:41 PM
S
t;
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 10:41 PM
Subject: Re: mapping inheritance hierarchies
Sorry B extends A
[ ]´s
- Original Message -
From: Cesar
To: OJB Users List
Sent: Thursday, July 24, 2003 4:03 PM
Subject: mapping
Sorry B extends A
[ ]´s
- Original Message -
From: Cesar
To: OJB Users List
Sent: Thursday, July 24, 2003 4:03 PM
Subject: mapping inheritance hierarchies
People
I have two tables(A and B) in my Database where A extends A
How I make to map these
cksson Richter
> [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 15. Juli 2003 21:08
> An: OJB Users List
> Betreff: Re: [MAPPING] MS SQL Server and DATETIME conversion
>
>
> I'm not sure, but I think you need a conversion:
>
> name="edatum"
>
>
1 - 100 of 126 matches
Mail list logo