Re: Druid, was: Re: Reposit

2003-11-19 Thread Daniel R. Ambrosio
Hello Guys,

The problem of insufficient privilieges I had was solved with using: exp 
im_full_database.

thank you Antonio for your help!
Daniel
Daniel R. Ambrosio wrote:

Hi Gallardo,

Thanks for the help!! :)

[]s
Daniel
Antonio Gallardo wrote:

Daniel R. Ambrosio dijo:
 

Hello Guys,
  


Hi Daniels,

I am forwarding your request to Druid maillist. The internals of JDBC
connection is out of my knowledges in Druid. It is also very new 
stuff in
Druid. But I am sure Andrea or Bruno will be glad to answer your 
question.
:-D

Please don't take this mail in a bad sense. I am just trying to help you
to solve the problem.
To Druid Team:

Druid is getting HOT in Apache OJB users. I think it is a very nice news
to both teams. And I am very happy that this happens. :-D
Please check the message below
Best Regards,

Antonio Gallardo

 

I keep getting the message: ORA-01031: Insuficient Privileges??

What structure from the DB does Druid try to access while importing
Entities?? Which privileges should I have.
I use the same user I am trying now to connect to Druid in SQL
Navigator, and there, I can see the tables´ structures without a 
problem.

any help would be appreciated!!

thanks,
Daniel
  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-19 Thread Daniel R. Ambrosio
Hi Gallardo,

Thanks for the help!! :)

[]s
Daniel
Antonio Gallardo wrote:

Daniel R. Ambrosio dijo:
 

Hello Guys,
   

Hi Daniels,

I am forwarding your request to Druid maillist. The internals of JDBC
connection is out of my knowledges in Druid. It is also very new stuff in
Druid. But I am sure Andrea or Bruno will be glad to answer your question.
:-D
Please don't take this mail in a bad sense. I am just trying to help you
to solve the problem.
To Druid Team:

Druid is getting HOT in Apache OJB users. I think it is a very nice news
to both teams. And I am very happy that this happens. :-D
Please check the message below
Best Regards,

Antonio Gallardo

 

I keep getting the message: ORA-01031: Insuficient Privileges??

What structure from the DB does Druid try to access while importing
Entities?? Which privileges should I have.
I use the same user I am trying now to connect to Druid in SQL
Navigator, and there, I can see the tables´ structures without a problem.
any help would be appreciated!!

thanks,
Daniel
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[Fwd: Re: [Druid-devel] Re: Druid, was: Re: Reposit]

2003-11-18 Thread Antonio Gallardo
Hi:

