wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes How do you get multiple values from a parameter into a database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How do you get multiple values from a parameter into a database" Watch "How do you get multiple values from a parameter into a database" New topic
Author

How do you get multiple values from a parameter into a database

Wal Samaad
Greenhorn

Joined: Jan 20, 2010
Posts: 17
How do you get multiple values from a parameter into a database using the em.persit. in my application, after extracting the value and when i trying to persist the data, it saves only one of the value and ignore the rest even with the external iteration and composition of the entity class with different values, it just saves the first value and ignore the rest.
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553
Not sure what you are doing.
Perhaps include your code, and the SQL trace.

TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do you get multiple values from a parameter into a database
 
Similar Threads
Null Pointer Exception
Array as session attribute
Storing multiple values in the Database.
Storing multiple values in the Database.
Html:link forward +parameter passing