ping \ database availability

2005-09-21 Thread Ferruh Zamangoer
Hi, is in Torque any method to ping an database server to check a database availability? Regards Ferruh

JUnit + Torque

2005-09-07 Thread Ferruh Zamangoer
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

AW: JUnit + Torque

2005-09-07 Thread Ferruh Zamangoer
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

AW: (newbie) Error creating db with Postgres

2005-07-05 Thread Ferruh Zamangoer
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

AW: How to define Blob Field/Postgresql

2005-06-15 Thread 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

AW: How to define Blob Field/Postgresql

2005-06-15 Thread 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

Problems by creating the Database and Tables with maven

2005-06-14 Thread 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

Setting pk manually

2005-06-14 Thread Ferruh Zamangoer
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

Setting pk manually

2005-06-14 Thread Ferruh Zamangoer
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

AW: Problems by creating the Database and Tables with maven

2005-06-14 Thread Ferruh Zamangoer
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

How to define Blob Field/Postgresql

2005-06-14 Thread Ferruh Zamangoer
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

How to define Blob Field/Postgresql

2005-06-14 Thread Ferruh Zamangoer
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

Query a blob field + PK Field

2005-06-01 Thread Ferruh Zamangoer
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

Query a blob field + PK Field

2005-06-01 Thread Ferruh Zamangoer
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

Error ORA-01453: SET TRANSACTION

2004-12-13 Thread Ferruh Zamangoer
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

AW: defaultIdMethod=none

2004-08-31 Thread Ferruh Zamangoer
(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

AW: defaultIdMethod=none

2004-08-31 Thread Ferruh Zamangoer
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

AW: defaultIdMethod=none

2004-08-31 Thread Ferruh Zamangoer
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 =

AW: Antwort: Re: Antwort: AW: Disable Trigger in Torque?

2004-08-27 Thread Ferruh Zamangoer
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

Disable Trigger in Torque?

2004-08-27 Thread Ferruh Zamangoer
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:

AW: Disable Trigger in Torque?

2004-08-26 Thread Ferruh Zamangoer
=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

single column pk tables

2004-08-24 Thread Ferruh Zamangoer
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

AW: single column pk tables

2004-08-24 Thread Ferruh Zamangoer
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

single column pk tables

2004-08-23 Thread Ferruh Zamangoer
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

ERROR: Database insert attempted without anything specified to insert

2004-08-18 Thread Ferruh Zamangoer
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