Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] customize OneToMany Mapping

Hi Sepp,

  Have you taken a look at any of the getting started documentation?

  Here are some links:

- The base page for the orm documentation
http://wiki.eclipse.org/Category:ORM

- An intro to OneToMany
http://wiki.eclipse.org/Introduction_to_Relational_Mappings_%28ELUG%29#One-to-Many_Mapping

- An intro to using our GUI tool (Mapping Workbench) to create mappings
http://wiki.eclipse.org/Creating_a_Mapping_%28ELUG%29#Creating_Mappings_Manually_During_Development

- Some information about altering mappings in custom ways in section "Using a Parameterized Expression in a Mapping"
http://wiki.eclipse.org/Introduction_to_EclipseLink_Expressions_(ELUG) ()

- Some sample code from our test framework can be found here:
http://fisheye2.atlassian.com/browse/~raw,r=4604/eclipselink/trunk/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/models/employee/relational/EmployeeProject.java

-Tom

Robert Wimmer wrote:
Hi,

i need to create  a OneToManyMapping for the following problem

SELECT * FROM target_table

JOIN table_between ON table_between.target_table_id = target_table.id

WHERE table_between. source_id = ?

How can I solve this problem with the EclipseLink native API (I neither use JPA nor annotations)

Thanxs Sepp


------------------------------------------------------------------------
Mit Windows Live können Sie Ihre Fotos organisieren, bearbeiten und freigeben. <http://www.microsoft.com/austria/windows/windowslive/products/photo-gallery-edit.aspx>


------------------------------------------------------------------------

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top