Here is the answer. BTW, I don't like the work of being a bridge between
OJB and Druid :-(

Best Regards,

Antonio Gallardo

 Mensaje Original 
Asunto: Re: [Druid-devel] Re: Druid,  was: Re: Reposit
De: "Andrea Carboni"
Fecha:  Mar, 18 de Noviembre de 2003, 20:42
Para:   "Druid Devel"
--

On 01:04, mercoledì 19 novembre 2003, Antonio Gallardo wrote:
> Daniel R. Ambrosio dijo:
> > Hello Guys,
>
> Hi Daniels,
>
> I am forwarding your request to Druid maillist. The internals of JDBC
connection is out of my knowledges in Druid. It is also very new stuff
in Druid. But I am sure Andrea or Bruno will be glad to answer your
question.
>
> :-D
>
> Please don't take this mail in a bad sense. I am just trying to help you
to solve the problem.
>
> To Druid Team:
>
> Druid is getting HOT in Apache OJB users. I think it is a very nice news
to both teams. And I am very happy that this happens. :-D
> Please check the message below
>
> Best Regards,
>
> Antonio Gallardo
>
> > I keep getting the message: ORA-01031: Insuficient Privileges??
> >
> > What structure from the DB does Druid try to access while importing
Entities?? Which privileges should I have.
> >
> > I use the same user I am trying now to connect to Druid in SQL
Navigator, and there, I can see the tables´ structures without a
problem.
> >
> > any help would be appreciated!!
> >
> > thanks,
> > Daniel

--
To forward to ojb mailing list
--

The difference between the sql navigator and the table view is that the
last one tries to retrieve all table information  like indexes, foreign
keys, privileges.

If druid cannot import your schema then there is a table you are not
allowed  to access. Select with your mouse each node (table) you want to
import. You should be able to see all table information until you get to
the one you cannot access.

If you receive this error for each table, then you need particular
privileges to access oracle's data dictionary. Druid doesn't need
CREATE,ALTER,DROP privileges but maybe it needs a SELECT ANY table to
access the data dictionary (oracle's views).

Cheers,
Andrea

---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Druid-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/druid-devel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Druid, was: Re: Reposit

2003-11-18 Thread Antonio Gallardo
Daniel R. Ambrosio dijo:
> Hello Guys,

Hi Daniels,

I am forwarding your request to Druid maillist. The internals of JDBC
connection is out of my knowledges in Druid. It is also very new stuff in
Druid. But I am sure Andrea or Bruno will be glad to answer your question.
:-D

Please don't take this mail in a bad sense. I am just trying to help you
to solve the problem.

To Druid Team:

Druid is getting HOT in Apache OJB users. I think it is a very nice news
to both teams. And I am very happy that this happens. :-D
Please check the message below

Best Regards,

Antonio Gallardo

> I keep getting the message: ORA-01031: Insuficient Privileges??
>
> What structure from the DB does Druid try to access while importing
> Entities?? Which privileges should I have.
>
> I use the same user I am trying now to connect to Druid in SQL
> Navigator, and there, I can see the tables´ structures without a problem.
>
> any help would be appreciated!!
>
> thanks,
> Daniel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Druid, was: Re: Reposit

2003-11-18 Thread Daniel R. Ambrosio
Hello Guys,

I keep getting the message: ORA-01031: Insuficient Privileges??

What structure from the DB does Druit try to access while importing 
Entities?? Which privileges should I have.

I use the same user I am trying now to connect to Druid in SQL 
Navigator, and there, I can see the tables´ structures without a problem.

any help would be appreciated!!

thanks,
Daniel
Robert S. Sfeir wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've figured out how to import existing tables if anyone is interested.

Setup your jdbc driver
Create a new project
Right click and create a new Database.  I created an empty one
Switch to the jdbc tab on the right
Choose the appropriate URL for your DB and fill in the info
Type in Username and password and click connect at the bottom
After you're connected switch to the Structure tab
Right click on Jdbc Database icon
Choose Import Entities
Check everything

Import

Done

R
Jakob Braeuchi wrote:
| hi antonio,
|
| how can i import existing tables ?
|
| jakob
|
| Antonio Gallardo wrote:
|
|> Brian McCallister dijo:
|>
|>> Druid is really cool, but I have never actually gotten the code
|>> generation to work. When I hook it to an existing DB, import the
|>> entities and go to code generation and I get an error saying 
datatypes
|>> are set on all of my foreign keys =/
|>
|>
|>
|> Hi Brian:
|>
|> You need to define "DD equiv." field for your datatypes at the 
database
|> level:
|>
|> Select the database.
|> Select the "Data Types" tab.
|> For every datatype define the datatype you want to use in Java. 
Example:
|> Druid Type --> DD equiv.
|> bit--> Boolean
|> Varchar--> String,
|>
|> etc.
|>
|> Then try again.
|>
|> BTW, try better the CVS version, because the official release had some
|> bug
|> in OJB generation.
|>
|> Best Regards,
|>
|> Antonio Gallardo.
|>
|>> -Brian
|>>
|>> On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:
|>>
|>>
|>>> Gus Heck dijo:
|>>>
| This is probably a terribly noob question, but is there a good 
way to
| generate my object mappings for the repository.xml? Seems like a 
lot
| of
| tedium to do it for more than one or two classes.
|>>>
|>>>
|>>> Hi Gus:
|>>>
|>>> Druid - http:// druid.sf.net/ - Please, download it from the CVS.
|>>>
|>>> Best Regards,
|>>>
|>>> Antonio Gallardo
|>>>
|>>>
|>>> 
-
|>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>>
|>>>
|>>
|>>
|>>
|>> -
|>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>
|>
|>
|>
|> -
|> To unsubscribe, e-mail: [EMAIL PROTECTED]
|> For additional commands, e-mail: [EMAIL PROTECTED]
|>
|>
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/uOaU+cV9vuB27SARAvFZAJ9O5ZK41NGku94fXEnx7xxJ+CePPQCg+f3f
l3ffuBhMB+ibWEIuYIxKZ6U=
=QjIb
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-17 Thread Robert S. Sfeir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oh yeah and if you want to work with the tables you have to drag them
out of the created import folder into your database icon, otherwise you
won't get the right menu choices and stuff like that.
By the way, I still don't see how Druid can generate OJB repository files.

R

Jakob Braeuchi wrote:

| hi antonio,
|
| how can i import existing tables ?
|
| jakob
|
| Antonio Gallardo wrote:
|
|> Brian McCallister dijo:
|>
|>> Druid is really cool, but I have never actually gotten the code
|>> generation to work. When I hook it to an existing DB, import the
|>> entities and go to code generation and I get an error saying datatypes
|>> are set on all of my foreign keys =/
|>
|>
|>
|> Hi Brian:
|>
|> You need to define "DD equiv." field for your datatypes at the database
|> level:
|>
|> Select the database.
|> Select the "Data Types" tab.
|> For every datatype define the datatype you want to use in Java. Example:
|> Druid Type --> DD equiv.
|> bit--> Boolean
|> Varchar--> String,
|>
|> etc.
|>
|> Then try again.
|>
|> BTW, try better the CVS version, because the official release had some
|> bug
|> in OJB generation.
|>
|> Best Regards,
|>
|> Antonio Gallardo.
|>
|>> -Brian
|>>
|>> On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:
|>>
|>>
|>>> Gus Heck dijo:
|>>>
| This is probably a terribly noob question, but is there a good way to
| generate my object mappings for the repository.xml? Seems like a lot
| of
| tedium to do it for more than one or two classes.
|>>>
|>>>
|>>> Hi Gus:
|>>>
|>>> Druid - http:// druid.sf.net/ - Please, download it from the CVS.
|>>>
|>>> Best Regards,
|>>>
|>>> Antonio Gallardo
|>>>
|>>>
|>>> -
|>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>>
|>>>
|>>
|>>
|>>
|>> -
|>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>
|>
|>
|>
|> -
|> To unsubscribe, e-mail: [EMAIL PROTECTED]
|> For additional commands, e-mail: [EMAIL PROTECTED]
|>
|>
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/uOcd+cV9vuB27SARAkRVAJ4omNLmjqIk7JGbcDe2GZrvLpejdwCgodAR
7BGP2HNDuiBmMk3GErjMPk0=
=s27k
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-17 Thread Robert S. Sfeir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
And just figured out how to generate the FULL schema using Druid... VERY
VERY VERY SWEET!
To do that:
1- Click on the DB icon
2- Choose Generation
3- Right Click Generic
4- Add Module
5- Choose Apache OJB
6- Fill in the information in both tabs
7- Right click the Apache OJB icon and choose generate...
DONE!

R

Jakob Braeuchi wrote:

| hi antonio,
|
| how can i import existing tables ?
|
| jakob
|
| Antonio Gallardo wrote:
|
|> Brian McCallister dijo:
|>
|>> Druid is really cool, but I have never actually gotten the code
|>> generation to work. When I hook it to an existing DB, import the
|>> entities and go to code generation and I get an error saying datatypes
|>> are set on all of my foreign keys =/
|>
|>
|>
|> Hi Brian:
|>
|> You need to define "DD equiv." field for your datatypes at the database
|> level:
|>
|> Select the database.
|> Select the "Data Types" tab.
|> For every datatype define the datatype you want to use in Java. Example:
|> Druid Type --> DD equiv.
|> bit--> Boolean
|> Varchar--> String,
|>
|> etc.
|>
|> Then try again.
|>
|> BTW, try better the CVS version, because the official release had some
|> bug
|> in OJB generation.
|>
|> Best Regards,
|>
|> Antonio Gallardo.
|>
|>> -Brian
|>>
|>> On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:
|>>
|>>
|>>> Gus Heck dijo:
|>>>
| This is probably a terribly noob question, but is there a good way to
| generate my object mappings for the repository.xml? Seems like a lot
| of
| tedium to do it for more than one or two classes.
|>>>
|>>>
|>>> Hi Gus:
|>>>
|>>> Druid - http:// druid.sf.net/ - Please, download it from the CVS.
|>>>
|>>> Best Regards,
|>>>
|>>> Antonio Gallardo
|>>>
|>>>
|>>> -
|>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>>
|>>>
|>>
|>>
|>>
|>> -
|>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>
|>
|>
|>
|> -
|> To unsubscribe, e-mail: [EMAIL PROTECTED]
|> For additional commands, e-mail: [EMAIL PROTECTED]
|>
|>
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/uOsa+cV9vuB27SARAmnYAJ9lfNtW+Q+YOc/dDlNB6sg1WpQJjACglK/u
zWxqgAr7B/OdPDvc+e9Y7tE=
=iNaB
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-17 Thread Robert S. Sfeir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've figured out how to import existing tables if anyone is interested.

Setup your jdbc driver
Create a new project
Right click and create a new Database.  I created an empty one
Switch to the jdbc tab on the right
Choose the appropriate URL for your DB and fill in the info
Type in Username and password and click connect at the bottom
After you're connected switch to the Structure tab
Right click on Jdbc Database icon
Choose Import Entities
Check everything

Import

Done

R
Jakob Braeuchi wrote:
| hi antonio,
|
| how can i import existing tables ?
|
| jakob
|
| Antonio Gallardo wrote:
|
|> Brian McCallister dijo:
|>
|>> Druid is really cool, but I have never actually gotten the code
|>> generation to work. When I hook it to an existing DB, import the
|>> entities and go to code generation and I get an error saying datatypes
|>> are set on all of my foreign keys =/
|>
|>
|>
|> Hi Brian:
|>
|> You need to define "DD equiv." field for your datatypes at the database
|> level:
|>
|> Select the database.
|> Select the "Data Types" tab.
|> For every datatype define the datatype you want to use in Java. Example:
|> Druid Type --> DD equiv.
|> bit--> Boolean
|> Varchar--> String,
|>
|> etc.
|>
|> Then try again.
|>
|> BTW, try better the CVS version, because the official release had some
|> bug
|> in OJB generation.
|>
|> Best Regards,
|>
|> Antonio Gallardo.
|>
|>> -Brian
|>>
|>> On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:
|>>
|>>
|>>> Gus Heck dijo:
|>>>
| This is probably a terribly noob question, but is there a good way to
| generate my object mappings for the repository.xml? Seems like a lot
| of
| tedium to do it for more than one or two classes.
|>>>
|>>>
|>>> Hi Gus:
|>>>
|>>> Druid - http:// druid.sf.net/ - Please, download it from the CVS.
|>>>
|>>> Best Regards,
|>>>
|>>> Antonio Gallardo
|>>>
|>>>
|>>> -
|>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>>
|>>>
|>>
|>>
|>>
|>> -
|>> To unsubscribe, e-mail: [EMAIL PROTECTED]
|>> For additional commands, e-mail: [EMAIL PROTECTED]
|>>
|>
|>
|>
|> -
|> To unsubscribe, e-mail: [EMAIL PROTECTED]
|> For additional commands, e-mail: [EMAIL PROTECTED]
|>
|>
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/uOaU+cV9vuB27SARAvFZAJ9O5ZK41NGku94fXEnx7xxJ+CePPQCg+f3f
l3ffuBhMB+ibWEIuYIxKZ6U=
=QjIb
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-16 Thread Antonio Gallardo
Jakob Braeuchi dijo:
> hi antonio,
>
> great, it works now :)

Great to hear that! :-DDD

Best Regards,

Antonio Gallardo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Druid, was: Re: Reposit

2003-11-16 Thread Jakob Braeuchi
hi antonio,

great, it works now :)

