hi Andrus,
thanks very much!

I've watching your video on youtube that introduce the Cayenne framework one 
hour ago this evening~


I know Apache Cayenne in yesterday, and find it a very exciting framework maybe 
can fit our business  requirement.


We need dynamically create data table in java code at runtime, the user case is:
1.user define a table in web form, such as table name, columns, columns type.
2.then, we need to create a table according the user definition in mysql 
database.
3.user then can use CRUD action on that table, for example, 
save,select,update,delete,pagination,etc...


I want to use cayenne with linkREST to provide a rest data api. Hope there are 
some advice~


















------------------ ???????? ------------------
??????: "Andrus Adamchik"<and...@objectstyle.org>;
????????: 2018??7??22??(??????) ????11:15
??????: "user"<user@cayenne.apache.org>;
????: "????"<1091643...@qq.com>; 
????: Re: is is possible to dynamically create entity in cayenne?



Hi there,

The short answer is that org.apache.cayenne.CayenneDataObject is that Java 
object that every generic object can be mapped to. Will be happy to expand this 
answer if you have any follow up questions.

(Also I noticed you are not subscribed to the list, so you may miss some 
replies that are sent to the list only. Everything will be in the list archives 
of course).

Andrus



> On Jul 22, 2018, at 3:37 PM, ???? <1091643...@qq.com> wrote:
> 
> Hi users,
> 
> 
> I'm new to cayenne, we face a problem recently. 
> 
> 
> we want to dynamically create the table in mysql, and it's corresponding 
> entity.
> 
> 
> we find the Generic Objects, but it seems need a specified java class before.
> 
> 
> Any ideas, 
> thanks~

Reply via email to