Hi Bruce,
we took that reference into account but are still not sure if 4.0.2
differs from 4.0.7.
Ralf
Bruce Snyder schrieb:
On Tue, 29 Mar 2005 13:22:42 +0200, Ralf Joachim
<[EMAIL PROTECTED]> wrote:
Is there anybody who can tell us the name of Websphere Transaction
Manager Fact
Hi everybody,
we have managed to create a working patch adding support for
polymorphism at CastorJDO. Until this point, most of the work had been
done by Werner but now we also need your opinions and test results as we
want to get that feature as stable as possible until the next major release.
Is there anybody who can tell us the name of Websphere Transaction
Manager Factory at Version 4.0.2? We are not shure if it's:
"com.ibm.ejcs.jts.jta.JTSXA"
or
"com.ibm.ejs.jts.jta.JTSXA"
For Version 4.0.7 we know "com.ibm.ejs.jts.jta.JTSXA" is right and we
also know that versions 5 and above are
-
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
--
Syscon Ingenieurbüro für
Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
D-72127 Kusterdingen
Germany
Tel. +49 7071 3
ECTED] with a subject of:
unsubscribe castor-dev
--
Syscon Ingenieurbüro für
Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
D-72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax+49 7071 3690 98
Email:
Hello Martin, have you see this thread from Nov. 2004?
http://www.mail-archive.com/castor-dev@exolab.org/msg18911.html
As I don't have experience with subversion I can not comment on this.
Regards
Ralf
Martin Fuchs schrieb:
Hello Wade,
My experience with Subversion is that the clients suck. I hav
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
--
Syscon Ingenieurbüro für
Meß
--
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
--
Syscon
transaction, I need to
read
again the object A to create another object B .
To do this, as I have no longer the id, I'm usinq an oql query to
retrieve
A... But it is not found...
What can I do (castor configuration or special command) to be able to
read
it by an oql
Hi Martin,
that's strange on 9.0.1 the ORDER BY on the inner SELECT works like it
should.
Could you add a comment to bug 1199 about this behavier.
Regards
Ralf
- Original Message -
From: "Martin Fuchs" <[EMAIL PROTECTED]>
To: "castor-dev" <[EMAIL PROTECTED]>
Sent: Saturday, October 02, 2
Hi castors,
do anyone have an Oracle server with version prior to 8.1.6 (e.g. 8.0.x or
7.x) runing and can try if the following query can be executed.
SELECT * FROM (
SELECT t1.*, rownum rnk FROM (
SELECT * FROM table
) t1
) WHERE rnk BETWEEN 5 AND 7
You can use any table avilable on
Hi castors,
I wanted to verify if bugs 1209, 1737 and 1751 can be closed but testcases
failed according to some other changes on the current CVS version
(2004-10-01 17:30) of castor. I had run testcases on CVS version of
2004-09-20 without the following problem:
Test: TC01 Duplicate key detecti
Hi Philip,
if you try to use CVS version of castor you have to change your database.xml
as follows:
"http://castor.exolab.org/jdo-conf.dtd";>
Regards
Ralf
- Original Message --
hievable.
Werner
On Wed, 15 Sep 2004 12:07:54 +0200, Ralf Joachim wrote:
Hallo Bruce,
thanks for your answer and it is good to know that castor supports
connections to more than 1 database.
With the previous mail I also wanted to present an idea for an
improvement.
I'll give it another try.
L
-- Original Message -
From: "Bruce Snyder" <[EMAIL PROTECTED]>
To: "Castor" <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 10:15 AM
Subject: Re: [castor-dev] New datasource interface (was: Working with
Castor's internal JDBC connection)
Ralf Joachim wro
Hello Bruce,
I thougth it may be better to start a new tread for discussion on new
Datasource interface. I appended the Datasource part of the original mail
below.
As I do not know how you think the new interface should look like and if
there are that much differences to the old Database interf
ld fail (unless
using PostgreSQL).");
}
catch (Exception e)
{
assertTrue(true);
}
}
For me it looks like the testSizeD() case should not be executed or changed
to the opposit for oracle. What's the right thing to do?
MfG
Ralf Joachim
--
}
}
For me it looks like the testSizeD() case should not be executed or changed
to the opposit for oracle. What's the right thing to do?
MfG
Ralf Joachim
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PRO
Hello Kalpesh,
if you want me to, I can prepare the TxSynchronizable patch based on your
code as I need that for my project too.
I am not working with JMS at the moment, so it would be better that you
prepare this part yourself.
Regards
Ralf
- Original Message -
From: "Kalpesh Patel" <
Hi Werner and other castors,
basically I am interested in a meeting of Castor users and developers but
also others may have some questions about the organisation.
Where should it take place (asked by werner before)?
- Vienna
- Hamburg
- Munich
- Stuttgart
When should the meeting take place?
- m
Hey Nick,
please try:
CALL SQL select from AS foo.bar
isn't it what you are looking for?
regards
Ralf
- Original Message -
From: "Nick Stuart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 30, 2004 4:22 PM
Subject: [castor-dev] Disconnected Record Idea
Hallo Marco,
I don't know how to use OQL count and therefor use CALL SQL instead.
call sql select count(ID) as COUNT from TABLE as SizeJDO
Your table 'TABLE' needs a column 'ID' to use this query and you need an object
'SizeJDO' with a dummy mapping.
public class SizeJDO {
private int _si
Hey Jim,
I am not an expert for castor XML, but have you tried something like
public class Foo {
..
public void setBar(Bar bar) {
if (this.bar != bar) {
this.bar = bar;
bar.setFoo(this);
}}
..
}
public class Bar {
...
public void setFoo(Foo foo) {
if (this.foo != foo) {
this.foo = f
Hi Roger,
what about the following code:
// start transaction
db.begin();
// load detailDDD ddd = (DDD)db.load(DDD.class, new
Long(1000));
// set detailstatus to
1ddd.setDetailstatus(1);
//the original value was 0
// get master of the detail
changed
MMM mmm = ddd.getMaster();
Hello John,
castor do not support many-to-many relations with
additional properties in the association.
That means for your example, if you use
many-to-many relation between Student and Course with Enrollment as
association, Enrollment can not have grade or days missed.
If you want Enr
Hi Ben,
if you create table/class 'Category' with primary key 'categoryid' and reference
'categoryid' by 'product.categoryid' and 'productheader.categoryid' it should be
possible to define a mapping with castor. A OQL similar to
LEFT OUTER JOIN productheader ON
product.categoryid=productheader.
Dear Bruce,
if you have 2 classes with n:m mapping and no additional attributes for the mapping,
this will be handled by castor as expected. The product - category examples shows
how to do this.
If additional attributes are required this should not be addressed by castor mapping
but with the desi
pplicable to the source generator.
>
> Can you give me a small sample for a binding file that will prevent
> generation of the Prices class?
>
> Thanks in advance
>
> Hiran Chaudhuri
>
>
> - Original Message -
> From: "Ralf Joachim" <[EMAI
Castor works with Xerces not Crimson. Try to search
the mail archiv as
a patch for using Crimson may be
available.
If you download castor source archiv all libs
are included.
- Original Message -
From:
wing
To: [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 4:59
I think this problem has been discused within the last two month on the mailing list.
There had been two solutions:
- use binding file to omit Prices class ( ArrayList of Price in Product)
- map Prices to a view on Product table
You may have the idea to use Product as a wrapper for Prices and om
See my comment inline.
- Original Message -
From: "Mattias Campe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 31, 2003 9:37 PM
Subject: [castor-dev] FAQ: question about "Different cardinalities of relationship"
> Hi,
>
> as I need a similar example as on
> http://ca
Hi Andy,
we use the following mapping
but you will see another problem coming up with this mapping.
There had been bug 1045 in castor that still appear in 0.9.4.3 but according to
bugzilla should be solved in CVS. In 0.9.4.3 and previeous versions of castor
the sp
Have a look at the following links:
http://javaboutique.internet.com/Map_Java_Objects/
http://www.spiderlogic.com/modules.php?name=News&file=article&sid=16
- Original Message -
From: "Leonard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 4:16 PM
Subject: [
You have to execute:
SELECT d from Product d where d.name = 'toto'
d.name or d.dummy references the name you used in your mapping.xml.
Castor can not access the properties of your classes directly. It insteed calls
the getter and setter methods.
field name: du
Techeira, Vincent X -ND" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 13, 2003 5:48 PM
Subject: Re: [castor-dev] Loading Extended Objects
> The example doesn't use an identity and maps to XML, I have to use an identity since
> I'm mapping to
Hi Peter,
as I understand your problem you need the Notes class according to some other
design issues even if castor do not need it.
As you stated in the subject of your mail you should use Cards class as a wrapper
for the Notes class. With this design you need all methods castor wants to access
Hi,
did you take a look on castor JDO example. There is a class PC that extends class
Product.
Take care on the implementation of class Product that implements Persistent interface
and
overwrites jdoLoad() methode.
Ralf
- Original Message -
From: "Techeira, Vincent X -ND" <[EMAIL PROT
ject ID into a one-to-one relation
> Em Qua 12 Mar 2003 10:28, Ralf Joachim escreveu:
>
> Hi Ralf and Bruce.
>
> Thanks for your answers.
>
> > Using bi-directional relation between your classes does not mean that you
> > need bi-directional relations in your database
Hi Flavio,
see my comments inline.
- Original Message -
From: "Flávio Luiz Schiavoni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 5:39 PM
Subject: Re: [castor-dev] Troubles storing the Object ID into a one-to-one relation
> Em Ter 11 Mar 2003 17:28, Bruce S
Do you have both mappings in one mapping file with defining ClassTwo mapping
before ClassOne mapping as in the castor example for ProductGroup and Product.
- Original Message -
From: "Flávio Luiz Schiavoni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 12:00 PM
e case here. Who can comment on that?
>
> Hiran
>
> - Original Message -
> From: "Ralf Joachim" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 05, 2003 5:32 PM
> Subject: Re: [castor-dev] unclean code in Castor JDO Engin
You may also use the Project class as a wrapper to the Company class.
- db model --
table company
- company_id -> PK
- name
table projekt
- project_id -> PK
- company_id -> FK on company
- name
--- classes ---
class Company
{
private int _i
Hi Antje,
OQL do not know how to handle the function/methode call to instr.
See http://castor.exolab.org/oql.html for a valid OQL syntax.
I also don't know a database offering such a function but there may
be a solution for you using the following query syntax:
SELECT c FROM Processes c
where (c
Hi Hiran,
I also recognized conversion from integer to big decimal at oracle. In my case the
reason is the
type handling of oracle.
I create a table with SQL:
CREATE TABLE TEST_01 (ID INTEGER)
When I check the datatype oracle uses and delivers when I request the SQL
Hi Eric,
the mapping between Java and SQL type is embedded in the code. See
org.exolab.castor.jdo.engine.SQLTypes.java.
What is your problem with the mapping?
Ralf
- Original Message -
From: "Eric Emminger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 4:4
Hi Kunal,
castor uses the getter and setter methods to access the properties of your objects,
therefore the getters and setters have to be
public but your properties can be private.
Ralf
- Original Message -
From: "Kunal Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday,
Hi Robert,
as far as I know the castor server had an hard disc failure and had been down for some
days.
According to your problem, don't you think it's better the change the DTD link to a
local directory or local URL. Please take a look
into the schema subdirectory of the distribution to find a
Q#2:
If you don't like the underscore, leave it out. In my opinion it makes code more
readable as it shows the scope of the variable. As
an alternative you can use any other notation to distinguish between lokal and member
variables (categories/mycategories or
this.categories/categories).
Ralf
If you only use the jdo and not the xml features of castor you don't need the xml
attribute inside the map-to element neither you
need the bind-xml element.
Ralf
- Original Message -
From: "Keld Helbig Hansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 7
Bruce, Mickael,
I have prepared a bugfix for bug 1045 and wanted to send it to the mailing list.
According to the size (154kB) your mailer refused
that. Should I split the mail or send it direct to one of you?
Below you find the text of my original mail:
Ralf
>Bruce, Mickael,
>
>could one of
- Original Message -
From: "Bruce Snyder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 7:31 AM
Subject: Re: [castor-dev] Enhancement (Bug 1209) Converter boolean(true)->numeric(-1)
> This one time, at band camp, Ralf Joachim said:
&g
cement (Bug 1209) Converter boolean(true)->numeric(-1)
> This one time, at band camp, Ralf Joachim said:
>
> RJ>I added a parameterized converter for boolean->numeric and boolean->integer.
> RJ>
> RJ>To allow concurrent access to a remote database from castor
Hallo Mickael,
after searching Bugzilla I found that you are assigned to bug 1045.
Can you please tell me about the status of the fix?
As we need this for our application, I can contribute to the fix if you want me to.
Regards
Ralf
---
I also got the same problem with 0.9.4.2.
Can anybody help me where to start to fix the bug?
Regards
Ralf
- Original Message -
From: "Ralf Joachim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 7:15 PM
Subject: [castor-dev] Possibl
Hi Bruce,
isn't it possible to use a JDBC-ODBC bridge driver like
sun.jdbc.odbc.JdbcOdbcDriver()
Regards
Ralf
- Original Message -
From: "Bruce Snyder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 30, 2003 5:53 PM
Subject: Re: [castor-dev] SQL Server ODBC
> This
gt; this is usually that Oracle cannot tell the difference between an
> empty String and a null String.
>
> This has already been discussed on this mailing list.
>
> Ralf Joachim wrote:
> > Hello
> >
> > When I iterate through QueryResults and change a property with
Is it possible for you to omit the bidirectional
mapping? If Department do not have a collection of Doctors, T1 will load Doc1
and Dept1 but not Doc2.
I did not test this and I am not shure if it works
as you want.
- Original Message -
From:
Arun Sudhakaran
To: [EMAIL
{
pfam = ( ProduktFamilie ) results.next();
pfam.setText(pfam.getText() + "x");
}
db.commit();
db.close();
Is there anything wrong with this code?
What can be the reason for the exception?
Hope someone can help me wit
Hello
When I iterate through QueryResults and change a property with its setter
methode I get ObjectModifiedException at db.Commit. This happens for all
records/objects of QueryResult except the last one, where it works as
expected (value is changed after commit).
Is there something wrong with my
59 matches
Mail list logo