mille grazie
jakob
Antonio Gallardo wrote:
Jakob Braeuchi dijo:

hi antonio,

and how do i do it, please !


1-On the left panel create a new empty database
2-Select the new create database, some tags appear on the right panel.
3-Click on the Jdbc panel. Fill your data there and after connect it
4-Click on Structure tab
5-select the "Jdbc database" and open it
6-Select "public" and right click on them
7-On the popup menu select import entities.
That is all!

Remember to define your datatypes and define some generators for you
database.
Druid id really easy and great!

Best Regards,

Antonio Gallardo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-15 Thread Antonio Gallardo
Jakob Braeuchi dijo:
> hi antonio,
>
> and how do i do it, please !

1-On the left panel create a new empty database
2-Select the new create database, some tags appear on the right panel.
3-Click on the Jdbc panel. Fill your data there and after connect it
4-Click on Structure tab
5-select the "Jdbc database" and open it
6-Select "public" and right click on them
7-On the popup menu select import entities.

That is all!

Remember to define your datatypes and define some generators for you
database.

Druid id really easy and great!

Best Regards,

Antonio Gallardo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Druid, was: Re: Reposit

2003-11-15 Thread Jakob Braeuchi
hi antonio,

and how do i do it, please !

jakob

Antonio Gallardo wrote:
Jakob Braeuchi dijo:

