Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.04 seconds.

  1. Moving to mailing list

    I'm going to copy all this over to the mailing list now, per burtbeckwith suggestion.
  2. Ok. Looking over the Grails syntax, the...

    Ok. Looking over the Grails syntax, the Hibernate general syntax and our specific syntax, this is what I come up with:



    ...
    static mapping = {
    tablePerHierarchy false
    table...
  3. I think maybe I see it: ...

    I think maybe I see it:

    http://grails.org/doc/latest/ref/Database%20Mapping/id.html

    I will attempt this.
  4. Ah here is more: @Column(name = "CONTACT_ID",...

    Ah here is more:

    @Column(name = "CONTACT_ID", unique = true, nullable = false, precision = 22, scale = 0)
    @SequenceGenerator(name = "SEQ_GEN", sequenceName = "CONTACT_SEQ", allocationSize = 1)...
  5. @BusinessKey equivalent?

    Also, I looked over some of our hibernate code. Apparently we use @BusinessKey, as in:

    @Entity
    ...
    @Table(name = "CONTACT")
    public class Contact ...{

    ...
    /** The id */
    @BusinessKey
  6. I confirmed with the DBA just now: an Oracle...

    I confirmed with the DBA just now: an Oracle sequence and a trigger. Now I just need to know which hibernate value applies for that design pattern. Anyone know?
  7. I intend to add new records. The DBAs have all...

    I intend to add new records.

    The DBAs have all gone for the day, but I'm pretty sure they handle it with a trigger or some such. Whenever I add new rows in TOAD or Oracle SQL Developer, it...
  8. How to Map a Simple Oracle "Legacy" Table into a Grails Domain Class?

    Hi, everyone. I am a very experienced java developer, and a somewhat experienced Spring developer, but am new to Grails.

    I'm trying to create a simple one-table one-class grails prototype app...
  9. Thanks. I have not tried your command above. ...

    Thanks. I have not tried your command above. Tinkering around with it using tcpmon and the Spring Batch Admin web gui, examining the http request structure from the gui, I found these commands to...
  10. How to stop a Spring Batch job using curl/json

    Hi, everyone.

    Using commands from unix and/or cygwin such as this:

    curl -v -d jobParameters= http://127.0.0.1:8080/MyWeb/batch/jobs/myJob.json

    ...I am able to launch a Spring Batch job. ...
  11. How to stop a Spring Batch job using curl/json

    Hi, everyone.

    Using commands from unix and/or cygwin such as this:

    curl -v -d jobParameters= http://127.0.0.1:8080/MyWeb/batch/jobs/myJob.json

    ...I am able to launch a Spring Batch job. ...
  12. "Always"? I don't think I can wrap all the beans...

    "Always"? I don't think I can wrap all the beans in LazyInitTargetSource. There are hundreds of them and this is a production app, not a new app, so I'm not free to change much just to speed up unit...
  13. So all Spring lazy-init's (default- or...

    So all Spring lazy-init's (default- or bean-level) are effectively useless?

    If so, then why did they write the things? What problem were they intended to solve?

    Ben
  14. How to use default-lazy-init to speed app development debug cycles

    Hi, everyone.

    We have a very large spring app, with multiple imported application context files imported by the root (top-level) app context file. I noticed (kinda hard to ignore :-)) that it was...
  15. Replies
    9
    Views
    18,265

    Eclipse/ant setup

    If you are using Eclipse IDE for debugging, you will need a build.properties for Tomcat that looks something like this, which is a bit different in where it deploys, compared to JBoss:

    # Ant build...
  16. Replies
    9
    Views
    18,265

    Workaround

    I think I can give you all (and me:-)) a workaround now: Simply change to tomcat server. Unless there's something you must have with jboss, tomcat does not have this "jar hell" problem.

    That being...
  17. Replies
    9
    Views
    18,265

    Simply adding jboss-web.xml doesn't work

    This didn't work. I simply added the above to the WEB-INF folder of my web app, and redeployed it.

    From googling this error, I suspect there is a "jar hell" problem going on here, since my app...
  18. Similar question

    I have a similar question.

    Basically, I'd like to use MockHttpServletRequest in a POJO app, to mock-up what I'm seeing in an actual HttpServletRequest to a "legacy" Struts web app (WebSphere App...
  19. Replies
    21
    Views
    6,261

    Poll: Ah, yes. The loniness of leadership :). ...

    Ah, yes. The loniness of leadership :).

    Seriously, you made some very good points there. Probably worthy of a blog or book chapter.

    Ben
  20. Replies
    21
    Views
    6,261

    Poll: Yes, I agree. Good point. Basically, I'm just...

    Yes, I agree. Good point. Basically, I'm just saying don't use a layer without a good reason, coz there's a price to be paid for each layer. You bring up a good reason.



    Interesting. I like...
  21. Well said, again, Karl. Bill, I heard that...

    Well said, again, Karl.

    Bill, I heard that AppFuse is good, but comes with a huge learning curve. You think that is so?

    Ben
  22. Replies
    2
    Views
    981

    You sure? Reading over the many responses in that...

    You sure? Reading over the many responses in that thread, it seems like a lot of the people are making arguments AGAINST making XML the primary means.

    Which response is the one that made the...
  23. Replies
    1
    Views
    694

    Spring "singletons" are not JVM singletons. This...

    Spring "singletons" are not JVM singletons. This as apparently caused much confusion because of the JVM connotation to that word. I wish they'd picked a different name. See here for explanation:
    ...
  24. Replies
    21
    Views
    6,261

    Poll: ?? Put a breakpoint at the line in the jsp and...

    ?? Put a breakpoint at the line in the jsp and debug it. This is pretty straightforward in Eclipse, at least (maybe not other IDEs?).



    I don't necessarily agree. <%...%> pretty cleanly...
  25. Replies
    9
    Views
    8,747

    I agree. Like using a chain saw versus a Dremel...

    I agree. Like using a chain saw versus a Dremel scroll saw. Both good tools, if used as intended.

    Ben
Results 1 to 25 of 164
Page 1 of 7 1 2 3 4