+dropwizard-user, dropwizard-dev to bcc

Hello Matt,

It sounds like your question has more to do with Hibernate than Dropwizard.
If you've configured the dropwizard-hibernate module
<http://www.dropwizard.io/1.2.2/docs/manual/hibernate.html> properly and
are invoking the DAO's insertion method within your POST endpoint
implementation, then it should work. If your DAO isn't properly INSERTing
records into the database, then perhaps it's not configured properly.

In order to help you, it would be helpful to have snippets of the relevant
portions of your application's configuration and any code relevant to
Hibernate.

Best,

On Mon, Jan 15, 2018 at 11:26 AM, Matt <mlinsk...@gmail.com> wrote:

>
>
> On Monday, January 15, 2018 at 2:20:36 PM UTC-5, Matt wrote:
>>
>> Hi All,
>>
>> I am new to DropWizard and how to use it properly. Im not sure where my
>> confusing comes from but this is where i am. I have a main application
>> class that calls the hibernate class that goes through and sets up a
>> Testing, TestingDAO, and TestingResource classes. I have the proper
>> configuration as well. Lastly everything connects properly and runs fine.
>> My question is how do i insert into my database, i have seen @POST and
>> @UnitOfWork but am unsure where to use them. All i want to do is insert one
>> string variable into the databse which is created in the Main App class.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "dropwizard-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dropwizard-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Evan Meagher <https://evanm.website>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dropwizard-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to