hi antonio,

how can i import existing tables ?


Yep.

Best Regards,

Antonio Gallardo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-14 Thread Antonio Gallardo
Jakob Braeuchi dijo:
> hi antonio,
>
> how can i import existing tables ?

Yep.

Best Regards,

Antonio Gallardo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Druid, was: Re: Reposit

2003-11-14 Thread Jakob Braeuchi
hi antonio,

how can i import existing tables ?

jakob

Antonio Gallardo wrote:

Brian McCallister dijo:

Druid is really cool, but I have never actually gotten the code
generation to work. When I hook it to an existing DB, import the
entities and go to code generation and I get an error saying datatypes
are set on all of my foreign keys =/


Hi Brian:

You need to define "DD equiv." field for your datatypes at the database
level:
Select the database.
Select the "Data Types" tab.
For every datatype define the datatype you want to use in Java. Example:
Druid Type --> DD equiv.
bit--> Boolean
Varchar--> String,
etc.

Then try again.

BTW, try better the CVS version, because the official release had some bug
in OJB generation.
Best Regards,

Antonio Gallardo.

-Brian

On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:


Gus Heck dijo:

This is probably a terribly noob question, but is there a good way to
generate my object mappings for the repository.xml? Seems like a lot
of
tedium to do it for more than one or two classes.
Hi Gus:

