Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7800559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:40:37+00:00 2026-06-02T00:40:37+00:00

I have creating a learning application with play framework and i want to use

  • 0

I have creating a learning application with play framework and i want to use test data which is loaded from yaml. But my data’s are just null in mysql, for example

@Entity
public class DiningTable extends Model{

Integer number;

public DiningTable(Integer number) {
    super();
    this.number = number;
}

}

This is my diningTable class and this are my test data;

DiningTable(tab1):
 number: 1
DiningTable(tab2):
 number: 2
DiningTable(tab3):
 number: 3
DiningTable(tab4):
 number: 4

I’m starting my application and it calls the bootstrap which is loads the yaml data and there will be no error but in my phpmyadmin, diningtable table it’s contains this data;

id  number
1   NULL
2   NULL
3   NULL
4   NULL

What can i do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:40:39+00:00Added an answer on June 2, 2026 at 12:40 am

    I resolved this problem changing this in the model

     Integer number
    

    to

     public Integer number
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application which I am creating for Ubuntu. I come from a
I have an ETL application which extracts data from a source database (for which
I'm learning basic c# using visual studio 2010 and I'm creating an application which
I have been learning MVC recently and have started creating my own framework (for
I'm learning JavaBeans and it's application I'm creating my first ever Bean, I use
I am just learning about app.config in respect of creating custom sections. I have
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
I have mastered creating custom data types and adding fields with CCK. Then I
I'm developing a Grails web application (mainly as a learning exercise). I have previously
Im learning rails and exploring a bit away from the book and creating a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.