Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does TopLink perform code generation to persist objects?

0
Posted

Does TopLink perform code generation to persist objects?

0

Because TopLink uses a metadata architecture, it does not need to generate any code to enable your application’s persistence. TopLink can generate: • The TopLink project and associated descriptors into a single Java class that, when compiled, can be used in place of the runtime deployment XML file. • A table creator Java class that when compiled can create all the tables on the database with required constraints. • Source code for the classes defined in the project. • Java object model, EJB-CMP EntityBean model, and EJB-BMP EntityBean model from an existing database schema. TopLink does generate classes for EJB2.0 CMP. • Does TopLink require me to subclass a special class or implement a special interface? TopLink does not force a developer to subclass from one of its classes or use special types to maintain relationships. You could build a domain model to map persistently that has no dependencies on TopLink. Refer to the Building Superior Java Applications whitepaper for details. • Doe

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123