Hi,
is in Torque any method to ping an database server to check a database
availability?
Regards
Ferruh
Hi,
does anybody know if any examples exist how to write a Junit test for
torque. I have a couple of Web Services which uses torque to access a
database. Thanks in advance for any ideas.
Regards
Ferruh
Thanks for the reply. I take a look at turbine.
(THX)²
-Ursprüngliche Nachricht-
Von: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. September 2005 11:28
An: torque-user@db.apache.org
Betreff: Re: JUnit + Torque
Ferruh Zamangoer [EMAIL PROTECTED] writes
I had the same error when I try to create the database? I also create it by
hand :=).
-Ursprüngliche Nachricht-
Von: Matthias Klein [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 5. Juli 2005 03:18
An: torque-user@db.apache.org
Betreff: (newbie) Error creating db with Postgres
Today I
An: Apache Torque Users List
Betreff: RE: How to define Blob Field/Postgresql
Hi,
Two possible solutions:
1) use BINARY instead of BLOB for postgresql.
2) locate the file templates/sql/base/postgresql/db.props in the generator
and replace the line
BLOB =
by
BLOB = BLOB
Thomas
Ferruh Zamangoer
An: Apache Torque Users List
Betreff: RE: How to define Blob Field/Postgresql
Hi,
Two possible solutions:
1) use BINARY instead of BLOB for postgresql.
2) locate the file templates/sql/base/postgresql/db.props in the generator
and replace the line
BLOB =
by
BLOB = BLOB
Thomas
Ferruh Zamangoer
Hi,
I'am trying to create my database with maven how it's described in the
tutorial. I know that it's classpath problem? But where I have to put the
postgres.jar. Where does searches for the lib. In my eclipse project I have
added the postgres.jar?
Any help is appricated.
Regards
Hi,
another problem is that I have a table where the primary key is a varchar. I
use in my schema the defaultIdMethod = native. How can I set the pk manually
in this table. In the pseudonyms table I had set the idMethod=none.
database name=confuoco
defaultJavaType=object
Hi,
another problem is that I have a table where the primary key is a varchar. I
use in my schema the defaultIdMethod = native. How can I set the pk manually
in this table. In the pseudonyms table I had set the idMethod=none.
database name=confuoco
defaultJavaType=object
guess
abbout half a year ago) in the users list. Please search the archives.
Thomas
Ferruh Zamangoer [EMAIL PROTECTED] schrieb am 14.06.2005
10:53:25:
Hi,
I'am trying to create my database with maven how it's described in the
tutorial. I know that it's classpath problem? But where I have
Hi,
I have now installed my postgresql database and it works. I had noticed
that in the generation of the sql script was an error. I have defined in
schema.xml some fields, which are from type BLOB.
table name=WHITE_LIST description=WHITE LIST TABLE
javaNamingMethod=underscore
column
Hi,
I have now installed my postgresql database and it works. I had noticed
that in the generation of the sql script was an error. I have defined in
schema.xml some fields, which are from type BLOB.
table name=WHITE_LIST description=WHITE LIST TABLE
javaNamingMethod=underscore
column
Hi,
we are developing a legal p2p-filesharing system in JXTA combined with web
services and additionally we want to use a persistence layer. Our web
services are running on a tomcat server. Before our p2p clients can exchange
any data they must verify on a Trusted Third Party(TTP) our web
Hi,
we are developing a legal p2p-filesharing system in JXTA combined with web
services and additionally we want to use a persistence layer. Our web
services are running on a tomcat server. Before our p2p clients can exchange
any data they must verify on a Trusted Third Party(TTP) our web
Dear NG,
i have problem to delete some Data from the Database. I'am using the
following code :
private void deleteMD_ExtendedElementInformation(ArrayList
pimaryKeyListB2112)
{
LOGGER.debug(ENTERING deleteMD_ExtendedElementInformation()
...);
String
(ab322); //references
//aed.setIdaddress(ab322.getIdaddress());
aed.setEmailadd([EMAIL PROTECTED]);
aed.save();
-Ursprüngliche Nachricht-
Von: Ferruh Zamangoer [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 31. August 2004 10:26
of ab322 after insert
(better still to use ab322.save()),
then you should debug into your ad.setAddressB322() code to
see what and if the idaddress is mapped correctly from ab322.idaddress to
ad.idaddress.
Hope that helps,
Tino
-Ursprüngliche Nachricht-
Von: Ferruh Zamangoer [mailto:[EMAIL
Hi,
I found a way to insert the references, if anybody is interested here is the
code:
AddressB322 ab322 = new AddressB322();
ab322.setAdminarea(FRA);
ab322.setCity(Frankfurt + System.currentTimeMillis());
ab322.setCountry(Hessen);
ab322.setPostcode(60313);
ab322.save();
List list =
First thank you for your replys. What I have read in Torque documentation is
that the defaultIdMethod=autoincrement is deprecated, please use native??
When I'am using this IdMethod it could be that I become some problems in
later versions of Torque or
Regards
Ferruh
-Ursprungliche
Hi,
thanks again for any reply messages for my Problem. But I was little bit
confused about the messages which settings I have to define in my
schema.xml. The next step what I have done is to test every of your
suggestions and I become the following results.
First a cut of my database schema:
=apd_acces_perfil idMethod=none
... so Torque doesn't try to apply the native method
to this specific table ...
Cheers,
syg
--- Ferruh Zamangoer
[EMAIL PROTECTED] wrote:
Hi,
does anybody know if it's possible to disable the
trigger mechanism inside
torque. My problem is that I have defined
Hi,
I want to know if somebody else have anytime tested the Methods
setModified(true) + setNew(true) for single column pk tables. When I look at
Source Code in the BaseXXX classes it seems very good but nothing happens
when I call this methods. Does anybody have a suggestion how I can make a
columns and create a trigger for
insert and delete and write code inside the trigger to insert/delete just the relevant
field into the original table. You can then operate on DummyX from torque. Hope this
helps.
-Sarav
-Original Message-
From: Ferruh Zamangoer [EMAIL PROTECTED
Hi NG,
in michaels posting my experience with torque I read the following:
in torque's docs i have not seen any word speaking about the restriction to
single column pk tables.
Are there no another way to solve this problem, if I have single column pk
tables.
In my schema I use the
Hi,
i just try to insert a value into table where I have only one Field, which
is also the primary key field. In the tutorial I have seen the following
code for inserting:
Publisher addison = new Publisher();
addison.setName(Addison Wesley Professional);
addison.save();
What I want to make is
25 matches
Mail list logo