Re: Generate dynamic tables using JDO

2010-09-03 Thread Awais Bajwa
Hi Khan1987,

I dont see any logical reason of dynamic table generation using JDO, it is
not ment for that.

You should intereact with JDBC directly for this purpose.



-- 
Awais Bajwa
+1-862-222-6680
http://www.linkedin.com/pub/awais-bajwa/4/82a/2b9

On Fri, Sep 3, 2010 at 1:05 PM, Craig L Russell wrote:

> Hi khan1987,
>
> Generating new tables is not a standardized feature of JDO itself, although
> JDO metadata does have sufficient information for the implementation to
> generate tables from your description of them.
>
> Implementations are able to generate tables for you. I'd suggest looking at
> documentation and product literature for the implementations you're looking
> at and see which of them do the job you're looking for.
>
> Please see http://db.apache.org/jdo/impls.html for a list of known JDO
> implementations for more details.
>
> Best regards,
>
> Craig
>
>
> On Aug 26, 2010, at 11:06 PM, khan1987 wrote:
>
>
>> Hello,
>>
>> I want to generate new tables dynamically. Is it possible with JDO?
>>
>> i.e., Generation of table depends on the UI user. The table name and
>> fields
>> should be the one given by the UI user.
>>
>> Think that my application is more or less like a db admin.
>>
>> Thanks..
>> --
>> View this message in context:
>> http://old.nabble.com/Generate-dynamic-tables-using-JDO-tp29549692p29549692.html
>> Sent from the JDO - User mailing list archive at Nabble.com.
>>
>>
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:[email protected]
> P.S. A good JDO? O, Gasp!
>
>


Re: Generate dynamic tables using JDO

2010-09-03 Thread [email protected]

Hi,

I am new to JDO myself, but I know the DataNucleus implementation of the 
JDO specification provides a Schema-Tool which may be able to create 
database table at runtime for you.


http://www.datanucleus.org/products/accessplatform_1_0/rdbms/schematool.html

Good luck




Re: Generate dynamic tables using JDO

2010-09-03 Thread Craig L Russell

Hi khan1987,

Generating new tables is not a standardized feature of JDO itself,  
although JDO metadata does have sufficient information for the  
implementation to generate tables from your description of them.


Implementations are able to generate tables for you. I'd suggest  
looking at documentation and product literature for the  
implementations you're looking at and see which of them do the job  
you're looking for.


Please see http://db.apache.org/jdo/impls.html for a list of known JDO  
implementations for more details.


Best regards,

Craig

On Aug 26, 2010, at 11:06 PM, khan1987 wrote:



Hello,

I want to generate new tables dynamically. Is it possible with JDO?

i.e., Generation of table depends on the UI user. The table name and  
fields

should be the one given by the UI user.

Think that my application is more or less like a db admin.

Thanks..
--
View this message in context: 
http://old.nabble.com/Generate-dynamic-tables-using-JDO-tp29549692p29549692.html
Sent from the JDO - User mailing list archive at Nabble.com.



Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!