Search:

Type: Posts; User: kartoch; Keyword(s):

Search: Search took 0.05 seconds.

  1. I had a similar but more general question...

    I had a similar but more general question about ORM and optimization, maybe you will find some clues and interesting remarks...
  2. Replies
    2
    Views
    594

    I would say only one EntityManager and...

    I would say only one EntityManager and persistance unit. Less cumbersome and no doubt about transaction configuration and integrity....
  3. Replies
    12
    Views
    6,761

    No, it will return the same reference again and...

    No, it will return the same reference again and again.
  4. Replies
    4
    Views
    682

    Dunno... JTA define the interface to any...

    Dunno... JTA define the interface to any transaction mechanism implementation. It is not absolutly needed but maven dependencies require it.
  5. Replies
    4
    Views
    682

    My projects use Maven, and I need the following...

    My projects use Maven, and I need the following jar to be able to use transaction management in the simplest case (transaction on one local database):


    jta
    spring-tx
    spring-aop
    ...
  6. Replies
    2
    Views
    1,062

    On my projects, I only inject EntityManager with...

    On my projects, I only inject EntityManager with @PersistenceContext annotation like this:



    @PersistenceContext
    private EntityManager entityManager;


    EntityManagerFactory is...
  7. It's dependent of the deployment tool, please see...

    It's dependent of the deployment tool, please see the documentation (manager of apache tomcat, or maven, or IDE).
  8. Try:

    Try:



    <mvc:view-controller path="/" view-name="redirect:/main"/>


    Where main is the url to redirect.
  9. Using Spring 3.0, you can use: ...

    Using Spring 3.0, you can use:



    <mvc:view-controller path="/" view-name="redirect:/entry"/>
  10. without stacktrace, difficult to help you....

    without stacktrace, difficult to help you....
  11. Question 1: for composite key, you need to...

    Question 1: for composite key, you need to designate at least one of the following:


    multiple @Id and an @IdClass (for a composite primary key)
    one @EmbeddedId


    Please see this page for...
  12. Conversion strategy for list of specific object as property

    (sorry if the following question is in the wrong forum: it seems web oriented but I think the problem is specific to the conversion mechanisms)

    I have the following form:



    <form:form...
Results 1 to 12 of 12