Re: Getting started

2004-03-17 Thread balza
mmm ... realy ... no, I don't remember how I get there > Balza -- the Quick Start isn't linked on pupose, the getting started is > designed to replace it =) > > Did you find information on quick start you needed which wasn't > available from the present getting start

RE: Getting started

2004-03-17 Thread balza
rovide the easiest learning curve for somebody new to > OJB. > > > So to answer your question what I use is: > 1) database sequences for auto-increment > http://db.apache.org/ojb/howto-use-db-sequences.html > > 2) No OJB system tables at all. > > > > -Original Message

Getting started

2004-03-16 Thread balza
Hello, what is the ant task to run to create only OJB system table (OJB_*) with OJB RC5? I've run ojb-blank task but has created a lot of table. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: inheritance problem

2003-12-16 Thread balza
Hello, I've more ore less the same problem. The solution should be something like: or I need "super" reference? Thanks > Hi, > > I had a similar problem. You may want to have a look at the "Problem mapping > inheritance hierarchy using joined

Inheritance and Collection problem

2003-12-15 Thread balza
Hello, I've an n:m relation between 2 tables t_ShopCard and t_ShopCustomer. t_ShopCard has is Java equivalent in ShopCard class and t_ShopCustomer in ShopCustomer. ShopCustomer class extends Customer which extends Account. t_ShopCustomer table extends t_Customer which extends t_Account. When I try

Re:Problem mapping inheritance hierarchy using joined tables for subclasses

2003-12-04 Thread balza
Hello Peter, I've worked with inheritance and all works well (with some help of the mailing list). You shoud look at my past post or you should post your complete java code. > Hi, > > I try to map two classes Address and PersonAddress (a subclass of Address) > using the joined table per sublcass s

Re:Deletion Bug!!!!!?

2003-11-27 Thread balza
autodelete flag in your xml mapping file is true or false? an example: ... ... > Hi, > > I have a really weird problem and I don't if I am doing something wrong or > if this is a bug of OJB. > > I have basically 2 classes: Person and Department. I defined a N:M relation > between those two. > > N

Re:OJB with mysql4

2003-11-27 Thread balza
What is the problem? > Hi, > i am using mysql4 in an application which use OJB. what details should i change in > > platform="MySQL" > jdbc-level="2.0" > driver="org.gjt.mm.mysql.Driver" > protocol="jdbc" > subprotocol="mysql" > dbalias="dburl" > > > please help me. > > Regadrs.. > An

Re:References problem

2003-11-25 Thread balza
I'm using an OJB version downloaded from CVS two days ago. I've verified with the RC4 version and it works. > Hello, > I have the class shop.customer.ShopCard that reflect the table v4sCS_card. > The class has a reference to ShopCustomer that reflect the table v4sCS_card. > When I try to retrive a

References problem

2003-11-25 Thread balza
Hello, I have the class shop.customer.ShopCard that reflect the table v4sCS_card. The class has a reference to ShopCustomer that reflect the table v4sCS_card. When I try to retrive a ShopCard by its id, OJB return the ShopCustomer object but doesn't return the data in ShopCustomer . ... should be

Re: Inheritance & delete

2003-11-06 Thread balza
Ciao Danilo, your solution and OJB works well! Was another silly newbie question ;-) Thank you Danilo Tommasina wrote: hi, this means that a ShopTransaction is composed by a ShopTransaction and a Transaction database entries. Because of the flag auto-delete="true" what you are experiencing

Re: Inheritance & delete

2003-11-04 Thread balza
Hello, I still don't understand. this means that a ShopTransaction is composed by a ShopTransaction and a Transaction database entries. Because of the flag auto-delete="true" what you are experiencing is absolutely normal. Also you have 2 entries in different tables for one ShopTransaction insta

Inheritance & delete

2003-11-02 Thread balza
Hello, sometime I'm back with the same question: I've 2 tables Transaction and ShopTransaction. ShopTransaction extends Transaction. I've the code public void apply() { logger.debug("apply"); logger.debug("transaction_id :" + transaction_id); transaction = new ShopTransactio

Inheritance delete problem

2003-10-12 Thread balza
Hello, I've updated OJB and built to the last CVS release but still have some problem with inheritance. I've - class A and B - B extends A - to A correspond a table tA - to B correspond a table tB - between tA and tB exits an inheritance relation If I delete an entry on class B (broker.delete(b);

Inheritance delete problem

2003-10-12 Thread balza
Hello, I've updated OJB and built to the last CVS release but still have some problem with inheritance. I've - class A and B - B extends A - to A correspond a table tA - to B correspond a table tB - between tA and tB exits an inheritance relation If I delete an entry on class B (broker.delete(b);

Re: Inheritance problem

2003-10-08 Thread balza
ysqlIO.java:886) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:945) at com.mysql.jdbc.Connection.execSQL(Connection.java:1844) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1458) ... 26 more ***Thank you*** Jakob Braeuchi wrote: hi

Inheritance problem

2003-10-07 Thread balza
Hello, I've - table tA and tB with an inheritance relationship - class B extending A - class A reflect tA - class B reflect tB insert in class B generate an entry in table tA and in table tB delete or search on table tB generate a "java.sql.SQLException: Column not found, message from server: "Un

Inheritance and delete

2003-09-21 Thread balza
Hello list, I've 2 tables CREATE TABLE c_account( account_idINTEGER DEFAULT 0 NOT NULL, login VARCHAR(100), password VARCHAR(100), PRIMARY KEY (account_id) ) ; CREATE TABLE fem_employee( account_idINTEGER DEFAULT 0 NOT NULL, firs