Druid - http:// druid.sf.net/ - Please, download it from the CVS.

Best Regards,

Antonio Gallardo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-13 Thread Brian McCallister
Woo hoo!

Much appreciated.

-Brian

On Thursday, November 13, 2003, at 06:25 AM, Antonio Gallardo wrote:

Brian McCallister dijo:
Druid is really cool, but I have never actually gotten the code
generation to work. When I hook it to an existing DB, import the
entities and go to code generation and I get an error saying datatypes
are set on all of my foreign keys =/
Hi Brian:

You need to define "DD equiv." field for your datatypes at the database
level:
Select the database.
Select the "Data Types" tab.
For every datatype define the datatype you want to use in Java. 
Example:
Druid Type --> DD equiv.
bit--> Boolean
Varchar--> String,

etc.

Then try again.

BTW, try better the CVS version, because the official release had some 
bug
in OJB generation.

Best Regards,

Antonio Gallardo.
-Brian

On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:

Gus Heck dijo:
This is probably a terribly noob question, but is there a good way 
to
generate my object mappings for the repository.xml? Seems like a lot
of
tedium to do it for more than one or two classes.
Hi Gus:

Druid - http:// druid.sf.net/ - Please, download it from the CVS.

Best Regards,

Antonio Gallardo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-13 Thread A Leg
Hi Brian

I had the same problem.
Antonio gave me the solution and I get my ojb code OK.
Andre

Antonio Gallardo wrote:

Brian McCallister dijo:
 

Druid is really cool, but I have never actually gotten the code
generation to work. When I hook it to an existing DB, import the
entities and go to code generation and I get an error saying datatypes
are set on all of my foreign keys =/
   

Hi Brian:

You need to define "DD equiv." field for your datatypes at the database
level:
Select the database.
Select the "Data Types" tab.
For every datatype define the datatype you want to use in Java. Example:
Druid Type --> DD equiv.
bit--> Boolean
Varchar--> String,
etc.

Then try again.

BTW, try better the CVS version, because the official release had some bug
in OJB generation.
Best Regards,

Antonio Gallardo.
 

-Brian

On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:

   

Gus Heck dijo:
 

This is probably a terribly noob question, but is there a good way to
generate my object mappings for the repository.xml? Seems like a lot
of
tedium to do it for more than one or two classes.
   

Hi Gus:

Druid - http:// druid.sf.net/ - Please, download it from the CVS.

Best Regards,

Antonio Gallardo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Druid, was: Re: Reposit

2003-11-13 Thread Antonio Gallardo
Brian McCallister dijo:
> Druid is really cool, but I have never actually gotten the code
> generation to work. When I hook it to an existing DB, import the
> entities and go to code generation and I get an error saying datatypes
> are set on all of my foreign keys =/

Hi Brian:

You need to define "DD equiv." field for your datatypes at the database
level:

Select the database.
Select the "Data Types" tab.
For every datatype define the datatype you want to use in Java. Example:
Druid Type --> DD equiv.
bit--> Boolean
Varchar--> String,

etc.

Then try again.

BTW, try better the CVS version, because the official release had some bug
in OJB generation.

Best Regards,

Antonio Gallardo.
>
> -Brian
>
> On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:
>
>> Gus Heck dijo:
>>> This is probably a terribly noob question, but is there a good way to
>>> generate my object mappings for the repository.xml? Seems like a lot
>>> of
>>> tedium to do it for more than one or two classes.
>>
>> Hi Gus:
>>
>> Druid - http:// druid.sf.net/ - Please, download it from the CVS.
>>
>> Best Regards,
>>
>> Antonio Gallardo
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]